svn commit: r755992 [4/5] - in /lenya/contributions/2_0_X/pubs: ./ defaultfiredocs/ defaultfiredocs/config/ defaultfiredocs/config/access-control/ defaultfiredocs/config/access-control/passwd/ defaultfiredocs/config/access-control/policies/ defaultfire...

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml-common.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml-common.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml-common.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml-common.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: xhtml-common.xsl 153165 2005-02-10 06:01:01Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xhtml="http://www.w3.org/1999/xhtml"
+  xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+  xmlns:dc="http://purl.org/dc/elements/1.1/"
+>
+
+<xsl:template match="xhtml:body">
+<xsl:apply-templates mode="body"/>
+</xsl:template>
+
+<xsl:template name="insertmenu">
+<xsl:param name="path"/>
+<xsl:variable name="ns">namespace=&quot;http://www.w3.org/1999/xhtml&quot;</xsl:variable>
+<insert-after select="{$path}[@tagID='{@tagID}']">
+  <element name="Paragraph" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:p&quot; {$ns}&gt;New Paragraph&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Table" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:table&quot; {$ns}&gt;&lt;tr&gt;&lt;td&gt;New Table&lt;/td&gt;&lt;/tr&gt;&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Unordered List" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:ul&quot; {$ns}&gt;&lt;li&gt;New Unordered List&lt;/li&gt;&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Ordered List" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:ol&quot; {$ns}&gt;&lt;li&gt;New Ordered List&lt;/li&gt;&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Headline 1" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:h1&quot; {$ns}&gt;New Headline 1&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Headline 2" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:h2&quot; {$ns}&gt;New Headline 2&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Headline 3" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:h3&quot; {$ns}&gt;New Headline 3&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+  <element name="Headline 4" xupdate="&lt;xupdate:insert-after select=&quot;{$path}[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;xhtml:h4&quot; {$ns}&gt;New Headline 4&lt;/xupdate:element&gt;&lt;/xupdate:insert-after&gt;"/>
+</insert-after>
+</xsl:template>
+
+  <xsl:template match="xhtml:p" mode="body">
+    <xsl:choose >
+      <xsl:when test="xhtml:object">
+	<xsl:apply-templates select="xhtml:object" mode="body"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<node name="Paragraph" select="/*/xhtml:body/xhtml:p[@tagID='{@tagID}']">
+	  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:p[@tagID='{@tagID}']&quot;/&gt;"/></action>
+	  <content>
+	    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:p[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="30">
+	      <xsl:copy-of select="node()"/>
+	    </textarea>
+	  </content>
+	</node>
+	
+	<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:p</xsl:with-param></xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+<xsl:template match="xhtml:table" mode="body">
+<node name="Table" select="/*/xhtml:body/xhtml:table[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:table[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:table[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="30">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:table</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="xhtml:ul" mode="body">
+<node name="Unordered List" select="/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:ul[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="30">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:ul</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="xhtml:ol" mode="body">
+<node name="Ordered List" select="/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:ol[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="30">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:ol</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="xhtml:h1" mode="body">
+<node name="Headline 1" select="/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:h1[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="3">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:h1</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+    
+<xsl:template match="xhtml:h2" mode="body">
+<node name="Headline 2" select="/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:h2[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="3">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:h2</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="xhtml:h3" mode="body">
+<node name="Headline 3" select="/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:h3[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="3">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:h3</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="xhtml:h4" mode="body">
+<node name="Headline 4" select="/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  <content>
+    <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:h4[@tagID='{@tagID}']&quot;&gt;" cols="80" rows="3">
+      <xsl:copy-of select="node()"/>
+    </textarea>
+  </content>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:h4</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="xhtml:hr" mode="body">
+<node name="Horizontal Rule" select="/*/xhtml:body/xhtml:hr[@tagID='{@tagID}']">
+  <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:hr[@tagID='{@tagID}']&quot;/&gt;"/></action>
+</node>
+
+<xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body/xhtml:hr</xsl:with-param></xsl:call-template>
+
+</xsl:template>
+
+  <xsl:template match="xhtml:object" mode="body">
+    <node name="Object">
+      <action><delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/xhtml:p/xhtml:object[@tagID='{@tagID}']&quot;/&gt;"/></action>
+      <content>
+	<input type="text" name="&lt;xupdate:update select=&quot;/*/xhtml:body/xhtml:p/xhtml:object[@tagID='{@tagID}']&quot;&gt;" size="80">
+	  <xsl:attribute name="value">
+      <xsl:value-of select="@data"/>
+	  </xsl:attribute>
+	</input>
+      </content>
+    </node>
+    
+    <xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body</xsl:with-param></xsl:call-template>
+    
+  </xsl:template>
+
+  <xsl:template match="lenya:asset" mode="body">
+    <node name="Asset">
+      <action>
+	<delete name="&lt;xupdate:remove select=&quot;/*/xhtml:body/lenya:asset[@tagID='{@tagID}']&quot;/&gt;"/>
+      </action>
+      <content>
+	<input type="text" name="&lt;xupdate:update select=&quot;/*/xhtml:body/lenya:asset[@tagID='{@tagID}']&quot;&gt;" size="80">
+	  <xsl:attribute name="value">
+	    <xsl:value-of select="@src"/>
+	  </xsl:attribute>
+	</input>
+      </content>
+    </node>
+
+    <xsl:call-template name="insertmenu"><xsl:with-param name="path">/*/xhtml:body</xsl:with-param></xsl:call-template>
+    
+  </xsl:template>
+
+</xsl:stylesheet>  

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/editors/usecases/forms/xhtml.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: xhtml.xsl 42703 2004-03-13 12:57:53Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:xhtml="http://www.w3.org/1999/xhtml"
+  xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
+  xmlns:dc="http://purl.org/dc/elements/1.1/"
+>
+
+<xsl:import href="fallback://lenya/modules/editors/usecases/forms/form.xsl"/>
+<xsl:import href="xhtml-common.xsl"/>
+
+<xsl:template match="xhtml:html">
+
+<namespace prefix="xhtml" uri="http://www.w3.org/1999/xhtml"/>
+  
+<xsl:apply-templates select="xhtml:body"/>
+
+</xsl:template>
+
+</xsl:stylesheet>  

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/breadcrumb.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/breadcrumb.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/breadcrumb.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/breadcrumb.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: breadcrumb.xsl 42703 2004-03-13 12:57:53Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
+  xmlns="http://www.w3.org/1999/xhtml"
+  exclude-result-prefixes="nav"
+  >
+  
+  <xsl:template match="nav:site">
+    <div id="breadcrumb">
+      <xsl:apply-templates select="nav:node"/>
+    </div>
+  </xsl:template>
+  
+  
+  <xsl:template match="nav:node">
+    <xsl:if test="descendant-or-self::nav:node[@current = 'true']">
+      <xsl:call-template name="separator"/>
+      <xsl:call-template name="step"/>
+      <xsl:apply-templates select="nav:node"/>
+    </xsl:if>
+  </xsl:template>
+  
+  
+  <xsl:template name="step">
+    <xsl:choose>
+      <xsl:when test="@current = 'true'">
+        <xsl:apply-templates select="nav:label"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <a href="{@href}"><xsl:apply-templates select="nav:label"/></a>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+  
+  <xsl:template match="nav:label">
+    <xsl:value-of select="."/>
+  </xsl:template>
+  
+  
+  <xsl:template name="separator">
+    &#x00BB;
+  </xsl:template>
+  
+  
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+  
+  
+</xsl:stylesheet> 

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/menu.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/menu.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/menu.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/menu.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: menu.xsl 42703 2004-03-13 12:57:53Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
+    xmlns="http://www.w3.org/1999/xhtml"
+    exclude-result-prefixes="nav"
+    >
+    
+
+<xsl:template match="nav:site">
+  <div id="menu">
+    <xsl:apply-templates select="nav:node"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="nav:node[@visibleinnav = 'false']"/>
+
+<xsl:template match="nav:node">
+  <xsl:choose>
+    <xsl:when test="descendant-or-self::nav:node[@current = 'true']">
+      <div class="menublock-selected-{count(ancestor-or-self::nav:node)}">
+        <xsl:call-template name="item"/>
+        <xsl:apply-templates select="nav:node"/>
+      </div>
+    </xsl:when>
+    <xsl:otherwise>
+      <div class="menublock-{count(ancestor-or-self::nav:node)}">
+        <xsl:call-template name="item"/>
+        <xsl:apply-templates select="nav:node"/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+
+<xsl:template name="item">
+    <xsl:choose>
+      <xsl:when test="@current = 'true'">
+        <xsl:call-template name="item-selected"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="item-default"/>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+
+<xsl:template name="item-default">
+  <div class="menuitem-{count(ancestor-or-self::nav:node)}">
+    <a href="{@href}"><xsl:apply-templates select="nav:label"/></a>
+  </div>
+</xsl:template>
+    
+    
+<xsl:template name="item-selected">
+  <div class="menuitem-selected-{count(ancestor-or-self::nav:node)}">
+    <xsl:apply-templates select="nav:label"/>
+  </div>
+</xsl:template>
+
+
+<xsl:template match="nav:label">
+  <xsl:value-of select="."/>
+</xsl:template>
+    
+    
+<xsl:template match="@*|node()">
+  <xsl:copy>
+    <xsl:apply-templates select="@*|node()"/>
+  </xsl:copy>
+</xsl:template>
+
+
+</xsl:stylesheet> 

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/search.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/search.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/search.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/search.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: search.xsl 76019 2004-11-16 20:13:32Z gregor $ -->
+
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
+  xmlns="http://www.w3.org/1999/xhtml"
+  exclude-result-prefixes="nav"
+  >
+  
+  <xsl:param name="root"/>
+  <xsl:param name="chosenlanguage"/>
+  <xsl:param name="defaultlanguage"/>
+  
+  <xsl:variable name="languageSuffix">
+    <xsl:if test="$chosenlanguage != $defaultlanguage">
+      <xsl:text>_</xsl:text>
+      <xsl:value-of select="$chosenlanguage"/>
+    </xsl:if>
+  </xsl:variable>
+  
+  <xsl:template match="nav:site">
+    <div id="search">
+      <form action="{$root}search{$languageSuffix}.html" id="form-search">
+        <p>
+          <input class="searchfield" type="text" name="queryString" alt="Search field"/>
+          <input type="hidden" value="20" name="pageLength"/>
+          <input class="searchsubmit" type="submit" value="Go" name="input-go"/>
+        </p>
+      </form>
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+  
+</xsl:stylesheet>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/tabs.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/tabs.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/tabs.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/modules/sitetree/xslt/navigation/tabs.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: tabs.xsl 189880 2005-06-10 02:36:09Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
+    xmlns="http://www.w3.org/1999/xhtml"
+    exclude-result-prefixes="nav"
+    >
+    
+<xsl:import href="template-fallback:default://lenya/modules/sitetree/xslt/navigation/tabs.xsl"/>
+
+<xsl:template match="nav:site">
+    
+  <div id="tabs">
+  <table border="0" cellpadding="0" cellspacing="0">
+    <tr>
+    <xsl:call-template name="pre-separator"/>
+    <xsl:for-each select="nav:node">
+      <xsl:if test="position() &gt; 1 and @visibleinnav = 'true'">
+        <xsl:call-template name="separator"/>
+      </xsl:if>
+      
+      <xsl:choose>
+        <xsl:when test="@visibleinnav = 'false'"/>
+        <xsl:when test="descendant-or-self::nav:node[@current = 'true']">
+          <xsl:call-template name="tab-selected"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="tab"/>
+        </xsl:otherwise>
+      </xsl:choose>
+        
+    </xsl:for-each>
+    <xsl:call-template name="post-separator"/>
+    </tr>
+  </table>
+  </div>
+
+</xsl:template>
+
+
+<xsl:template name="tab">
+  <td><div class="tab"><xsl:call-template name="label"/></div></td>
+</xsl:template>
+
+
+<xsl:template name="tab-selected">
+  <td><div class="tab-selected"><xsl:call-template name="label"/></div></td>
+</xsl:template>
+
+
+<xsl:template name="separator">
+    <td><div class="tab-separator">&#160;</div></td>
+</xsl:template>
+
+
+<xsl:template name="pre-separator">
+    <td><div class="tab-pre-separator">&#160;</div></td>
+</xsl:template>
+
+
+<xsl:template name="post-separator">
+    <td class="tab-post-separator"><div class="tab-separator">&#160;</div></td>
+</xsl:template>
+
+
+</xsl:stylesheet> 

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+
+   
+   $Id: cmsui.xml 634352 2008-03-06 17:16:13Z andreas $
+   
+-->
+
+<catalogue xml:lang="en" xmlns="http://apache.org/cocoon/i18n/2.1">
+  
+  <message key="publication-title">Welcome to the Default Publication from {0}!</message>
+ 
+  <message key="default.createdoc.idtaken">The ID you've entered is already taken. Please choose another one.</message>
+ 
+  <message key="Create new language version">Create new language version</message>
+  <message key="New language for existing Document">New language for existing Document</message>
+  <message key="default.createdoc.info.all-language-versions-exists">There are already versions of this document for all languages.</message>
+
+  <message key="error-generic-comment">Please contact your system administrator.</message>
+  
+</catalogue>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_de.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_de.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_de.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_de.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+  
+ 
+   $Id: cmsui_de.xml 634352 2008-03-06 17:16:13Z andreas $ 
+   
+-->
+
+<catalogue xml:lang="de" xmlns="http://apache.org/cocoon/i18n/2.1">
+
+  <message key="publication-title">Willkommen zur Default-Publikation von {0}!</message>
+  
+  <message key="default.doc.create.idtaken">Die eingebene ID ist schon vergeben. Bitte wählen Sie eine andere ID.</message>
+
+  <message key="Create new language version">Neue Sprachversion anlegen</message>
+  <message key="New language for existing Document">Neue Sprachversion für existierendes Dokument anlegen</message>
+  <message key="default.createdoc.info.all-language-versions-exists">Das Dokument existiert bereits in allen notwendigen Sprachen.</message>
+  
+  <message key="error-generic-comment">Bitte kontaktieren Sie den Systemadministrator.</message>
+  
+</catalogue>
+

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_es.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_es.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_es.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_es.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+
+   
+   $Id: cmsui_es.xml 619704 2008-02-08 00:22:30Z andreas $
+
+   @translators Salvador Cobrero <salvador_cobrero_jimenez at dmr-consulting dot com>
+   
+-->
+
+<catalogue xml:lang="es" xmlns="http://apache.org/cocoon/i18n/2.1">
+
+  <message key="default.createdoc.idtaken">El ID introducido ya existe. Por favor, escoja otro.</message>
+ 
+  <message key="Create new language version">Crear nueva version de idioma</message>
+  <message key="New language for existing Document">Nuevo idioma para el Documento existente</message>
+  <message key="default.createdoc.info.all-language-versions-exists">Ya existen versiones de este documento para todos los idiomas.</message>
+
+</catalogue>
+

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_fr.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_fr.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_fr.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_fr.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+
+   
+   $Id: cmsui_fr.xml 619704 2008-02-08 00:22:30Z andreas $
+   
+   @translators Olivier Lange <wire at petit-atelier dot ch>
+   
+-->
+
+<catalogue xml:lang="fr" xmlns="http://apache.org/cocoon/i18n/2.1">
+
+  <message key="default.createdoc.idtaken">L'identifiant (ID) que vous avez choisi est déjà utilisé. Veuillez en choisir un autre.</message>
+  <message key="Create new language version">Créer une nouvelle traduction</message>
+  <message key="New language for existing Document">Nouvelle traduction d'un document existant</message>
+  <message key="default.createdoc.info.all-language-versions-exists">Les traductions de ce document existent déjà dans toutes les langues.</message>
+  
+</catalogue>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_it.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_it.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_it.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_it.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+
+   
+   $Id: cmsui_it.xml 619704 2008-02-08 00:22:30Z andreas $
+   @translators Giampaolo Trapasso  <trapo at trapo dot it>
+-->
+<catalogue xml:lang="it" xmlns="http://apache.org/cocoon/i18n/2.1">
+	<message key="default.createdoc.idtaken">L'ID scelto è già utilizzato. Scegliere un altro ID.</message>
+	<message key="Create new language version">Crea nuova lingua</message>
+	<message key="New language for existing Document">Nuova lingua per un Documento esistente</message>
+	<message key="default.createdoc.info.all-language-versions-exists">Esistono già versioni di questo documento per tutte le lingue.</message>
+</catalogue>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_pt.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_pt.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_pt.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_pt.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+
+  $Id: cmsui_pt.xml 111676 2005-06-15 23:50:43Z gregor $
+
+   @translators Rolando Isidoro <rli at uninova dot pt>
+
+-->
+
+<catalogue xml:lang="pt" xmlns="http://apache.org/cocoon/i18n/2.1">
+
+  <message key="default.createdoc.idtaken">O ID introduzido já existe. Por favor introduza outro.</message>
+ 
+  <message key="Create new language version">Criar nova versão de idioma</message>
+  <message key="New language for existing Document">Novo idioma para o Documento existente</message>
+  <message key="default.createdoc.info.all-language-versions-exists">Já existem versões deste documento em todos os idiomas.</message>
+
+</catalogue>
+

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_ru.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_ru.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_ru.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/resources/i18n/cmsui_ru.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   
+   Copyright 2004 The Apache Software Foundation
+
+   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.
+
+   
+   $Id: cmsui.xml 153091 2005-02-09 17:27:19Z edith $
+   
+-->
+
+<catalogue xml:lang="ru" xmlns="http://apache.org/cocoon/i18n/2.1">
+ 
+  <message key="default.createdoc.idtaken">Введённый идентификатор занят. Выберете дьругой, пожалуйста.</message>
+  <message key="Create new language version">Создать версию на другом языке</message>
+  <message key="New language for existing Document">Перевести существующий документ</message>
+  <message key="default.createdoc.info.all-language-versions-exists">Версии этого документа уже есть на всех языках.</message>
+
+  <message key="last_published">Последняя публикация</message>
+</catalogue>
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/usecases/tab/meta.jx
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/usecases/tab/meta.jx?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/usecases/tab/meta.jx (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/usecases/tab/meta.jx Thu Mar 19 13:29:18 2009
@@ -0,0 +1,134 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: meta.jx 497638 2007-01-18 23:30:55Z nettings $ -->
+
+<page:page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" 
+           xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0" 
+           xmlns="http://www.w3.org/1999/xhtml" 
+           xmlns:i18n="http://apache.org/cocoon/i18n/2.1" >
+  <jx:import uri="fallback://lenya/usecases/tab/head.jx"/>
+  <page:body>
+    <jx:import uri="fallback://lenya/usecases/tab/sitetree.jx"/>
+    <jx:import uri="fallback://lenya/usecases/templates/tabs.jx"/>
+    <div id="contentblock1" class="lenya-tab-sitetree">
+      <form id="form-meta">
+        <table class="lenya-table-noborder">
+          <tr>
+            <td colspan="2">
+              <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><label for="title"><i18n:text>Title</i18n:text>:</label></td>
+            <td>
+              <input type="text" id="title" name="meta.dc.title" class="lenya-form-element" value="${usecase.getParameter('meta.dc.title')}"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><label for="subject"><i18n:text>Subject</i18n:text>:</label></td>
+            <td>
+              <input type="text" id="subject" name="meta.dc.subject" class="lenya-form-element" value="${usecase.getParameter('meta.dc.subject')}"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text>:</label></td>
+            <td>
+              <!-- N.B.: do not put spaces or carriage returns inside the
+                   textarea element - these would be rendered -->
+              <textarea id="description" name="meta.dc.description" rows="3" class="lenya-form-element"><jx:out value="${usecase.getParameter('meta.dc.description')}"/></textarea>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><label for="publisher"><i18n:text>Publisher</i18n:text>:</label></td>
+            <td>
+              <input type="text" id="publisher" name="meta.dc.publisher" class="lenya-form-element" value="${usecase.getParameter('meta.dc.publisher')}"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><label for="rights"><i18n:text>Rights</i18n:text>:</label></td>
+            <td>
+              <input type="text" id="rights" name="meta.dc.rights" class="lenya-form-element" value="${usecase.getParameter('meta.dc.rights')}"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><i18n:text>Creation Date</i18n:text>:</td>
+            <td>
+              <jx:out value="${usecase.getParameter('meta.dc.date')}"/>
+            </td>
+          </tr>
+          <tr>
+            <td class="lenya-entry-caption"><label for="creator"><i18n:text>Creator</i18n:text>:</label></td>
+            <td>
+              <input type="hidden" id="creator" name="meta.dc.creator" class="lenya-form-element" value="${usecase.getParameter('meta.dc.creator')}"/>
+              <jx:out value="${usecase.getParameter('meta.dc.creator')}"/>
+            </td>
+          </tr>
+          <jx:if test="${usecase.getParameter('showCustom').equals('true')}">
+            <tr>
+              <td colspan="2" class="lenya-entry-caption">
+                <h2><i18n:text>Custom metadata</i18n:text></h2>
+              </td>
+            </tr>
+            <tr>
+              <td class="lenya-entry-caption"><label for="myMeta"><i18n:text>My
+                custom metadata</i18n:text>:</label></td>
+              <td>
+                <input type="text" id="myMeta" name="meta.custom.myMeta"
+                  class="lenya-form-element"
+                  value="${usecase.getParameter('meta.custom.myMeta')}"/>
+              </td>
+            </tr>
+          </jx:if>
+          <tr>
+            <td/>
+            <td>
+              <br/>
+              <jx:if
+                test="${usecase.getParameter('showCustom').equals('false')}">
+                <input i18n:attr="value" name="submit" type="submit"
+                  value="Show custom metadata"
+                  onClick="this.form.showCustom.value='true';"/>
+              </jx:if>
+              <jx:if
+                test="${usecase.getParameter('showCustom').equals('true')}">
+                <input i18n:attr="value" name="submit" type="submit"
+                  value="Hide custom metadata"
+                  onClick="this.form.showCustom.value='false';"/>
+              </jx:if>
+              <jx:choose>
+                <jx:when
+                  test="${usecase.getParameter('document').getArea().equals('authoring') &amp;&amp; ! usecase.hasErrors()}">
+                  <input i18n:attr="value" name="submit" type="submit"
+                    value="Save"/>
+                </jx:when>
+                <jx:otherwise>
+                  <input i18n:attr="value" name="submit" type="submit"
+                    disabled="disabled" value="Save"/>
+                </jx:otherwise>
+              </jx:choose>
+            </td>
+          </tr>
+        </table>
+        <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+        <input type="hidden" id="showCustom" name="showCustom" value="${usecase.getParameter('showCustom')}"/>
+        <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+      </form>
+    </div>
+  </page:body>
+</page:page>
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/xslt/exception/generic.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/xslt/exception/generic.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/xslt/exception/generic.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/lenya/xslt/exception/generic.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: generic.xsl 589872 2007-10-29 21:47:39Z andreas $ -->
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:error="http://apache.org/cocoon/error/2.1"
+  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+  
+  <xsl:param name="root"/>
+  
+  <xsl:template match="error:notify">
+    <html>
+      <head>
+        <title><i18n:text i18n:key="error-generic" /></title>
+        <link rel="stylesheet" href="{$root}/css/page.css" type="text/css"/>
+      </head>
+      <body>
+        
+        <div id="page">
+          <table width="100%" cellpadding="0" cellspacing="0" border="0">
+            <tr>
+              <td/>
+              <td id="project-logo"><img src="{$root}/images/project-logo.png" alt="project logo"/></td>
+            </tr>
+          </table>
+          <table width="100%" border="0" cellpadding="0" cellspacing="0">
+            <tr>
+              <td valign="top" style="width: 230px"/>
+              <td valign="top">
+                <div id="main">
+                  <div id="body">
+                    <h1>
+                      <i18n:text i18n:key="error-generic" />
+                    </h1>
+                    <p>
+                      <i18n:text i18n:key="error-generic-comment"/>
+                    </p>
+                    <xsl:comment>
+                      <xsl:value-of select="error:message"/>
+                      <xsl:value-of select="error:description"/>
+                      <xsl:apply-templates select="error:extra"/>
+                    </xsl:comment>
+                  </div>
+                </div>
+              </td>
+            </tr>
+          </table>
+        </div>
+      </body>
+    </html>
+  </xsl:template>
+  
+  
+  <xsl:template match="error:extra">
+    <xsl:choose>
+      <xsl:when test="contains(@error:description,'stacktrace')">
+        <xsl:value-of select="@error:description"/>
+        <xsl:value-of select="translate(.,'&#13;','')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="."/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+</xsl:stylesheet>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/config/module.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/config/module.xml?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/config/module.xml (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/config/module.xml Thu Mar 19 13:29:18 2009
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+  
+  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.
+-->
+
+<!-- $Id: publication.xml 374687 2006-02-03 15:24:55Z michi $ -->
+
+<module xmlns="http://apache.org/lenya/module/1.0">
+  <id>org.apache.lenya.modules.defaultstyle</id>
+  <package>org.apache.lenya.modules</package>
+  <version>0.1-dev</version>
+  <name>Default Publication Style</name>
+  <lenya-version>@lenya.version@</lenya-version>
+  <description></description>
+</module>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/homepage.css
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/homepage.css?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/homepage.css (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/homepage.css Thu Mar 19 13:29:18 2009
@@ -0,0 +1,5 @@
+/* Put your doctype-specific CSS here */
+
+div#body {
+  margin-right: 300px;
+}
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/links.css
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/links.css?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/links.css (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/links.css Thu Mar 19 13:29:18 2009
@@ -0,0 +1 @@
+/* Put your doctype-specific CSS here */
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/news.css
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/news.css?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/news.css (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/news.css Thu Mar 19 13:29:18 2009
@@ -0,0 +1,71 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You 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.
+*/
+
+div.newsDate {
+  font-size: small;
+  font-weight: normal;
+  float: right
+}
+
+
+div#news {
+  font-family: Verdana, Arial, Sans-serif;
+  clear: both;
+  float: right;
+  width: 250px;
+  border: solid 1px #BB9999;
+  margin: 0px 10px 10px 10px;
+  padding: 10px;
+  background-color: #FFEEEE;
+}
+
+div#news h1 {
+  font-size: medium;
+  margin: 0;
+  padding: 0;
+}
+
+div#news h2 {
+  font-size: small;
+  margin-top: 10px;
+  border-bottom: none;
+  margin-bottom: 0;
+}
+
+div#news p {
+  margin-top: 0.3em;
+}
+
+div#news div.newsDate {
+  float: none;
+}
+
+div.rsslink {
+  float: right;
+  font-size: x-small;
+  border-top: solid 1px #FFFFFF;
+  border-left: solid 1px #FFFFFF;
+  border-bottom: solid 1px #666666;
+  border-right: solid 1px #666666;
+  background-color: #DDBBBB;
+  color: #000000;
+  padding: 1px 3px 1px 3px;
+}
+
+div.rsslink a {
+  text-decoration: none;
+}
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/page.css
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/page.css?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/page.css (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/page.css Thu Mar 19 13:29:18 2009
@@ -0,0 +1,533 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You 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.
+*/
+
+/* page */
+
+@import url("news.css");
+
+#page {
+    padding: 0px;
+    margin: 0px;
+}
+
+/* tabs */
+
+#tabs {
+    border-bottom: solid 5px #DDBBBB;
+    color: Maroon;
+}
+
+#tabs a {
+    text-decoration: none;
+    color: Maroon;
+}
+
+#tabs table {
+    font-family: Verdana, Arial, Sans-serif;
+    font-size: 80%;
+}
+
+#tabs td {
+    vertical-align: bottom;
+}
+
+#tabs div {
+    white-space: nowrap;
+}
+
+.tab a, .tab-selected a {
+    display: block;
+}
+
+.tab a span, .tab-selected a span {
+    padding: .3em .6em;
+    display: block;
+}
+
+.tab a span {
+    background: url('/modules/svg/tab-topRight-5-FFEEEE-BB9999.png') right top no-repeat;
+    border-bottom: solid 1px #BB9999;
+}
+
+.tab a {
+    background: url('/modules/svg/tab-topLeft-5-FFEEEE-BB9999.png') left top no-repeat;
+}
+
+.tab a:hover span {
+    background: url('/modules/svg/tab-topRight-5-EECCCC-BB9999.png') right top no-repeat;
+    border-bottom: solid 1px #BB9999;
+}
+  
+.tab a:hover {
+    background: url('/modules/svg/tab-topLeft-5-EECCCC-BB9999.png') left top no-repeat;
+}
+  
+.tab-selected a span {
+    background: url('/modules/svg/tab-topRight-5-DDBBBB-BB9999.png') right top no-repeat;
+    border-bottom: solid 1px #DDBBBB;
+}
+
+.tab-selected a {
+    background: url('/modules/svg/tab-topLeft-5-DDBBBB-BB9999.png') left top no-repeat;
+}
+
+.tab-separator {
+    border-bottom: solid 1px #BB9999;
+}
+
+.tab-pre-separator {
+    width: 25px;
+    border-bottom: solid 1px #BB9999;
+}
+
+td.tab-post-separator {
+    width: 100%;
+}
+
+/* menu */
+
+#menu, #languageselector {
+    font-family: Verdana, Arial, Sans-serif;
+    border: solid 1px #BB9999;
+    border-left: none;
+    border-top: none;
+    color: Maroon;
+    padding: 5px 0px 5px 0px;
+  background-color: #FFCCCC;
+}
+
+#menu {
+  border-bottom: none;
+}
+
+#languageselector {
+    font-size: 80%;
+    padding-top: 10px;
+    padding-left: 15px;
+    /*
+    border: none;
+    background: url('/modules/svg/tab-bottomRight-5-FFCCCC-BB9999.png') right bottom no-repeat;
+    */
+}
+
+#languageselector ul {
+    list-style-type: none;
+    margin: 0;
+    padding: 0;
+}
+
+#languageselector ul li {
+    display: inline;
+}
+
+#languageselector a img {
+    border: none;
+    margin: 0;
+    padding: 1px;
+  border: solid 5px #FFCCCC;
+    /*
+  border: solid 1px #000000;
+  */
+  vertical-align: middle;
+}
+
+#menu a, #languageselector a {
+    text-decoration: none;
+    color: Maroon;
+}
+
+#languageselector a {
+}
+
+#languageselector a:hover {
+    text-decoration: none;
+}
+
+#languageselector a.lenya-language-isCurrent {
+    font-weight:bold;
+}
+
+#languageselector a.lenya-language-isCurrent img {
+  border: solid 5px #FFEEEE;
+}
+
+#languageselector a.lenya-language-isAvailable {
+}
+
+#languageselector a.lenya-language-isUnavailable {
+    color:#aaaaaa;
+    opacity: 0.5;
+}
+
+#menu a:hover {
+    text-decoration: underline;
+}
+
+
+.menublock-1, .menublock-selected-1 {
+    padding: 0px;
+    /*
+    border-top: solid 1px #DDBBBB;
+    background: #FFCCCC;
+    */
+}
+
+.menublock-1 .menublock-2 { display: none; }
+.menublock-2 .menublock-3 { display: none; }
+.menublock-3 .menublock-4 { display: none; }
+.menublock-4 .menublock-5 { display: none; }
+
+.menuitem-1, .menuitem-selected-1,
+.menuitem-2, .menuitem-selected-2,
+.menuitem-3, .menuitem-selected-3,
+.menuitem-4, .menuitem-selected-4,
+.menuitem-5, .menuitem-selected-5 {
+  font-size: 80%;
+}
+  
+.menuitem-1, .menuitem-selected-1 {
+  margin: 10px 0px 0px 0px;
+  padding: 2px 5px 2px 30px;
+  background: url('../images/bullet.png') 16px .4em no-repeat;
+}
+
+.menuitem-2, .menuitem-selected-2 {
+  padding: 2px 5px 2px 50px;
+  background: url('../images/bullet.png') 36px .4em no-repeat;
+}
+
+.menuitem-3, .menuitem-selected-3 {
+  padding: 2px 5px 2px 70px;
+  background: url('../images/bullet.png') 56px .4em no-repeat;
+}
+  
+.menuitem-4, .menuitem-selected-4 {
+  padding: 2px 5px 2px 90px;
+  background: url('../images/bullet.png') 76px .4em no-repeat;
+}
+  
+.menuitem-5, .menuitem-selected-5 {
+  padding: 2px 5px 2px 110px;
+  background: url('../images/bullet.png') 96px .4em no-repeat;
+}
+  
+
+.menuitem-selected-1,
+.menuitem-selected-2,
+.menuitem-selected-3,
+.menuitem-selected-4,
+.menuitem-selected-5 {
+  background-color: #FFEEEE;
+/*
+  color: black;
+  background-color: #BB9999;
+  font-weight: bold;
+*/
+}
+  
+/* breadcrumb */
+
+#breadcrumb {
+    padding: 3px 0px 3px 30px;
+    background-color: #FFEEEE;
+    border-top: solid 1px #BB9999;
+    border-bottom: solid 1px #BB9999;
+    font-family: Verdana, Arial, Sans-serif;
+    font-size: 80%;
+}
+
+#breadcrumb a {
+    text-decoration: none;
+    color: Maroon;
+}
+
+#search {
+    font-family: Verdana, Arial, Sans-serif;
+    font-size: 100%;
+    margin-right: 10px;
+    float: right;
+    position:relative;
+    top:-20px
+}
+
+input.searchfield {
+    font-size: 80%;
+    background-color: #ffffff;
+    border: 1px solid #BB9999;
+}
+
+input.searchsubmit {
+    font-size: 80%;
+    color: Maroon;
+    background-color: #FFEEEE;
+    border: 1px solid #BB9999;
+}
+
+input.searchsubmit:hover {
+    background-color: #DDBBBB;
+}
+
+/*
+#search a {
+    text-decoration: none;
+    color: Maroon;
+}
+*/
+
+/* body */
+
+body {
+    font-family: Verdana, Arial, Sans-serif;
+}
+
+#body {
+    border: none;
+    padding: 1em;
+    margin-left: 10px;
+}
+
+#footer {
+    border: none;
+    border-top: 1px solid #BBBB99;
+    padding: 0em 1em;
+    margin-left: 10px;
+    font-style: italic;
+    color: Maroon;
+}
+
+#main {
+/*
+    float: left;
+    width: 80%;
+*/
+}
+
+h1 { font-size: 140%; }
+h2 { font-size: 100%; }
+h3 { font-size: 80%; }
+p { font-size: 80%; }
+li { font-size: 80%; }
+
+.crossheading { font-weight: bold; font-size: 110%; }
+
+table.simple {
+    border-collapse: collapse;
+/*
+    background-color: #909090;
+    border-color: #909090;
+*/
+    width: auto;
+}
+
+div#body td {
+    font-size: small;
+}
+
+td.simple {
+    font-size: 80%;
+    padding: 3px;
+    background-color: White;
+    border: solid 1px Navy;
+    vertical-align: top;
+}
+
+th.vertical {
+  font-size: small;
+  font-weight: normal;
+  text-align: right;
+  padding-right: 1em;
+  color: #666666;
+}
+  
+img.simple {
+}
+
+#publication-title {
+    font-family: verdana, arial, sans-serif;
+    font-weight: bold;
+    font-size: 20px;
+    vertical-align: bottom;
+    padding-left: 25px;
+    padding-bottom: 15px;
+    color: Maroon;
+}
+
+#project-logo {
+    padding: 10px 20px 0px 0px;
+    text-align: right;
+}
+
+.media {
+    text-align: center;
+    padding: 10px;
+}
+
+.caption {
+    padding: 5px;
+    text-align: center;
+    font-style: italic;
+    font-size: 80%;
+}
+
+.abstract {
+    font-weight: bold;
+}
+
+h1 {
+    font-size: 120%;
+    color: Maroon;
+}
+
+h2 {
+    font-size: 100%;
+    color: Maroon;
+    border-bottom: solid 1px #BB9999;
+    margin-top: 30px;
+}
+
+.asset { 
+    display: block;
+    color: #000;
+    margin: 10px 10px 10px 5px;
+    font-size: small;
+}
+
+.asset img {
+    vertical-align: middle;
+}
+
+div.search-box {
+	border: solid 1px #CCCCCC;
+	width: auto;
+	max-width: 100%;
+	font-size: small;
+	margin-bottom: 10px;
+}
+
+div.search-box-title {
+    background-color: #DDDCCF;
+	border-bottom: solid 1px #CCCCCC;
+	color: Black;
+	font-weight: bold;
+	padding: 3px 10px;
+}
+
+div.search-box-body {
+    padding: 10px;
+    background-color: #F5F4E9;
+	color: Black;
+}
+
+table.search-table {
+	color: Black;
+	background-color: White;
+	border-spacing: 0px;
+	border-collapse: collapse;
+}
+
+table.search-table-noborder {
+	border: 0px;
+	border-spacing: 0px;
+}
+
+table.search-table th {
+    background-color: #DDDCCF;
+	border: solid 1px #CCCCCC;
+	color: Black;
+	font-weight: bold;
+	padding: 3px 10px;
+	text-align: left;
+	font-size: small;
+}
+
+table.search-table td {
+    background-color: #F5F4E9;
+	border: solid 1px #CCCCCC;
+	padding: 3px 10px;
+	font-size: small;
+	color: Black;
+}
+
+table.search-table-noborder td {
+	border: 0px;
+	padding: 3px 10px;
+	font-size: small;
+}
+
+table.search-table-noborder-nopadding td {
+	border: 0px;
+	padding: 0px;
+	font-size: small;
+}
+
+table.search-table-noborder-nopadding th {
+	font-size: small;
+}
+
+/* Broken Internal Links in Authoring area */
+a.brokenlink {
+    background-color: yellow;
+    border: 1px dashed #000000;
+    text-decoration: none;
+}
+
+/* Search Results */
+.search-results-form {
+    margin-bottom: 20px; }
+
+ul.search-results {
+    list-style-type: none;
+    margin: 0;
+    padding: 0;
+} 
+
+ul.search-results li {
+    padding: 0.50em 0;
+}
+
+ul.images li {
+    float: left;
+    padding: 0 10px 10px 0;
+    text-align: center;
+}
+
+ul.images img {
+    border: solid 1px blue;
+}
+
+ul.images div.imageTitle {
+}
+
+.search-result-score {
+    font-size: 90%;
+    font-weight: normal;
+}
+
+.search-result-rank {
+    float: left; 
+}
+
+.search-result-title {
+    margin: 0 0 0 30px;
+    padding: 0;
+    font-weight: bold;
+}
+
+.search-result-description {
+    margin-left: 30px;
+    color: #999999;
+}

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/xhtml.css
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/xhtml.css?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/xhtml.css (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/css/xhtml.css Thu Mar 19 13:29:18 2009
@@ -0,0 +1,14 @@
+/* Put your doctype-specific CSS here */
+
+.column1of2 {
+        position: relative;
+        width: 48%;
+        float: left;
+}
+
+.column2of2 {
+        position: relative;
+        float: left;
+        width: 48%;
+        margin-left: 12px;
+}
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/images/bullet.png
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/images/bullet.png?rev=755992&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/images/bullet.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/images/project-logo.png
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/images/project-logo.png?rev=755992&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/resources/images/project-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap Thu Mar 19 13:29:18 2009
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+  
+  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.
+-->
+
+<!-- $Id: sitemap.xmap 450752 2006-09-28 08:09:13Z josias $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  
+  <map:components>
+    <map:generators default="file">
+      <map:generator name="menu" logger="lenya.generators.menu" src="org.apache.lenya.modules.navigation.SiteFragmentGenerator">
+        <map:parameter name="selector" value="org.apache.lenya.modules.navigation.SubtreeSelector"/>
+      </map:generator>
+      <map:generator name="tabs" logger="lenya.generators.tabs" src="org.apache.lenya.modules.navigation.SiteFragmentGenerator">
+        <map:parameter name="selector" value="org.apache.lenya.modules.navigation.ChildrenSelector"/>
+      </map:generator>
+      <map:generator name="breadcrumb" logger="lenya.generators.breadcrumb" src="org.apache.lenya.modules.navigation.SiteFragmentGenerator">
+        <map:parameter name="selector" value="org.apache.lenya.modules.navigation.BreadcrumbSelector"/>
+      </map:generator>
+      <map:generator name="languageSelector" logger="lenya.generators.languageSelector" src="org.apache.lenya.modules.navigation.SiteFragmentGenerator">
+        <map:parameter name="selector" value="org.apache.lenya.modules.navigation.LanguagesSelector"/>
+      </map:generator>
+    </map:generators>
+  </map:components>
+  
+  <map:pipelines>
+    
+    <map:pipeline type="noncaching">
+      
+      <map:match pattern="*/modules/*/**">
+        <map:mount src="fallback://lenya/modules/{2}/sitemap.xmap" uri-prefix="{1}/modules/{2}/"/>
+      </map:match>
+      
+      <map:match pattern="*/defaultstyle/**.css">
+        <map:generate type="text" src="fallback://lenya/modules/defaultstyle/resources/{2}.css"/>
+        <map:transform type="pattern" src="fallback://lenya/chaperon/grammars/link.xlex"/>
+        <map:transform src="fallback://lenya/chaperon/stylesheets/pattern-to-link.xsl"/>
+        <map:transform type="proxy"/>
+        <map:transform src="fallback://lenya/chaperon/stylesheets/a-to-txt.xsl"/>
+        <map:serialize type="text" mime-type="text/css"/>
+      </map:match>
+      
+      <map:match pattern="*/defaultstyle/**.gif">
+        <map:read src="fallback://lenya/modules/defaultstyle/resources/{2}.gif" mime-type="image/gif"/>
+      </map:match>
+      <map:match pattern="*/defaultstyle/**.png">
+        <map:read src="fallback://lenya/modules/defaultstyle/resources/{2}.png" mime-type="image/png"/>
+      </map:match>
+      
+    </map:pipeline>
+    
+    <!-- Pipelines for navigation elements. -->
+    <map:pipeline type="noncaching" internal-only="true">
+      
+      <map:match pattern="menu">
+        <map:generate type="menu">
+          <map:parameter name="pub" value="{page-envelope:publication-id}"/>
+          <map:parameter name="area" value="{page-envelope:area}"/>
+          <map:parameter name="lang" value="{page-envelope:language}"/>
+          <map:parameter name="path" value="{page-envelope:document-path}"/>
+          <map:parameter name="selectorPath" value="/"/>
+        </map:generate>
+        <map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/menu.xsl"/>
+        <map:serialize/>
+      </map:match>
+      
+      <map:match pattern="tabs">
+        <map:generate type="tabs">
+          <map:parameter name="pub" value="{page-envelope:publication-id}"/>
+          <map:parameter name="area" value="{page-envelope:area}"/>
+          <map:parameter name="lang" value="{page-envelope:language}"/>
+          <map:parameter name="path" value="{page-envelope:document-path}"/>
+          <map:parameter name="selectorPath" value="/"/>
+        </map:generate>
+        <map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/tabs.xsl"/>
+        <map:serialize/>
+      </map:match>
+      
+      <map:match pattern="breadcrumb">
+        <map:generate type="breadcrumb">
+          <map:parameter name="pub" value="{page-envelope:publication-id}"/>
+          <map:parameter name="area" value="{page-envelope:area}"/>
+          <map:parameter name="lang" value="{page-envelope:language}"/>
+          <map:parameter name="path" value="{page-envelope:document-path}"/>
+          <map:parameter name="selectorPath" value="{page-envelope:document-path}"/>
+        </map:generate>
+        <map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/breadcrumb.xsl"/>
+        <map:serialize/>
+      </map:match>
+      
+      <map:match pattern="languageSelector">
+        <map:generate type="languageSelector">
+          <map:parameter name="pub" value="{page-envelope:publication-id}"/>
+          <map:parameter name="area" value="{page-envelope:area}"/>
+          <map:parameter name="lang" value="{page-envelope:language}"/>
+          <map:parameter name="path" value="{page-envelope:document-path}"/>
+          <map:parameter name="selectorPath" value="{page-envelope:document-path}"/>
+        </map:generate>
+        <map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/languageSelector.xsl"/>
+        <map:serialize/>
+      </map:match>
+      
+    </map:pipeline>
+    
+    <!-- document content -->
+    <map:pipeline>
+      <!-- {1:pub}/{2:area}/{3:uuid}/{4:language}.content -->
+      <map:match pattern="*/*/*/*.content">
+        <map:generate src="lenya-document:{3},lang={4},pub={1},area={2}?format=xhtml"/>
+        <map:transform src="fallback://lenya/modules/defaultstyle/xslt/extractContent.xsl"/>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+    
+    <map:pipeline type="noncaching">
+      
+      <!-- {1:pub}/{2:area}/{3:uuid}/{4:language}.pageContext -->
+      <map:match pattern="**.pageContext">
+        
+        <map:generate src="fallback://lenya/content/util/empty.xml"/>
+        
+        <map:transform src="fallback://lenya/modules/defaultstyle/xslt/page.xsl">
+          <map:parameter name="pub" value="{page-envelope:publication-id}"/>
+          <map:parameter name="area" value="{page-envelope:area}"/>
+          <map:parameter name="uuid" value="{page-envelope:document-uuid}"/>
+          <map:parameter name="language" value="{page-envelope:language}"/>
+          <map:parameter name="defaultLanguage" value="{page-envelope:default-language}"/>
+          <map:parameter name="path" value="{page-envelope:document-path}"/>
+          <map:parameter name="documentUrl" value="{page-envelope:document-url}"/>
+          <map:parameter name="lastPublishedUser" value="{access-control:user-name:{workflow:lastUser.publish}}"/>
+          <map:parameter name="lastPublishedDate" value="{workflow:lastDate.publish}"/>
+          <map:parameter name="author" value="{properties:pubs.default.author}"/>
+          <map:parameter name="lenyaVersion" value="{properties:lenya.version}"/>
+        </map:transform>
+        
+        <map:transform type="include"/>
+        <!--
+          <map:transform src="fallback://lenya/modules/defaultstyle/xslt/postProcessing.xsl">
+          <map:parameter name="pub" value="{1}"/>
+          <map:parameter name="area" value="{2}"/>
+          <map:parameter name="uuid" value="{3}"/>
+          <map:parameter name="language" value="{4}"/>
+          </map:transform>
+        -->
+        
+        <map:transform src="fallback://lenya/modules/svg/xslt/image2svg.xsl"/>
+        <map:transform type="metaData">
+          <map:parameter name='pubid' value='{page-envelope:publication-id}'/>
+          <map:parameter name='area' value='{page-envelope:area}'/>
+        </map:transform>
+        <map:transform type="i18n">      
+          <map:parameter name="locale" value="{page-envelope:language}"/>
+        </map:transform>
+        <map:transform type="uuid2url"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+    </map:pipeline>
+    
+    <!-- This is the pipeline that ultimately builds the page. -->
+    <map:pipeline type="noncaching">
+      
+      <map:match pattern="**/">
+        <map:redirect-to uri="{proxy:/{page-envelope:publication-id}/{1}/index.html}"/>
+      </map:match>
+      
+      <map:match pattern="*/**.rss">
+        <map:generate src="lenya-document:{page-envelope:document-uuid},lang={page-envelope:document-language}?format=rss"/>
+        <map:serialize type="xml" mime-type="application/rss+xml"/>
+      </map:match>
+      
+      <map:match pattern="*/**.*">
+        
+        <!-- 
+          HEAD requests shouldn't have all the xslt overhead, all the user wants is the HTTP header information.
+          So the actual content generation is bypassed.
+        -->
+        <map:select type="request-method">
+          <map:when test="HEAD">
+            <map:generate src="context://lenya/content/util/empty.xml" />
+            <map:serialize type="xhtml"/>
+          </map:when>
+        </map:select>          
+        
+        <!--
+          For non-html documents:
+          If the requested extension equals the source extension, deliver the document directly.
+        -->
+        <map:act type="language-exists">
+          <map:select type="parameter">
+            <map:parameter name="parameter-selector-test" value="{page-envelope:document-extension}"/>
+            <map:when test="html"/>
+            <map:when test="{../3}">
+              <map:read src="lenya-document:{page-envelope:document-uuid},lang={page-envelope:document-language}{link:rev}"/>
+            </map:when>
+          </map:select>
+        </map:act>
+        
+        <map:generate src="cocoon:/{1}/{2}.{3}.pageContext"/>
+        <map:transform type="include"/>
+        <map:transform type="uuid2url"/>
+        
+        <map:select type="parameter">
+          <map:parameter name="parameter-selector-test" value="{request-param:rendertype}"/>
+          <map:when test="">
+            <map:select type="parameter">
+              <!-- you remember that {1} is the area, right? -->
+              <map:parameter name="parameter-selector-test" value="{1}"/>
+              <map:when test="live">
+                <!-- If the requested language version of the document exists, we set a last-modified header. -->
+                <map:act type="language-exists">
+                  <map:act type="set-header">
+                    <map:parameter name="Last-Modified" value="{date-iso8601-rfc822:{page-envelope:document-lastmodified}}" />
+                  </map:act>
+                </map:act>
+              </map:when>
+              <map:otherwise>
+                <!-- tell the browser not to cache stuff so that the user always sees up-to-date content -->
+                <map:act type="set-header">
+                  <map:parameter name="Cache-Control" value="no-cache" />
+                  <map:parameter name="Pragma" value="no-cache"/>
+                </map:act>
+                <map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/{1}/{2}.xml"/>
+              </map:otherwise>
+            </map:select>
+          </map:when>
+          <map:when test="edit">
+            <map:serialize type="xml"/>
+          </map:when>
+        </map:select>
+        <map:transform src="fallback://lenya/xslt/util/strip_namespaces.xsl"/>
+        <map:transform type="proxy">
+          <map:parameter name="urls" value="relative"/>
+        </map:transform>
+        
+        <map:act type="language-exists">
+          <map:serialize type="xhtml"/>
+        </map:act>
+        <map:serialize type="xhtml" status-code="404"/>
+        
+      </map:match>
+      
+    </map:pipeline>
+    
+  </map:pipelines>
+</map:sitemap>

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/extractContent.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/extractContent.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/extractContent.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/extractContent.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+  xmlns:xhtml="http://www.w3.org/1999/xhtml"
+  >
+  
+  
+  <xsl:template match="xhtml:html">
+    <xsl:apply-templates select="xhtml:body/*"/>
+  </xsl:template>
+  
+  
+  <xsl:template match="@*|node()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/breadcrumb.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/breadcrumb.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/breadcrumb.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/breadcrumb.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: breadcrumb.xsl 42703 2004-03-13 12:57:53Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:site="http://apache.org/lenya/site/1.0"
+  xmlns="http://www.w3.org/1999/xhtml"
+  exclude-result-prefixes="site"
+  >
+  
+  <xsl:template match="site:fragment">
+    <div id="breadcrumb">
+      <xsl:apply-templates select="site:node"/>
+    </div>
+  </xsl:template>
+  
+  
+  <xsl:template match="site:node">
+    <xsl:call-template name="separator"/>
+    <xsl:apply-templates select="site:link"/>
+    <xsl:apply-templates select="site:node"/>
+  </xsl:template>
+  
+  
+  <xsl:template match="site:link">
+    <xsl:choose>
+      <xsl:when test="@current = 'true'">
+        <xsl:value-of select="@label"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <a href="{@href}"><xsl:value-of select="@label"/></a>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+  
+  <xsl:template name="separator">
+    &#x00BB;
+  </xsl:template>
+  
+  
+</xsl:stylesheet> 

Added: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/languageSelector.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/languageSelector.xsl?rev=755992&view=auto
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/languageSelector.xsl (added)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/languageSelector.xsl Thu Mar 19 13:29:18 2009
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: menu.xsl 42703 2004-03-13 12:57:53Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:site="http://apache.org/lenya/site/1.0"
+  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+  exclude-result-prefixes="site"
+  >
+  
+  <xsl:template match="site:fragment">
+    <ul id="languageselector">
+      <xsl:apply-templates select="site:node"/>
+    </ul>
+  </xsl:template>
+  
+  
+  <xsl:template match="site:node">
+    <xsl:apply-templates select="*"/>
+  </xsl:template>
+  
+  
+  <xsl:template match="site:link">
+    <li>
+      <xsl:choose>
+        <xsl:when test="@current = 'true'">
+          <xsl:call-template name="label"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <a href="{@href}"><xsl:call-template name="label"/></a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </li>
+  </xsl:template>
+  
+  
+  <xsl:template name="label">
+    <i18n:text><xsl:value-of select="@xml:lang"/></i18n:text>
+  </xsl:template>
+  
+  
+</xsl:stylesheet>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.