Revision f0135672
Von Sven Schöling vor mehr als 16 Jahren hinzugefügt
xslt/xulmenu.xsl | ||
---|---|---|
100 | 100 |
|
101 | 101 |
<!-- template for the top menu items |
102 | 102 |
********************************************************************************* --> |
103 |
<xsl:template match="item"><xsl:choose><xsl:when test="item"><menu id="{@name}_menu" label="{@name}" class="menu-iconic" image="image/icons/16x16/{@id}.png"><menupopup id="file-popup"><xsl:apply-templates/></menupopup></menu></xsl:when><xsl:otherwise><menuitem target="{@target}" link="{@link}" label="{@name}" oncommand="openLink(event)" class="menuitem-iconic" image="image/icons/16x16/{@id}.png" lxid="{@id}" onclick="openLinkNewTab(event)"/></xsl:otherwise></xsl:choose></xsl:template> |
|
103 |
<xsl:template match="item"> |
|
104 |
<xsl:choose> |
|
105 |
<xsl:when test="item"> |
|
106 |
<menu id="{@name}_menu" label="{@name}" class="menu-iconic" image="image/icons/16x16/{@id}.png"> |
|
107 |
<menupopup id="file-popup"> |
|
108 |
<xsl:apply-templates/> |
|
109 |
</menupopup> |
|
110 |
</menu> |
|
111 |
</xsl:when> |
|
112 |
<xsl:otherwise> |
|
113 |
<menuitem target="{@target}" link="{@link}" label="{@name}" oncommand="openLink(event)" class="menuitem-iconic" image="image/icons/16x16/{@id}.png" lxid="{@id}" onclick="openLinkNewTab(event)"/> |
|
114 |
</xsl:otherwise> |
|
115 |
</xsl:choose> |
|
116 |
</xsl:template> |
|
104 | 117 |
<!-- *************************************************************************** --> |
105 | 118 |
|
106 | 119 |
|
Auch abrufbar als: Unified diff
XUL Menue an das Lx-Office Schema angepasst.