forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdupoiri...@apache.org
Subject svn commit: r369447 - in /forrest/trunk/main/template-sites/v3/src/documentation/resources/themes: pelt.fv pelt/html/nav-section-round-bottom.ft
Date Mon, 16 Jan 2006 11:55:10 GMT
Author: cdupoirieux
Date: Mon Jan 16 03:54:59 2006
New Revision: 369447

URL: http://svn.apache.org/viewcvs?rev=369447&view=rev
Log:
nav-section-round-bottom.ft migration
(FOR-787)

Added:
    forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt/html/nav-section-round-bottom.ft
      - copied, changed from r369411, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section-round-bottom.ft
Modified:
    forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt.fv

Modified: forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt.fv?rev=369447&r1=369446&r2=369447&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt.fv (original)
+++ forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt.fv Mon Jan
16 03:54:59 2006
@@ -343,11 +343,9 @@
             </forrest:properties>
           </forrest:contract>
           <forrest:contract name="genericMarkup">
-            <forrest:properties contract="genericMarkup">
-              <forrest:property name="genericMarkup">
-                <hr/>
-              </forrest:property>
-            </forrest:properties>
+            <forrest:property name="genericMarkup">
+              <hr/>
+            </forrest:property>
           </forrest:contract>
           <forrest:contract name="content-motd-page">
             <forrest:properties contract="content-motd-page">
@@ -371,8 +369,9 @@
               </forrest:property>
             </forrest:properties>
           </forrest:contract>
-          <forrest:contract name="nav-section-round-bottom"/>
           -->
+          <forrest:contract name="nav-section-round-bottom"/>
+
         </forrest:hook>
         <!--
         <jx:import uri="cocoon://prepare.tiles.export-link"/>

Copied: forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt/html/nav-section-round-bottom.ft
(from r369411, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section-round-bottom.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt/html/nav-section-round-bottom.ft?p2=forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt/html/nav-section-round-bottom.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section-round-bottom.ft&r1=369411&r2=369447&rev=369447&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section-round-bottom.ft
(original)
+++ forrest/trunk/main/template-sites/v3/src/documentation/resources/themes/pelt/html/nav-section-round-bottom.ft
Mon Jan 16 03:54:59 2006
@@ -15,21 +15,30 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<forrest:contract name="nav-section-round-bottom" type="nugget"
+<forrest:contract name="nav-section-round-bottom"
   xmlns:forrest="http://apache.org/forrest/templates/1.0">
   <description>
     nav-section-round-bottom will output the round bottom of the navigation menues
   </description>
+
   <usage><![CDATA[<forrest:contract name="nav-section-round-bottom"/>]]></usage>
+
   <forrest:template
-  xmlns:forrest="http://apache.org/forrest/templates/1.0"
-  format="html" name="nav-section-round-bottom" inputFormat="xsl" body="true" head="false">
+    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    name="nav-section-round-bottom" inputFormat="xsl">
 
     <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-      <xsl:template name="nav-section-round-bottom-body">
+      <xsl:param name="defaultVariables" select="'test.html'"/>
+      <xsl:variable name="skin-img-dir" select="$defaultVariables/*/*[@name='skin-img-dir']/@value"/>
+
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part>
   <div id="roundbottom">
     <div id="roundbottomLeft"><img  src="{$skin-img-dir}/spacer.gif" alt="spacer"
/></div>
   </div>
+          </forrest:part>
+        </forrest:content>
       </xsl:template>
     </xsl:stylesheet>
   </forrest:template>



Mime
View raw message