Cleaned up.

svn path=/trunk/; revision=13448
This commit is contained in:
att 2009-11-10 11:45:11 +00:00
parent 8b92608452
commit 6cf8b5a87e
1 changed files with 25 additions and 21 deletions

View File

@ -33,7 +33,6 @@
<xsl:if test="/buildinfo/@language='ar'">
<link rel="stylesheet" media="all" href="/rtl.css" type="text/css" />
</xsl:if>
<link rel="icon" href="/graphics/fsfeurope.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/graphics/fsfeurope.ico" type="image/x-icon" />
<xsl:element name="link">
<xsl:attribute name="rel">alternate</xsl:attribute>
@ -59,16 +58,18 @@
<xsl:comment>This file was generated by an XSLT script. Please do not edit.</xsl:comment>
<xsl:element name="div">
<xsl:attribute name="id">wrapper</xsl:attribute>
<xsl:comment>Unnecessary div, for IE only</xsl:comment>
<xsl:element name="a">
<xsl:attribute name="id">wrapper</xsl:attribute>
<xsl:comment>Give non-graphical browsers a way to skip the menu.</xsl:comment>
<xsl:element name="p">
<xsl:attribute name="class">n</xsl:attribute>
<xsl:attribute name="id">top</xsl:attribute>
<xsl:attribute name="href">#content</xsl:attribute>
<xsl:text>Skip menu</xsl:text>
<xsl:element name="a">
<!--<xsl:attribute name="id">top</xsl:attribute>-->
<xsl:attribute name="href">#content</xsl:attribute>
<xsl:text>Skip menu</xsl:text>
</xsl:element>
</xsl:element>
<xsl:comment>Give non-graphical browsers a way to skip the menu</xsl:comment>
<!-- Menu bar -->
<xsl:element name="div">
@ -98,20 +99,20 @@
<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)]"/>
/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)]"/>
/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)]"/>
/buildinfo/textsetbackup/text[@id=$id
and not(@id=/buildinfo/textset/text/@id)]"/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
@ -126,15 +127,15 @@
<xsl:choose>
<xsl:when test=". = concat(/buildinfo/@filename ,'.html')">
<xsl:value-of select="/buildinfo/textset/text[@id=$mid]|
/buildinfo/textsetbackup/text[@id=$mid
and not(@id=/buildinfo/textset/text/@id)]"/>
/buildinfo/textsetbackup/text[@id=$mid
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=$mid]|
/buildinfo/textsetbackup/text[@id=$mid
and not(@id=/buildinfo/textset/text/@id)]"/>
/buildinfo/textsetbackup/text[@id=$mid
and not(@id=/buildinfo/textset/text/@id)]"/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
@ -208,10 +209,12 @@
<xsl:apply-templates select="node()"/>
<!-- Link to top -->
<xsl:element name="a">
<xsl:element name="p">
<xsl:attribute name="class">n</xsl:attribute>
<xsl:attribute name="href">#top</xsl:attribute>
<xsl:text>To top</xsl:text>
<xsl:element name="a">
<xsl:attribute name="href">#top</xsl:attribute>
<xsl:text>To top</xsl:text>
</xsl:element>
</xsl:element>
</xsl:element>
@ -384,3 +387,4 @@
</xsl:copy>
</xsl:template>
</xsl:stylesheet>