Mercurial > hg > nginx-site
diff xslt/error.xslt @ 722:91dd4a7fadbb
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 12 Oct 2012 09:10:49 +0000 |
parents | 1507ec5ba69a |
children | c454373427ef |
line wrap: on
line diff
--- a/xslt/error.xslt Fri Oct 12 09:10:31 2012 +0000 +++ b/xslt/error.xslt Fri Oct 12 09:10:49 2012 +0000 @@ -1,14 +1,26 @@ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - <xsl:include href="ga.xslt"/> - <xsl:output indent="no" version="4.0" encoding="utf-8" method="html"/> <xsl:strip-space elements="*"/> <xsl:param select="'../xml'" name="XML"/> + <xsl:param name="YEAR"/> + + <xsl:param name="TRANS"/> + + <xsl:variable select="/error/@link" name="LINK"/> + + <xsl:variable select="/error/@lang" name="LANG"/> + + <xsl:include href="dirname.xslt"/> + + <xsl:include href="menu.xslt"/> + + <xsl:include href="ga.xslt"/> + <xsl:template match="/error"> <html> @@ -62,18 +74,4 @@ </html> </xsl:template> - <xsl:template match="menu/item"> - - <a href="{@href}"> - <xsl:value-of select=" normalize-space(text())"/> - </a> - <br/> - </xsl:template> - - <xsl:template match="menu/item[not(@href)]"> - - <xsl:value-of select=" normalize-space(text())"/> - <br/> - </xsl:template> - </xsl:stylesheet>