forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r159861 [1/3] - forrest/trunk/plugins/org.apache.forrest.plugin.feeder/resources/stylesheets forrest/trunk/plugins/org.apache.forrest.plugin.leather forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates forrest/trunk/plugins/org.apache.forrest.plugin.leather/src forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/classes forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/feeds forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images forrest/trunk/plugins/org.apache.forrest.plugin.view forrest/trunk/plugins/org.apache.forrest.plugin.view/resources forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/screenshots forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets forrest/trunk/plugins/org.apache.forrest.plugin.view/src forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/classes forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/feeds forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images
Date Sun, 03 Apr 2005 01:56:03 GMT
Author: thorsten
Date: Sat Apr  2 17:55:54 2005
New Revision: 159861

URL: http://svn.apache.org/viewcvs?view=rev&rev=159861
Log:
spilted the 'views' plugin into 'view' (internal) and 'leather' (output). Besides that I changed the xdocs producing xsl from feeder. This enables to match mutliples channels.

Added:
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/build.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/forrest.properties   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/output.xmap   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.property.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.html.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/content.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback-dyn.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feeder.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/fontsize.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/grouplogo.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/meta.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main-sub.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/noFt.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pdf-link.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pod-link.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/projectlogo.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/searchbox.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/txt-link.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/xml-link.ft   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/classes/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/classes/CatalogManager.properties   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/commands.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/feeds/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/feeds/default.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/group.svg   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/project.svg   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/src/documentation/skinconf.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.leather/status.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/build.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/forrest.properties   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/internal.xmap   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/screenshots/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/screenshots/index.html.png   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets/nugget.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets/prepare.include.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets/prepare.properties.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets/prepare.view.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/resources/stylesheets/prepare.xhtml.xsl   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/classes/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/classes/CatalogManager.properties   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/commands.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/feeds/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/feeds/default.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/group.svg   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/project.svg   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/src/documentation/skinconf.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.view/status.xml   (with props)
Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.feeder/resources/stylesheets/rss2document.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.feeder/resources/stylesheets/rss2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.feeder/resources/stylesheets/rss2document.xsl?view=diff&r1=159860&r2=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.feeder/resources/stylesheets/rss2document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.feeder/resources/stylesheets/rss2document.xsl Sat Apr  2 17:55:54 2005
@@ -23,17 +23,22 @@
       <title><xsl:value-of select="channel/title"/></title>
     </header>
     <body>
-      <xsl:apply-templates select="channel/item"/>
+      <xsl:apply-templates select="channel"/>
     </body>
   </document>
 </xsl:template>
 
-<xsl:template match="item">
+<xsl:template match="channel">
   <section>
     <title><xsl:value-of select="title" disable-output-escaping="yes"/></title>
-    <p><link href="{link}"><xsl:value-of select="link"/></link></p>
-    <p><xsl:value-of select="description" disable-output-escaping="yes"/></p>
+    <xsl:apply-templates select="item"/>
   </section>
