Mercurial > hg > nginx-site
changeset 722:91dd4a7fadbb
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 12 Oct 2012 09:10:49 +0000 |
parents | 81ad082bc837 |
children | 9429fd8bbac8 |
files | xslt/article.xslt xslt/body.xslt xslt/books.xslt xslt/download.xslt xslt/error.xslt xslt/security.xslt xslt/style.xslt |
diffstat | 7 files changed, 25 insertions(+), 167 deletions(-) [+] |
line wrap: on
line diff
--- a/xslt/article.xslt +++ b/xslt/article.xslt @@ -27,13 +27,19 @@ <xsl:include href="menu.xslt"/> - <xsl:include href="donate.xslt"/> + <xsl:include href="ga.xslt"/> + + <xsl:include href="content.xslt"/> + + <xsl:include href="books.xslt"/> <xsl:include href="directive.xslt"/> - <xsl:include href="content.xslt"/> + <xsl:include href="donate.xslt"/> - <xsl:include href="ga.xslt"/> + <xsl:include href="download.xslt"/> + + <xsl:include href="security.xslt"/> <xsl:include href="versions.xslt"/>
--- a/xslt/body.xslt +++ b/xslt/body.xslt @@ -250,4 +250,4 @@ </body> </xsl:template> -</xsl:stylesheet> \ No newline at end of file +</xsl:stylesheet>
--- a/xslt/books.xslt +++ b/xslt/books.xslt @@ -1,54 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - <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:variable select="/article/@link" name="LINK"/> - - <xsl:include href="dirname.xslt"/> - - <xsl:include href="link.xslt"/> - - <xsl:include href="style.xslt"/> - - <xsl:include href="body.xslt"/> - - <xsl:include href="menu.xslt"/> - - <xsl:include href="ga.xslt"/> - - <xsl:include href="content.xslt"/> - - <xsl:template match="/article"> - - <html> - <head> - - <title> - <xsl:value-of select="@name"/> - </title> - - <xsl:call-template name="style"> - <xsl:with-param select="@lang" name="lang"/> - </xsl:call-template> - - <xsl:call-template name="ga"/> - - </head> - - <xsl:call-template name="body"> - <xsl:with-param select="@lang" name="lang"/> - </xsl:call-template> - - </html> - </xsl:template> - <xsl:template match="book"> <table>
--- a/xslt/download.xslt +++ b/xslt/download.xslt @@ -1,56 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - <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:variable select="/article/@link" name="LINK"/> - - <xsl:variable select="/article/@lang" name="LANG"/> - - <xsl:include href="dirname.xslt"/> - - <xsl:include href="link.xslt"/> - - <xsl:include href="style.xslt"/> - - <xsl:include href="body.xslt"/> - - <xsl:include href="menu.xslt"/> - - <xsl:include href="ga.xslt"/> - - <xsl:include href="content.xslt"/> - - <xsl:template match="/article"> - - <html> - <head> - - <title> - <xsl:value-of select="@name"/> - </title> - - <xsl:call-template name="style"> - <xsl:with-param select="@lang" name="lang"/> - </xsl:call-template> - - <xsl:call-template name="ga"/> - - </head> - - <xsl:call-template name="body"> - <xsl:with-param select="@lang" name="lang"/> - </xsl:call-template> - - </html> - </xsl:template> - <xsl:template match="download"> <table width="100%"> <xsl:apply-templates select="item"/>
--- a/xslt/error.xslt +++ b/xslt/error.xslt @@ -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>
--- a/xslt/security.xslt +++ b/xslt/security.xslt @@ -1,54 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - <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:variable select="/article/@link" name="LINK"/> - - <xsl:include href="dirname.xslt"/> - - <xsl:include href="link.xslt"/> - - <xsl:include href="style.xslt"/> - - <xsl:include href="body.xslt"/> - - <xsl:include href="menu.xslt"/> - - <xsl:include href="ga.xslt"/> - - <xsl:include href="content.xslt"/> - - <xsl:template match="/article"> - - <html> - <head> - - <title> - <xsl:value-of select="@name"/> - </title> - - <xsl:call-template name="style"> - <xsl:with-param select="@lang" name="lang"/> - </xsl:call-template> - - <xsl:call-template name="ga"/> - - </head> - - <xsl:call-template name="body"> - <xsl:with-param select="@lang" name="lang"/> - </xsl:call-template> - - </html> - </xsl:template> - <xsl:template match="security"> <ul> <xsl:apply-templates/>