You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/03/05 15:55:07 UTC

svn commit: r633866 - in /lenya/sandbox/pubs/docu/config: menu.xml publication.xml

Author: andreas
Date: Wed Mar  5 06:54:56 2008
New Revision: 633866

URL: http://svn.apache.org/viewvc?rev=633866&view=rev
Log:
Decouple docu pub from default pub.

Added:
    lenya/sandbox/pubs/docu/config/menu.xml
Modified:
    lenya/sandbox/pubs/docu/config/publication.xml

Added: lenya/sandbox/pubs/docu/config/menu.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/menu.xml?rev=633866&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/menu.xml (added)
+++ lenya/sandbox/pubs/docu/config/menu.xml Wed Mar  5 06:54:56 2008
@@ -0,0 +1,96 @@
+<?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: generic.xsp 155806 2005-03-01 17:55:42Z andreas $ -->
+
+<menu xmlns:i18n="http://apache.org/cocoon/i18n/2.1"    
+  xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
+  xmlns="http://apache.org/cocoon/lenya/menubar/1.0">
+  
+  <menus>
+    <menu i18n:attr="name" name="File">
+      <block areas="authoring site">
+        <item uc:usecase="sitemanagement.createLanguage" href="?"><i18n:text>New Language Version</i18n:text></item>
+        <item uc:usecase="sitemanagement.deleteLanguage"><i18n:text>Remove Language Version</i18n:text></item>
+      </block>
+      <block areas="authoring">
+        <item uc:usecase="sitemanagement.forceCheckIn"><i18n:text>force-checkin</i18n:text></item>
+      </block>
+      <block areas="authoring site admin">
+        <item uc:usecase="admin.changePassword"><i18n:text>Change Password</i18n:text></item>
+        <item uc:usecase="ac.logout"><i18n:text>Logout</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Edit">
+      
+      <block areas="authoring">
+        <item uc:usecase="tab.meta"><i18n:text>Edit Metadata</i18n:text></item>
+        <item uc:usecase="sitemanagement.changeLabel"><i18n:text>Edit Navigation Title</i18n:text></item>
+      </block>
+      
+      <block areas="site">
+        <item uc:usecase="sitemanagement.cut"><i18n:text>Cut</i18n:text></item>
+        <item uc:usecase="sitemanagement.copy"><i18n:text>Copy</i18n:text></item>
+        <item uc:usecase="sitemanagement.paste"><i18n:text>Paste</i18n:text></item>
+      </block>
+      
+      
+      <block areas="site">
+        <item uc:usecase="sitemanagement.changeNodeID"><i18n:text>Rename URL</i18n:text></item>
+        <item uc:usecase="sitemanagement.changeLabel"><i18n:text>Edit Navigation Title</i18n:text></item>
+        <item uc:usecase="sitemanagement.changeVisibility"><i18n:text>Visible in Navigation</i18n:text></item>
+      </block>
+      <block areas="site">
+        <item uc:usecase="sitetree.nudge" href="?direction=up"><i18n:text>Move Up</i18n:text></item>
+        <item uc:usecase="sitetree.nudge" href="?direction=down"><i18n:text>Move Down</i18n:text></item>
+      </block>
+      <block areas="site">
+        <item uc:usecase="sitemanagement.delete"><i18n:text>Delete</i18n:text></item>
+        <item uc:usecase="sitemanagement.archive"><i18n:text>Archive</i18n:text></item>
+        <item uc:usecase="sitemanagement.restore"><i18n:text>Restore</i18n:text></item>
+      </block>
+      
+    </menu>
+    
+    <menu i18n:attr="name" name="Workflow">
+      <block areas="authoring site">
+        <item uc:usecase="workflow.submit"><i18n:text>workflow.submit</i18n:text></item>
+        <item uc:usecase="workflow.reject"><i18n:text>workflow.reject</i18n:text></item>
+        <item uc:usecase="workflow.publish"><i18n:text>workflow.publish</i18n:text></item>
+        <item uc:usecase="workflow.deactivate"><i18n:text>workflow.deactivate</i18n:text></item>
+      </block>
+      <block areas="authoring site">
+        <item uc:usecase="workflow.multiWorkflow"><i18n:text>workflow.multiWorkflow</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Help">
+      <block areas="authoring site admin">
+        <item uc:usecase="admin.aboutLenya"><i18n:text>About Apache Lenya</i18n:text></item>
+        <item href="http://lenya.apache.org"><i18n:text>Apache Lenya Homepage</i18n:text></item>
+        <item href="http://lenya.apache.org/docs/index.html"><i18n:text>Documentation</i18n:text></item>
+        <item href="http://wiki.apache.org/lenya/"><i18n:text>Wiki</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Development">
+    </menu>
+  </menus>
+  
+</menu>

Modified: lenya/sandbox/pubs/docu/config/publication.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/publication.xml?rev=633866&r1=633865&r2=633866&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/config/publication.xml (original)
+++ lenya/sandbox/pubs/docu/config/publication.xml Wed Mar  5 06:54:56 2008
@@ -18,8 +18,20 @@
     <resource-type name="forrestFaq20" workflow="fallback://config/workflow/workflow.xml"/>
     <resource-type name="svnLog" workflow="fallback://config/workflow/workflow.xml"/>
     <resource-type name="properties" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="resource" workflow="fallback://config/workflow/workflow.xml"/>
   </resource-types>
   <modules>
+    <module name="usecase"/>
+    <module name="editors"/>
+    <module name="resource"/>
+    <module name="sitemanagement"/>
+    <module name="sitetree"/>
+    <module name="workflow"/>
+    <module name="notification"/>
+    <module name="svg"/>
+    <module name="administration"/>
+    <module name="acusecases"/>
+    <module name="monitoring"/>
     <module name="forrest"/>
     <module name="propertiesdocument"/>
     <module name="externallinks"/>
@@ -37,5 +49,4 @@
     <proxy ssl="false" url="http://cms.example.com/archive" area="archive"/>
     -->
   </proxies>
-  <template id="default"/>
 </publication>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org