diff xslt/article.xslt @ 592:d40371689c1c

Regenerated.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 19 Jul 2012 04:57:51 +0000
parents 1507ec5ba69a
children eea23daa6e57
line wrap: on
line diff
--- a/xslt/article.xslt
+++ b/xslt/article.xslt
@@ -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>