diff xslt/body.xslt @ 601:eea23daa6e57

Regenerated.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 20 Jul 2012 09:28:18 +0000
parents 992a542565b1
children bfdc7833085a
line wrap: on
line diff
--- a/xslt/body.xslt	Fri Jul 20 09:27:55 2012 +0000
+++ b/xslt/body.xslt	Fri Jul 20 09:28:18 2012 +0000
@@ -70,6 +70,35 @@
             <tr>
                <td valign="top">
 
+                  <xsl:if test="$ORIGIN and document($ORIGIN)/*/@rev and               (not(@rev) or @rev != document($ORIGIN)/*/@rev)">
+
+                     <span>
+
+                        <xsl:if test="@lang = 'he'">
+                           <xsl:attribute name="class">
+                              <xsl:text>ltr</xsl:text>
+                           </xsl:attribute>
+                        </xsl:if>
+
+                        <blockquote class="note">
+                           <xsl:choose>
+
+                              <xsl:when test="document(concat($XML, '/i18n.xml'))                            /i18n/text[@lang = $lang]/item[@id='outdated']">
+
+                                 <xsl:apply-templates select="document(concat($XML, '/i18n.xml'))                              /i18n/text[@lang = $lang]/item[@id='outdated']"/>
+                              </xsl:when>
+
+                              <xsl:otherwise>
+
+                                 <xsl:apply-templates select="document(concat($XML, '/i18n.xml'))                              /i18n/text[@lang = 'en']/item[@id='outdated']"/>
+                              </xsl:otherwise>
+                           </xsl:choose>
+
+                        </blockquote>
+
+                     </span>
+                  </xsl:if>
+
                   <xsl:if test="@toc = 'yes' and section[@id and @name]">
 
                      <table width="100%">