+</xsl:template>
+
+<xsl:template match="item">
+    <p class="itemTitle"><xsl:value-of select="title" disable-output-escaping="yes"/></p>
+    <p  class="itemLink"><link href="{link}"><xsl:value-of select="link"/></link></p>
+    <p  class="itemDescription"><xsl:value-of select="description" disable-output-escaping="yes"/></p>
 </xsl:template>
 
 </xsl:stylesheet>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/build.xml?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/build.xml (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/build.xml Sat Apr  2 17:55:54 2005
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project default="docs" basedir="." name="Forrest plugin build file">
+
+  <property name="plugin-name" value="org.apache.forrest.plugin.leather"/>
+
+  <import file="../build.xml"/>
+  
+  <!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>
+  
+  

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/forrest.properties?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/forrest.properties (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/forrest.properties Sat Apr  2 17:55:54 2005
@@ -0,0 +1,109 @@
+# Copyright 2002-2004 The Apache Software Foundation or its licensors,
+# as applicable.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+#project.skin=pelt
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+# Run "forrest available-plugins" for a list of plug-ins currently available
+project.required.plugins=org.apache.forrest.plugin.leather,org.apache.forrest.plugin.projectInfo,org.apache.forrest.plugin.pdf-output

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/output.xmap?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/output.xmap (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/output.xmap Sat Apr  2 17:55:54 2005
@@ -0,0 +1,208 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+	<map:components>
+		<map:selectors>
+      <map:selector logger="sitemap.selector.exists" name="exists" src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </map:selectors>
+    <map:generators default="file">
+      <map:generator name="directory" src="org.apache.cocoon.generation.DirectoryGenerator" />
+      <map:generator label="content" logger="sitemap.generator.jx" name="jx" pool-grow="2" pool-max="16" pool-min="2" src="org.apache.cocoon.generation.JXTemplateGenerator"/>
+    </map:generators>
+    <map:transformers default="xslt">
+      <map:transformer name="cinclude"
+        src="org.apache.cocoon.transformation.CIncludeTransformer"/>
+      <map:transformer name="xinclude"
+        src="org.apache.cocoon.transformation.XIncludeTransformer"/>
+    </map:transformers>
+    <map:serializers>
+	   <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml" pool-grow="2" pool-max="64" pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer">
+	      <!--+
+	          | You can choose from Strict, Transitional, or Frameset XHTML.
+	          | For Strict XHTML set doctype to:
+	          |   <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
+	          |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
+	          | For Transitional XHTML set doctype to:
+	          |   <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
+	          |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
+	          | For Frameset XHTML set doctype to:
+	          |   <doctype-public>-//W3C//DTD XHTML 1.0 Frameset//EN</doctype-public>
+	          |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</doctype-system>
+	          |
+	          | Default XHTML doctype in Cocoon is XHTML Strict. If you want to use more than one
+	          | XHTML DTD simultaneously, you can define several XHTML serializers.
+	          +-->
+	      <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
+	      <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
+	      <encoding>UTF-8</encoding>
+	    </map:serializer>
+      <map:serializer name="txt" 
+			   src="org.apache.cocoon.serialization.TextSerializer"
+			   mime-type="text/plain" 
+			   logger="sitemap.serializer.text" 
+			 />
+    </map:serializers>
+  </map:components>
+<map:pipelines>
+
+  <map:pipeline>
+<!--
+  This plugin provides a skin implementation based on views
+  -->
+  
+<!--
+  common skining
+  This is the template producing factory.
+  -->
+ <map:pipeline>
+  <!--
+    Resolving factory
+    Project implementation of templates have priority before default ones.
+    If no implementation can be found we use the noFt (~ - no forrest:template) implementation.
+    -->
+  <map:match pattern="resolve.contract.*">
+    <map:select type="exists">
+      <map:when test="{project:resources}/templates/{1}.ft">
+        <map:generate src="{project:resources}/templates/{1}.ft"/>
+      </map:when>
+      <map:when test="resources/templates/{1}.ft">
+        <map:generate src="resources/templates/{1}.ft"/>
+      </map:when>
+      <map:otherwise>
+        <map:generate src="resources/templates/noFt.ft"/>
+      </map:otherwise>
+    </map:select>
+    <map:serialize type="xml"/>
+  </map:match>
+  <!--
+    Get the xsl:templates of the requested contract.
+  -->
+   <map:match pattern="get.contract.*.*">
+     <map:generate src="cocoon:/resolve.contract.{1}"/>
+     <map:transform src="resources/stylesheets/contract.xsl">
+      <!--Which output format?-->
+      <map:parameter name="format" value="{2}"/>
+     </map:transform>
+     <map:serialize type="xml"/>
+   </map:match>
+  <!--
+  Get the forrest:properties of the requested contract. 
+  This will determine which templates (css, head, body) we have to call later on
+  -->
+   <map:match pattern="get.contract-property.*">
+     <map:generate src="cocoon:/resolve.contract.{1}"/>
+     <map:transform src="resources/stylesheets/contract.property.xsl"/>
+     <map:serialize type="xml"/>
+   </map:match>
+<!-- ls.fbits 
+  list the default fbits-->
+  <map:pipeline>
+    <map:match pattern="ls.contracts">
+		  <map:generate type="directory" src="resources/templates">
+        <map:parameter name="depth" value="1"/>
+        <!-- sorted alphabetically -->
+      	<map:parameter name="reverse" value="false"/>
+      </map:generate>
+      <map:serialize type="xml"/>
+    </map:match>
+  </map:pipeline>
+<!-- ls.fbits 
+  list the project fbits-->
+  <map:pipeline>
+    <map:match pattern="ls.contracts.project">
+		  <map:generate type="directory" src="{project:resources}/templates/">
+        <map:parameter name="depth" value="1"/>
+        <!-- sorted alphabetically -->
+      	<map:parameter name="reverse" value="false"/>
+      </map:generate>
+      <map:serialize type="xml"/>
+    </map:match>
+  </map:pipeline>
+<!--ls.fbits.l
+transform this dir-list and add more information 
+-->
+  <map:pipeline>
+    <map:match pattern="ls.contracts.l">
+		  <map:generate src="cocoon:/ls.contracts"/>
+      <map:transform src="resources/stylesheets/ls.contracts.xsl">
+        <map:parameter name="contentDir" value="{forrest:plugins}/org.apache.forrest.plugin.views"/>
+      </map:transform>
+      <map:transform src="resources/stylesheets/ls.contracts.html.xsl"/>
+      <map:serialize type="xhtml"/>
+    </map:match>
+  </map:pipeline>
+<!--ls.fbits.l
+transform this dir-list of the project and add more information 
+-->
+  <map:pipeline>
+    <map:match pattern="ls.contracts.project.l">
+		  <map:generate src="cocoon:/ls.contracts.project"/>
+      <map:transform src="resources/stylesheets/ls.contracts.xsl">
+        <map:parameter name="contentDir" value="{forrest:plugins}/org.apache.forrest.plugin.views"/>
+      </map:transform>
+      <map:transform src="resources/stylesheets/ls.contracts.html.xsl"/>
+      <map:serialize type="xhtml"/>
+    </map:match>
+  </map:pipeline>
+   <!--
+    Get some util-templates from the common skin.
+    -->
+   <map:match pattern="commonSite2xhtml">
+        <map:generate src="{forrest:context}/skins/common/xslt/html/site2xhtml.xsl"/>
+        <map:serialize type="xml"/>
+    </map:match>
+    <map:match pattern="dotdots">
+        <map:generate src="{forrest:context}/skins/common/xslt/html/dotdots.xsl"/>
+        <map:serialize type="xml"/>
+    </map:match>
+    <map:match pattern="pathutils">
+        <map:generate src="{forrest:context}/skins/common/xslt/html/pathutils.xsl"/>
+        <map:serialize type="xml"/>
+    </map:match>
+    <map:match pattern="renderlogo">
+        <map:generate src="{forrest:context}/skins/common/xslt/html/renderlogo.xsl"/>
+        <map:serialize type="xml"/>
+    </map:match>
+  </map:pipeline>
+<!-- END
+  1. fbits
+  -->
+  
+  <!--
+  Last processing step. 
+  Here we are overriding the default skin generation.
+  -->   
+    <map:match pattern="*.html">
+      <map:generate src="cocoon://{1}.page"/>
+      <map:transform src="cocoon://prepare.xhtml.{1}">
+        <map:parameter name="path" value="{0}"/>
+      </map:transform>
+     	<map:serialize type="xhtml"/>
+    </map:match>
+    <map:match pattern="**/*.html">
+      <map:generate src="cocoon://{1}{2}/{3}.page"/>
+      <map:transform src="cocoon://prepare.xhtml.{1}">
+        <map:parameter name="path" value="{0}"/>
+      </map:transform>
+     	<map:serialize type="xhtml"/>
+    </map:match>
+  
+  </map:pipeline>
+</map:pipelines>
+
+</map:sitemap>

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/output.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.property.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.property.xsl?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.property.xsl (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.property.xsl Sat Apr  2 17:55:54 2005
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  
+  <xsl:template match="/">
+    <xsl:apply-templates select="//forrest:template"/>
+  </xsl:template>
+
+	<xsl:template match="forrest:template">
+    <forrest:property body="{@body}" 
+      head="{@head}"
+      css="{@css}"
+      name="{@name}"/>
+	</xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.property.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.xsl?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.xsl (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.xsl Sat Apr  2 17:55:54 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+site2xml.xsl is the final stage in XML page production.  It merges HTML from
+document2html.xsl, tab2menu.xsl and book2menu.xsl, and adds the site header,
+footer, searchbar, css etc.  As input, it takes XML of the form:
+
+<elements>
+  <branding/>
+  <search/>
+  <menu/>
+  <content/>
+  <siteinfo/>
+</elements>
+
+-->
+
+<xsl:stylesheet version="1.0" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  
+  <xsl:param name="format"/>
+  <xsl:template match="/">
+    <xsl:copy-of select="forrest:contract/forrest:template[@format=$format]/xsl:stylesheet/*"/>
+  </xsl:template>
+</xsl:stylesheet>

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/contract.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.html.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.html.xsl?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.html.xsl (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.html.xsl Sat Apr  2 17:55:54 2005
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet
+    version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xhtml="http://www.w3.org/1999/xhtml"
+    xmlns:dir="http://apache.org/cocoon/directory/2.0"
+    xmlns:session="http://apache.org/cocoon/session/1.0"
+    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    >
+
+  <!--
+      Create row for each document.  Information about the document is
+      extracted from the document itself using the document()
+      function.
+  -->
+  <xsl:template match="/">
+    <xhtml>
+      <head>
+        <title>ls.contracts.l</title>
+      </head>
+      <body>
+        <xsl:apply-templates/>
+      </body>
+    </xhtml>
+  </xsl:template>
+<xsl:template match="forrest:contracts">
+  <h1>ls.contracts.l</h1>
+  <xsl:apply-templates/>
+</xsl:template>
+<xsl:template match="forrest:contract">
+  <h2><xsl:value-of select="@name" /></h2>
+<p><b>file-name:</b> <br/><xsl:value-of select="@file-name" /></p>
+<p><b>description:</b> <br/><xsl:value-of select="./description" /></p>
+<p><b>realpath:</b> <br/><xsl:value-of select="./realpath" /></p>
+</xsl:template>
+
+</xsl:stylesheet>
+

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.html.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.xsl?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.xsl (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.xsl Sat Apr  2 17:55:54 2005
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet
+    version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xhtml="http://www.w3.org/1999/xhtml"
+    xmlns:dir="http://apache.org/cocoon/directory/2.0"
+    xmlns:session="http://apache.org/cocoon/session/1.0"
+    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    >
+
+<xsl:param name="contentDir" select="'default/path'"/>
+
+  <!--
+      Create row for each document.  Information about the document is
+      extracted from the document itself using the document()
+      function.
+  -->
+  <xsl:template match="/">
+      <forrest:contracts xmlns:forrest="http://apache.org/forrest/templates/1.0">
+        <xsl:apply-templates select="//dir:file"/>                    
+      </forrest:contracts>
+  </xsl:template>
+
+<xsl:template match="dir:file">
+  <xsl:variable name="fct-bit-file">
+    <xsl:value-of select="$contentDir"/>
+    <xsl:text>/resources/templates/</xsl:text>
+    <xsl:value-of select="@name"/>
+  </xsl:variable>
+  <xsl:variable name="fct-bit-title">
+    <xsl:value-of select="document($fct-bit-file)//forrest:contract/@name"/>
+  </xsl:variable>
+  <xsl:variable name="fct-bit-type">
+    <xsl:value-of select="document($fct-bit-file)/forrest:contract/@type"/>
+  </xsl:variable>
+  <xsl:variable name="fct-bit-description">
+    <xsl:value-of select="document($fct-bit-file)/forrest:contract/description"/>
+  </xsl:variable>
+
+    <forrest:contract name="{$fct-bit-title}" css="{$fct-bit-type}" file-name="{@name}">
+      <description>
+        <xsl:value-of select="$fct-bit-description"/>
+      </description>
+      <realpath>  
+        <xsl:value-of select="$fct-bit-file"/>
+      </realpath>
+    </forrest:contract>
+
+</xsl:template>
+
+</xsl:stylesheet>
+

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/stylesheets/ls.contracts.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/content.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/content.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/content.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/content.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="content" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the content and link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="content" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="content-css">
+        /*============Main content=======================*/
+#content {
+	clear: none;
+	margin-left: 25%;
+	padding: 10px;
+	font-family: verdana, helvetica, sans;
+	font-size: 10pt;
+	max-width: 75%;
+}
+#content-pdf {
+	float: right;
+	text-decoration: none;
+}
+#content-pdf a {
+	text-decoration: none;
+}
+#content h1 {
+	font-weight: bold;
+	font-size: 16pt;
+	letter-spacing: 2px;
+	padding: 0;
+	margin: 0;
+	display: block;
+	border-bottom: 2px solid #ddd;
+	color: #9AB;
+}
+#content h2 {
+	font-weight: bold;
+	font-size: 11pt;
+	letter-spacing: 1.5px;
+	padding: 0;
+	margin: 0;
+	display: block;
+	border-bottom: 2px solid #ddd;
+	color: #567;
+	font-family: "Trebuchet MS", helvetica, sans
+}
+#content h3 {
+	font-weight: bold;
+	font-size: 10pt;
+	letter-spacing: 1px;
+	padding: 0;
+	margin: 0;
+	display: block;
+	border-bottom: 2px solid #ddd;
+	color: #567;
+	font-family: verdana, helvetica, sans
+}
+
+#content a {
+	text-decoration:underline;
+	color: #567;
+}
+#content a:hover {
+	text-decoration:none;
+	color: #678;
+}</xsl:template>   
+		  <xsl:template name="content-body">
+<xsl:comment>+
+    |start content
+    +</xsl:comment>
+ <xsl:apply-templates select="div[@id='content']"/>
+<xsl:comment>+
+    |end content
+    +</xsl:comment>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/content.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback-dyn.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback-dyn.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback-dyn.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback-dyn.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<forrest:contract name="feedback-dyn" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This function will output the html feedback-dyn information.
+  </description>
+
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="feedback-dyn" inputFormat="xsl" body="true" head="false" css="true">
+
+      <xsl:stylesheet version="1.1" 
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+        xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+        
+        <xsl:template name="feedback-dyn-css">
+#feedback {
+    color: black;
+    background: #CFDCED;
+    text-align:center;
+    margin-top: 5px;
+}
+#feedback #feedbackto {
+    font-size: 90%;
+    color: black;
+}</xsl:template>
+        
+	    <xsl:template name="feedback-dyn-body">
+	        <xsl:param name="main"/>
+		    <div id="feedback"> 
+		      <xsl:value-of select="$main/feedback"/>
+		      <xsl:choose>
+		        <xsl:when test="$main/feedback/@href and not($main/feedback/@href='')">
+		          <a id="feedbackto">
+		            <xsl:attribute name="href">
+		              <xsl:value-of select="$main/feedback/@href"/>
+		              <xsl:value-of select="$path"/>
+		            </xsl:attribute>
+		            <xsl:value-of select="$main/feedback/@to"/>
+		          </a>
+		        </xsl:when>
+		        <xsl:otherwise>
+		          <xsl:value-of select="$config/feedback/@to"/>
+		        </xsl:otherwise>
+		      </xsl:choose>
+		    </div>
+			</xsl:template>
+    </xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback-dyn.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<forrest:contract name="feedback" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This function will output the html feedback information.
+  </description>
+
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="feedback" inputFormat="xsl" body="true" head="false" css="true">
+
+      <xsl:stylesheet version="1.1" 
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+        xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+        
+        <xsl:template name="feedback-css">
+#feedback {
+    color: black;
+    background: #CFDCED;
+    text-align:center;
+    margin-top: 5px;
+}
+#feedback #feedbackto {
+    font-size: 90%;
+    color: black;
+}</xsl:template>
+        
+	    <xsl:template name="feedback-body">
+		    <div id="feedback">
+		      <xsl:value-of select="$config/feedback"/>
+		      <xsl:choose>
+		        <xsl:when test="$config/feedback/@href and not($config/feedback/@href='')">
+		          <a id="feedbackto">
+		            <xsl:attribute name="href">
+		              <xsl:value-of select="$config/feedback/@href"/>
+		              <xsl:value-of select="$path"/>
+		            </xsl:attribute>
+		            <xsl:value-of select="$config/feedback/@to"/>
+		          </a>
+		        </xsl:when>
+		        <xsl:otherwise>
+		          <xsl:value-of select="$config/feedback/@to"/>
+		        </xsl:otherwise>
+		      </xsl:choose>
+		    </div>
+			</xsl:template>
+    </xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feedback.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feeder.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feeder.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feeder.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feeder.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<forrest:contract name="feeder" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This function will output the html feeder information.
+  </description>
+
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="feeder" inputFormat="xsl" body="true" head="false" css="true">
+
+      <xsl:stylesheet version="1.1" 
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+        xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+        
+        <xsl:template name="feeder-css">
+#feeder {
+	width: 23%;
+	display: block;
+	margin: 10px 0 0 0;
+	padding: 0;
+	background: #E0E9E9;
+	float: right;
+    color: black;
+    /*background: #CFDCED;*/
+    text-align:center;
+    margin-top: 5px;
+}
+.channelTitle {
+	background: #EDF2F2;
+	text-decoration: none;
+	font-size: 10pt;
+	font-family: verdana, helvetica, sans;
+  color: #000066;
+  padding: 5px;
+}
+.channelItems {
+	background: #D9E4E4;
+	text-decoration: none;
+	font-size: 10pt;
+	font-family: verdana, helvetica, sans;
+	color: #000066;
+  padding: 5px;
+}</xsl:template>
+        
+	    <xsl:template name="feeder-body" >
+	      <xsl:param name="feeder"/>
+        <xsl:param name="feedConfig"/>
+        <xsl:copy-of select="$feedConfig"/>
+				<xsl:apply-templates select="$feeder/document">
+          <xsl:with-param name="feedConfig" select="$feedConfig"/>
+				</xsl:apply-templates>		    
+			</xsl:template>
+      
+      <xsl:template match="document">
+        <xsl:param name="feedConfig"/>
+        <div id="feeder">
+		     <xsl:apply-templates select="body/section">
+          <xsl:with-param name="feedConfig" select="$feedConfig"/>
+		     </xsl:apply-templates>
+		    </div>
+      </xsl:template>
+      
+      <xsl:template match="section">
+        <xsl:param name="feedConfig"/>
+        <div class="channelTitle">
+          <xsl:value-of select="title"/>
+        </div>
+        <div class="channelItems">
+          <xsl:apply-templates select="p[@class]">
+            <xsl:with-param name="feedConfig" select="$feedConfig"/>
+          </xsl:apply-templates>
+        </div>
+      </xsl:template>
+      
+      <xsl:template match="link">
+        <a href="{@href}">...more</a>
+      </xsl:template>
+      
+      <xsl:template match="p[@class]">
+        <xsl:param name="feedConfig"/>
+        <div class="{@class}">
+          <xsl:apply-templates/>
+        </div>
+        
+<!--
+        <xsl:variable name="parse">
+          <xsl:if test="$feedConfig/feed[@position]">
+            <xsl:value-of select="position()"/><xsl:value-of select="$feedConfig/feed/@position"/>
+					</xsl:if>
+          <div class="itemTitle"><xsl:value-of select="title" disable-output-escaping="yes"/></div>
+      		<div class="itemLink"><a href="{link}">...more</a></div>
+        </xsl:variable>
+        
+        <xsl:choose>
+          <xsl:when test="$feedConfig/feed[@maxItem]">
+            <xsl:if test="position()&lt;=$feedConfig/feed/@maxItem">
+							<xsl:copy-of select="$parse"/>            
+						</xsl:if>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$parse"/>
+          </xsl:otherwise>
+        </xsl:choose>-->
+			</xsl:template>
+    
+    </xsl:stylesheet>
+    
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/feeder.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/fontsize.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/fontsize.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/fontsize.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/fontsize.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="fontsize" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This function lets you change the size of the font you are using in the site with a jscript.
+  </description>
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="fontsize" inputFormat="xsl" body="true" head="true" css="true">
+	 	<xsl:stylesheet version="1.1" 
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+			  <xsl:template name="fontsize-head">
+		      <script type="text/javascript" language="javascript" 
+			        src="{$root}skin/fontsize.js">&#160;</script>
+			  </xsl:template>
+			  
+        <xsl:template name="fontsize-css">
+.branding-trail {
+  position: relative; /* IE bugfix cont'd */
+  font-size: 70%;
+  text-align: right;
+  float: right;
+  margin: -10px 5px 0px 5px;
+  padding: 0;
+}</xsl:template>
+        
+			  <xsl:template name="fontsize-body">
+			      <script type="text/javascript">ndeSetTextSize();</script>
+			      <div class="branding-trail">
+			            Font size: 
+			              &#160;<input type="button" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" class="resetfont" value="Reset"/>      
+			              &#160;<input type="button" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" class="smallerfont" value="-a"/>
+			              &#160;<input type="button" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" class="biggerfont" value="+a"/>
+			      </div>
+			  </xsl:template>
+			
+			</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/fontsize.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/grouplogo.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/grouplogo.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/grouplogo.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/grouplogo.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="grouplogo" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the grouplogo and link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="grouplogo" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  
+		  <xsl:template name="grouplogo-css">
+#grouplogo {
+	height: 75px;
+	width: 150px;
+	margin-left: 25px;
+	padding: 5px;
+	float: left;
+}</xsl:template>
+		  
+		  <xsl:template name="grouplogo-body">
+		      <xsl:comment>+
+    |start group Logo
+    +</xsl:comment> 
+     <div id="grouplogo">
+          <xsl:call-template name="renderlogo">
+            <xsl:with-param name="name" select="$config/group-name"/>
+            <xsl:with-param name="url" select="$config/group-url"/>
+            <xsl:with-param name="logo" select="$config/group-logo"/>
+            <xsl:with-param name="root" select="$root"/>
+            <xsl:with-param name="description" select="$config/group-description"/>
+        </xsl:call-template>
+      </div>
+<xsl:comment>+
+    |end group Logo
+    +</xsl:comment> 
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/grouplogo.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/meta.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/meta.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/meta.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/meta.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="meta" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the html meta information.
+  </description>
+  
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="meta" inputFormat="xsl" body="false" head="true">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="meta-head">
+		    <meta name="Generator" content="Apache Forrest"/>
+		    <meta name="Forrest-version">
+		      <xsl:attribute name="content">
+		        <xsl:value-of select="//info/forrest-version"/>
+		      </xsl:attribute>
+		    </meta>
+		    <meta name="Forrest-skin-name">
+		      <xsl:attribute name="content">
+		        <xsl:value-of select="//info/project-skin"/>
+		      </xsl:attribute>
+		    </meta>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/meta.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main-sub.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main-sub.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main-sub.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main-sub.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="nav-main-sub" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the nav-main-sub and link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="nav-main-sub" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="nav-main-sub-css">
+
+/*============Sub-tabs===========================*/
+#nav-main-sub {
+	text-align: right;
+	margin-right: 20px;
+}</xsl:template>   
+		  <xsl:template name="nav-main-sub-body">
+		     <xsl:apply-templates select="div[@id='nav-main-sub']"/>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main-sub.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="nav-main" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the nav-main and link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="nav-main" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  
+		  <xsl:template name="nav-main-css">
+#branding ul {
+	position: absolute;
+	/*display: block;*/
+	bottom: 0px;
+	right: 0;
+	margin: 0;
+	padding: 0px 15px 0px 0px;
+	list-style: none;
+}
+#branding li {
+	float: right;
+	background: transparent url("images/tr-on.gif") 100% 0% no-repeat;
+	padding: 0 6px 0 0;
+	margin: 0 1px 0 0;
+	border-bottom: 1px solid #515358;
+}
+#branding ul a {
+	float: left;
+	display: block;
+	padding: 4px 4px 4px 10px;
+	background: transparent url("images/tl-on.gif") no-repeat;
+	font-weight: bold;
+	color: #fff;
+	text-decoration: none;
+}
+#branding ul li:hover a {background: url("images/tl-off.gif") no-repeat;}
+#branding ul li:hover {background: url("images/tr-off.gif") 100% 0% no-repeat;}
+
+#branding ul li.current a {background: url("images/tl-off.gif") no-repeat;}
+#branding ul li.current {background: url("images/tr-off.gif") 100% 0% no-repeat;}
+
+</xsl:template>
+		  
+		  <xsl:template name="nav-main-body">
+		     <div id="tabs">
+<xsl:comment>+
+    |start Tabs
+    +</xsl:comment>
+                <xsl:apply-templates select="ul[@id='nav-main']"/>       
+<xsl:comment>+
+    |end Tabs
+    +</xsl:comment>
+
+            </div>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav-main.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="nav" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the nav and link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="nav" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="nav-css">
+
+#nav {
+	width: 23%;
+	display: block;
+	margin: 10px 0 0 0;
+	padding: 0;
+	background: #E0E9E9;
+	float: left;
+}
+#nav ul {
+	list-style: none;
+	margin: 0;
+	padding: 0;
+	font-size: 0px;
+}
+#nav ul li a {
+	display: block;
+	width: auto;
+	padding: 6px 10px 6px 10px;
+	background: #EDF2F2;
+	text-decoration: none;
+	font-size: 10pt;
+	font-family: verdana, helvetica, sans;
+	color: #000066;
+	margin: 0;
+	border-left: 1px solid #fff;
+	border-bottom: 1px solid #ddd;
+	border-top: 1px solid #fff;
+	border-right: 1px solid #ddd;
+}
+#nav ul .menupage {
+	display: block;
+	font-weight: bold;
+	width: auto;
+	padding: 6px 10px;
+	background: #D9E4E4;
+	text-decoration: none;
+	font-size: 10pt;
+	font-family: verdana, helvetica, sans;
+	color: #000066;
+	margin: 0;
+	border-left: 1px solid #fff;
+	border-bottom: 1px solid #ddd;
+	border-top: 1px solid #fff;
+	border-right: 1px solid #ddd;
+}
+#nav ul li .menupage {
+	display: block;
+	font-weight: bold;
+	width: auto;
+	padding: 4px 8px 4px 20px;
+	background: #C9D4D4;
+	text-decoration: none;
+	font-size: 8pt;
+	font-family: verdana, helvetica, sans;
+	color: #000066;
+	margin: 0;
+	border-left: 1px solid #fff;
+	border-bottom: 1px solid #ddd;
+	border-top: 1px solid #fff;
+	border-right: 1px solid #ddd;
+}
+#nav ul strong {
+	display: block;
+	width: auto;
+	padding: 6px 10px;
+	background: #E0E9E9;
+	text-decoration: none;
+	font-size: 10pt;
+	font-family: verdana, helvetica, sans;
+	color: #000066;
+	margin: 0;
+	border-left: 1px solid #fff;
+	border-bottom: 1px solid #ddd;
+	border-top: 1px solid #fff;
+	border-right: 1px solid #ddd;
+}
+#nav ul li li a {
+	padding: 4px 8px 4px 20px;
+	margin: 0;
+	font-size: 8pt;
+}
+#nav ul li a:hover {
+	background: #E0E9E9;
+}</xsl:template>   
+		  <xsl:template name="nav-body">
+<xsl:comment>+
+    |start menu
+    +</xsl:comment>
+            <xsl:if test="div[@id='menu']/ul/li">
+              <xsl:call-template name="menu"/>
+            </xsl:if>
+<xsl:comment>+
+    |end menu
+    +</xsl:comment>
+		  </xsl:template>
+      <xsl:template name="menu">
+<xsl:comment>+
+    |start Menu
+    +</xsl:comment>
+   	<div id="nav">
+			<ul>
+<!--menu - inner-->	
+        <xsl:for-each select = "div[@id='menu']/ul/li">
+          <xsl:call-template name = "innermenuli" >
+              <xsl:with-param name="id" select="concat('1.', position())"/>
+          </xsl:call-template>
+        </xsl:for-each>
+			</ul>
+		</div>
+	</xsl:template>  
+  
+  <xsl:template name="innermenuli">   
+    <xsl:param name="id"/>
+    <xsl:variable name="tagid">
+      <xsl:choose>
+        <xsl:when test="descendant-or-self::node()/li/div/@class='current'"><xsl:value-of select="concat('menu_selected_',$id)"/></xsl:when>
+        <xsl:otherwise><xsl:value-of select="concat('menu_',concat(font,$id))"/></xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:variable name="whichGroup">
+      <xsl:choose>
+        <xsl:when test="descendant-or-self::node()/li/div/@class='current'">currentmenuitemgroup</xsl:when>
+        <xsl:otherwise>menuitemgroup</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    
+    <li class="pagegroup"><strong><xsl:value-of select="h1"/></strong>
+      <ul>
+        <xsl:for-each select= "ul/li">
+
+          <xsl:choose>
+            <xsl:when test="a">
+              <li><a href="{a/@href}"><xsl:value-of select="a" /></a></li>
+            </xsl:when>
+            <xsl:when test="div/@class='current'">
+              <li class="menupage">
+                <div class="menupagetitle"><xsl:value-of select="div" /></div>
+                <xsl:if test="$config/toc/@max-depth&gt;0 and contains($minitoc-location,'menu')">
+                  <li class="menupageitemgroup">
+                      <xsl:for-each select = "//tocitems/tocitem">
+                        <div class="menupageitem">
+                          <xsl:choose>
+                            <xsl:when test="string-length(@title)>15">
+                              <a href="{@href}" title="{@title}"><xsl:value-of select="substring(@title,0,20)" />...</a>
+                            </xsl:when>
+                            <xsl:otherwise>
+                              <a href="{@href}"><xsl:value-of select="@title" /></a>
+                            </xsl:otherwise>
+                          </xsl:choose>
+                        </div>
+                      </xsl:for-each>
+                  </li>
+                </xsl:if>
+              </li>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:call-template name = "innermenuli">
+                 <xsl:with-param name="id" select="concat($id, '.', position())"/>
+              </xsl:call-template>
+            </xsl:otherwise>
+          </xsl:choose>
+
+        </xsl:for-each>
+      </ul></li>
+  		</xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/nav.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/noFt.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/noFt.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/noFt.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/noFt.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  name="noFt" type="nugget">
+  <description>
+    This functions is a fallback when no ft is found.
+  </description>
+  
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    format="xhtml" name="noFt" inputFormat="xsl" body="false" head="false" css="false">
+  </forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/noFt.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pdf-link.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pdf-link.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pdf-link.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pdf-link.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="pdf-fct" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the PDF link with image.
+  </description>
+
+	<forrest:template
+  	xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  	format="xhtml" name="pdf-link" inputFormat="xsl" body="true" head="false">
+  	<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="pdf-body">
+		    <body>
+		      <div id="pdf" title="Portable Document Format"><a href="{$filename-noext}.pdf" class="dida">
+		        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF - icon"/><br/>
+		        PDF</a>
+		      </div>
+		    </body>
+		  </xsl:template>
+		
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pdf-link.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pod-link.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pod-link.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pod-link.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pod-link.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="pod-link" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the POD link with image.
+  </description>
+
+	<forrest:template
+  	xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  	format="xhtml" name="pod-link" inputFormat="xsl" body="true" head="false">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  <xsl:template name="xml-body">
+		    <body>
+		      <div class="podlink" title="Plain Old Documentation"><a href="{$filename-noext}.pod" class="dida">
+		        <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD - icon" /><br/>
+		        POD</a>
+		      </div>
+		    </body>
+		  </xsl:template>
+		</xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/pod-link.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/projectlogo.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/projectlogo.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/projectlogo.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/projectlogo.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="projectlogo" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the projectlogo and link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="projectlogo" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  
+		  <xsl:template name="projectlogo-css">
+#projectlogo {
+	height: 75px;
+	width: 150px;
+	padding: 5px;
+	float: left;
+}</xsl:template>
+		  
+		  <xsl:template name="projectlogo-body">
+		      <xsl:comment>+
+    |start Project Logo
+    +</xsl:comment> 
+     <div id="projectlogo">
+          <xsl:call-template name="renderlogo">
+            <xsl:with-param name="name" select="$config/project-name"/>
+            <xsl:with-param name="url" select="$config/project-url"/>
+            <xsl:with-param name="logo" select="$config/project-logo"/>
+            <xsl:with-param name="root" select="$root"/>
+            <xsl:with-param name="description" select="$config/project-description"/>
+        </xsl:call-template>
+      </div>
+<xsl:comment>+
+    |end Project Logo
+    +</xsl:comment> 
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/projectlogo.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/searchbox.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/searchbox.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/searchbox.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/searchbox.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="searchbox" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the searchbox.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="searchbox" inputFormat="xsl" body="true" head="false" css="true">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  
+		  <xsl:template name="searchbox-css">
+#searchbox {
+	padding: 8px;
+	float: right;
+	font-family: verdana, helvetica, sans;
+	font-size: 8pt;
+	font-weight: bold;
+	color: #ddddff;
+}
+#searchbox input {
+	font-size: 8pt;
+	font-family: verdana, helvetica, sans;
+}</xsl:template>
+		  
+		  <xsl:template name="searchbox-body">
+<div id="searchbox">
+<xsl:comment>+
+    |start Search
+    +</xsl:comment> 
+             <div class="searchbox-input">
+             <xsl:choose>
+              <xsl:when test="$config/search/@provider = 'lucene'">
+                <!-- Lucene search -->
+                <form method="get" action="{$root}{$lucene-search}">
+                  <input type="text" id="query" name="queryString" size="25" value="Search the site with {$config/search/@provider}:" onFocus="getBlank (this, 'Search the site with {$config/search/@provider}:');"/>
+		  &#160;
+		  <input type="submit" value="Search" name="Search"/>
+		 </form>
+	      </xsl:when>
+	      <xsl:otherwise>
+                <form class="roundtopsmall" method="get" action="http://www.google.com/search"> 
+                    <input type="hidden" 
+                    name="sitesearch" value="{$config/search/@domain}"/> 
+                    <input type="text" id="query" name="q" size="25"/>&#160; 
+                    <input type="submit" value="Search" name="Search"/> </form>
+        </xsl:otherwise>
+</xsl:choose>
+            </div>
+<xsl:comment>+
+    |end search
+    +</xsl:comment>
+    </div>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/searchbox.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/txt-link.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/txt-link.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/txt-link.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/txt-link.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<forrest:contract name="txt-link" type="nugget"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    This functions will output the TXT link with image and print link.
+  </description>
+  
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="txt-link" inputFormat="xsl" body="true" head="false">
+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+		  
+		  <xsl:template name="txt-link-body">
+	      <script type="text/javascript" language="Javascript">
+	function printit() {
+	  if (window.print) {
+	    window.focus();
+	    window.print();
+	  }
+	}
+	        </script>
+	
+	        <script type="text/javascript" language="Javascript">
+	var NS = (navigator.appName == "Netscape");
+	var VERSION = parseInt(navigator.appVersion);
+	if (VERSION > 3) {
+	  document.write('<div class="txt" title="Print this Page">');
+	  document.write('  <a href="javascript:printit()" class="dida">');
+	  document.write('    <img class="skin" src="{$skin-img-dir}/printer.gif" alt="print - icon" />');
+	  document.write('    <br />');
+	  document.write('  PRINT</a>');
+	  document.write('</div>');
+	}
+	        </script>
+		  </xsl:template>
+		</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/txt-link.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/xml-link.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/xml-link.ft?view=auto&rev=159861
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/xml-link.ft (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.leather/resources/templates/xml-link.ft Sat Apr  2 17:55:54 2005
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+  <forrest:contract name="xml-link" type="nugget"
+    xmlns:forrest="http://apache.org/forrest/templates/1.0">
+    <description>
+      This functions will output the XML link with image.
+    </description>
+    
+    <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  format="xhtml" name="xml-link" inputFormat="xsl" body="true" css="true">
+      <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+			  <xsl:template name="xml-link-css">
+.xml-link {
+    position: relative; /* IE bugfix cont'd */
+    float: right;
+    margin: 0px 5px;
+    padding: 0;
+}
+.xml-link br {
+    margin-top: -10px;
+    padding-left: 1px;
+}
+.xml-link a {
+    display: block;
+    font-size: 70%;
+    text-align: center;
+    margin: 0;
+    padding: 0;
+}
+
+.xml-link img {
+    display: block;
+    height: 16px;
+    width: 16px;
+}</xsl:template>
+			  <xsl:template name="xml-link-body">
+				    <div class="xml-link" title="raw XML"><a href="{$filename-noext}.xml" class="dida">
+				      <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" /><br/>
+				      XML</a>
+				    </div>
+			  </xsl:template>
+			
+			</xsl:stylesheet>
+	</forrest:template>
+</forrest:contract>
\ No newline at end of file



Mime
View raw message