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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.