You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/01 11:19:05 UTC

svn commit: r590955 - /lenya/sandbox/modules/forrest/xslt/forrest2xhtml.xsl

Author: andreas
Date: Thu Nov  1 03:19:03 2007
New Revision: 590955

URL: http://svn.apache.org/viewvc?rev=590955&view=rev
Log:
Layout update: use plain <h1> for document title

Modified:
    lenya/sandbox/modules/forrest/xslt/forrest2xhtml.xsl

Modified: lenya/sandbox/modules/forrest/xslt/forrest2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/forrest2xhtml.xsl?rev=590955&r1=590954&r2=590955&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/forrest2xhtml.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/forrest2xhtml.xsl Thu Nov  1 03:19:03 2007
@@ -31,30 +31,17 @@
       </head>
       <body>
         <div id="body">
-          <table border="0" cellspacing="2" cellpadding="2" align="center" width="100%">
-            <tr>
-              <td width="50%">
-                <h2>
-                  <xsl:value-of select="document/header/title"/>
-                </h2>
-              </td>
-              <td width="25%">
-                <xsl:apply-templates select="document/header/tab"/>
-              </td>
-            </tr>
-          </table>
-          <p>
-            <xsl:choose>
-              <xsl:when test="document/body/row">
-                <table width="100%">
-                  <xsl:apply-templates select="document/body/*"/>
-                </table>
-              </xsl:when>
-              <xsl:otherwise>
+          <h1><xsl:value-of select="document/header/title"/></h1>
+          <xsl:choose>
+            <xsl:when test="document/body/row">
+              <table width="100%">
                 <xsl:apply-templates select="document/body/*"/>
-              </xsl:otherwise>
-            </xsl:choose>
-          </p>
+              </table>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="document/body/*"/>
+            </xsl:otherwise>
+          </xsl:choose>
           <p class="copyright">
             Copyright &#169; 1999-2005 <a href="http://www.apache.org/">The Apache
               Software Foundation</a>. All rights reserved.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org