svn path=/branches/design/; revision=17391
This commit is contained in:
parent
bdc9a008f2
commit
2e4fc3be41
35
fsfe.xsl
35
fsfe.xsl
@ -227,40 +227,7 @@
|
||||
|
||||
</xsl:element><!-- end ul -->
|
||||
|
||||
<xsl:for-each select="/buildinfo/menuset/menu[not(@parent)]">
|
||||
<xsl:sort select="@id" />
|
||||
<xsl:variable name="menu"><xsl:value-of select="@id" /></xsl:variable>
|
||||
<xsl:element name="ul">
|
||||
<xsl:for-each select="/buildinfo/menuset/menu[@parent=$menu]">
|
||||
<!--<xsl:sort select="@id"/>-->
|
||||
<xsl:sort select="@priority" />
|
||||
<xsl:variable name="id"><xsl:value-of select="@id" /></xsl:variable>
|
||||
<xsl:element name="li">
|
||||
<xsl:choose>
|
||||
<xsl:when test="not(string(.))">
|
||||
<xsl:value-of select="/buildinfo/textset/text[@id=$id]|
|
||||
/buildinfo/textsetbackup/text[@id=$id
|
||||
and not(@id=/buildinfo/textset/text/@id)]"/>
|
||||
</xsl:when>
|
||||
<xsl:when test=". = concat(/buildinfo/@filename ,'.html')">
|
||||
<xsl:value-of select="/buildinfo/textset/text[@id=$id]|
|
||||
/buildinfo/textsetbackup/text[@id=$id
|
||||
and not(@id=/buildinfo/textset/text/@id)]"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href"><xsl:value-of select="." /></xsl:attribute>
|
||||
<xsl:value-of select="/buildinfo/textset/text[@id=$id]|
|
||||
/buildinfo/textsetbackup/text[@id=$id
|
||||
and not(@id=/buildinfo/textset/text/@id)]"/>
|
||||
</xsl:element>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
</xsl:element> <!-- /li -->
|
||||
</xsl:for-each>
|
||||
</xsl:element> <!-- /ul -->
|
||||
</xsl:for-each>
|
||||
|
||||
</xsl:element><!-- end menu -->
|
||||
|
||||
<xsl:element name="div">
|
||||
|
Loading…
Reference in New Issue
Block a user