changeset 592:d40371689c1c

Regenerated.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 19 Jul 2012 04:57:51 +0000
parents b57657247299
children 130fad6dc1b4
files xslt/article.xslt xslt/body.xslt
diffstat 2 files changed, 6 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/xslt/article.xslt	Thu Jul 19 04:57:01 2012 +0000
+++ b/xslt/article.xslt	Thu Jul 19 04:57:51 2012 +0000
@@ -37,30 +37,11 @@
 
       <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="/article[@lang='he'] | /module[@lang='he']">
-
-      <html dir="rtl">
+         <xsl:if test="@lang = 'he'">
+            <xsl:attribute name="dir">
+               <xsl:text>rtl</xsl:text>
+            </xsl:attribute>
+         </xsl:if>
 
          <head>
 
--- a/xslt/body.xslt	Thu Jul 19 04:57:01 2012 +0000
+++ b/xslt/body.xslt	Thu Jul 19 04:57:51 2012 +0000
@@ -70,7 +70,7 @@
             <tr>
                <td valign="top">
 
-                  <xsl:if test="section[@name]">
+                  <xsl:if test="@toc = 'yes' and section[@id and @name]">
 
                      <table width="100%">
                         <tr>