diff xsls/body.xsls @ 692:31ba6a104186

Fixed the logo location and banner text direction for the Hebrew.
author Vladimir Homutov <vl@nginx.com>
date Fri, 28 Sep 2012 11:04:16 +0000
parents 023e9f139c3c
children ac8ea1e005bf
line wrap: on
line diff
--- a/xsls/body.xsls
+++ b/xsls/body.xsls
@@ -19,7 +19,8 @@ X:template body (lang) {
     <table width="100%">
         <tr>
         <td width="70%">
-            <div class="banner">
+            <div id="banner">
+                X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } }
                 <center>
                 <table>
                     <tr>
@@ -39,6 +40,7 @@ X:template body (lang) {
             </div>
         </td>
         <td align="right">
+            X:if "@lang = 'he'" { X:attribute "align" { X:text{left} } }
             <a href="http://nginx.org">
                 <img src="http://nginx.org/nginx.gif" alt="nginx" border="0"/>
             </a>