cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r292995 - in /cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin: static-content/resources/css/bricks-cms.css xslt/page-to-html.xsl xslt/search-results-to-page.xsl
Date Sat, 01 Oct 2005 16:24:32 GMT
Author: bdelacretaz
Date: Sat Oct  1 09:24:25 2005
New Revision: 292995

URL: http://svn.apache.org/viewcvs?rev=292995&view=rev
Log:
page footer added

Modified:
    cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/static-content/resources/css/bricks-cms.css
    cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/page-to-html.xsl
    cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/search-results-to-page.xsl

Modified: cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/static-content/resources/css/bricks-cms.css
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/static-content/resources/css/bricks-cms.css?rev=292995&r1=292994&r2=292995&view=diff
==============================================================================
--- cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/static-content/resources/css/bricks-cms.css
(original)
+++ cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/static-content/resources/css/bricks-cms.css
Sat Oct  1 09:24:25 2005
@@ -77,4 +77,10 @@
 .evenRow
 {
     background-color: #FFFFCC;
-}
\ No newline at end of file
+}
+
+#footer {
+  border-top: solid #CCCCCC 1px;
+  text-align:right;
+  font-size:80%;
+}

Modified: cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/page-to-html.xsl
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/page-to-html.xsl?rev=292995&r1=292994&r2=292995&view=diff
==============================================================================
--- cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/page-to-html.xsl
(original)
+++ cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/page-to-html.xsl
Sat Oct  1 09:24:25 2005
@@ -29,6 +29,7 @@
                 xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
   >
 
+  <xsl:param name="footerText" select="'This is bricks-cms, an example Cocoon application'"/>
   <xsl:variable name="title" select="page/metadata/title"/>
 
   <xsl:template match="/">
@@ -46,6 +47,9 @@
           <xsl:value-of select="$title"/>
         </h1>
         <xsl:apply-templates select="page/content" mode="copy-content"/>
+        <div id="footer">
+          <xsl:value-of select="$footerText"/>
+        </div>
       </body>
     </html>
   </xsl:template>

Modified: cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/search-results-to-page.xsl
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/search-results-to-page.xsl?rev=292995&r1=292994&r2=292995&view=diff
==============================================================================
--- cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/search-results-to-page.xsl
(original)
+++ cocoon/whiteboard/example-apps/bricks-cms/src/cocoon/webapp/bricks-cms/admin/xslt/search-results-to-page.xsl
Sat Oct  1 09:24:25 2005
@@ -62,7 +62,7 @@
   
   <xsl:template match="document">
     <tr>
-      <xsl:if test="position() mod 2 = 0">
+      <xsl:if test="(position() mod 2) = 0">
         <xsl:attribute name="class">evenRow</xsl:attribute>
       </xsl:if>
       



Mime
View raw message