From 1a5c55db741b6d4c237d22a48fbe996b59a757e7 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 19 Feb 2007 13:10:17 +0000
Subject: [PATCH] Update to last XML format.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12885 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ModuleTemplateItem/publication_module.xml | 29 +++++++------------
 .../portal_types/Publication%20Decision.xml   |  2 +-
 .../portal_types/Publication.xml              |  2 +-
 .../PublicationDecision_view.xml              | 10 +++----
 .../Publication_viewDecisionContent.xml       |  8 ++---
 .../Publication_viewFileContent.xml           |  8 ++---
 .../scripts/DecisionWorkflow_decide.xml       |  4 ++-
 .../DecisionWorkflow_forwardDecision.xml      |  4 ++-
 bt5/erp5_publication/bt/provision_list        |  0
 bt5/erp5_publication/bt/revision              |  1 +
 bt5/erp5_publication/bt/short_title           |  1 +
 .../bt/template_preference_list               |  0
 12 files changed, 33 insertions(+), 36 deletions(-)
 create mode 100644 bt5/erp5_publication/bt/provision_list
 create mode 100644 bt5/erp5_publication/bt/short_title
 create mode 100644 bt5/erp5_publication/bt/template_preference_list

diff --git a/bt5/erp5_publication/ModuleTemplateItem/publication_module.xml b/bt5/erp5_publication/ModuleTemplateItem/publication_module.xml
index f6105f2a11..ebf8bb36f1 100644
--- a/bt5/erp5_publication/ModuleTemplateItem/publication_module.xml
+++ b/bt5/erp5_publication/ModuleTemplateItem/publication_module.xml
@@ -19,9 +19,6 @@
   <permission type='list'>
    <name>Access session data</name>
   </permission>
-  <permission type='list'>
-   <name>AccessContentsInformation</name>
-  </permission>
   <permission type='list'>
    <name>Add Accelerated HTTP Cache Managers</name>
   </permission>
@@ -178,9 +175,6 @@
   <permission type='list'>
    <name>Add Plugin Registrys</name>
   </permission>
-  <permission type='list'>
-   <name>Add Portal ZSyncer Tools</name>
-  </permission>
   <permission type='list'>
    <name>Add Python Scripts</name>
   </permission>
@@ -221,7 +215,7 @@
    <name>Add Z MySQL Database Connections</name>
   </permission>
   <permission type='list'>
-   <name>Add Z MySQL Database Deferred Connections</name>
+   <name>Add Z MySQL Deferred Database Connections</name>
   </permission>
   <permission type='list'>
    <name>Add ZCatalogs</name>
@@ -235,9 +229,6 @@
   <permission type='list'>
    <name>Add ZODB Mount Points</name>
   </permission>
-  <permission type='list'>
-   <name>Add ZSyncers</name>
-  </permission>
   <permission type='list'>
    <name>Add Zope Tutorials</name>
   </permission>
@@ -361,6 +352,9 @@
   <permission type='list'>
    <name>Edit ReStructuredText</name>
   </permission>
+  <permission type='list'>
+   <name>Edit target</name>
+  </permission>
   <permission type='list'>
    <name>FTP access</name>
   </permission>
@@ -394,6 +388,9 @@
   <permission type='list'>
    <name>Manage Groups</name>
   </permission>
+  <permission type='list'>
+   <name>Manage Selenium test cases</name>
+  </permission>
   <permission type='list'>
    <name>Manage Transient Object Container</name>
   </permission>
@@ -412,6 +409,9 @@
   <permission type='list'>
    <name>Manage ZCatalogIndex Entries</name>
   </permission>
+  <permission type='list'>
+   <name>Manage extensions</name>
+  </permission>
   <permission type='list'>
    <name>Manage languages</name>
   </permission>
@@ -511,15 +511,6 @@
   <permission type='list'>
    <name>WebDAV access</name>
   </permission>
-  <permission type='list'>
-   <name>ZSyncer: Use ZSyncer</name>
-  </permission>
-  <permission type='list'>
-   <name>ZopeProfiler: manage</name>
-  </permission>
-  <permission type='list'>
-   <name>ZopeProfiler: view</name>
-  </permission>
  </permission_list>
  <portal_type>Publication Module</portal_type>
  <title>Publications</title>
diff --git a/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication%20Decision.xml b/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication%20Decision.xml
index ab513fda97..c529621c3b 100644
--- a/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication%20Decision.xml
+++ b/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication%20Decision.xml
@@ -73,7 +73,7 @@
 \n
         Document inherits from XMLObject and can\n
         be synchronized accross multiple sites.\n
-    </string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
diff --git a/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication.xml b/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication.xml
index adb8dba6f9..f1c9bd93af 100644
--- a/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication.xml
+++ b/bt5/erp5_publication/PortalTypeTemplateItem/portal_types/Publication.xml
@@ -73,7 +73,7 @@
 \n
         Document inherits from XMLObject and can\n
         be synchronized accross multiple sites.\n
-    </string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
diff --git a/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/PublicationDecision_view.xml b/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/PublicationDecision_view.xml
index 979bab42f6..337275d523 100644
--- a/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/PublicationDecision_view.xml
+++ b/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/PublicationDecision_view.xml
@@ -74,7 +74,7 @@
             <value>
               <dictionary>
                 <item>
-                    <key>                 <string>bottom</string> </key>
+                    <key> <string>bottom</string> </key>
                     <value>
                       <list>
                         <string>listbox</string>
@@ -82,19 +82,19 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>center</string> </key>
+                    <key> <string>center</string> </key>
                     <value>
                       <list/>
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>hidden</string> </key>
+                    <key> <string>hidden</string> </key>
                     <value>
                       <list/>
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>left</string> </key>
+                    <key> <string>left</string> </key>
                     <value>
                       <list>
                         <string>my_title</string>
@@ -104,7 +104,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>right</string> </key>
+                    <key> <string>right</string> </key>
                     <value>
                       <list/>
                     </value>
diff --git a/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewDecisionContent.xml b/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewDecisionContent.xml
index 620b072e9a..ddc61097f0 100644
--- a/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewDecisionContent.xml
+++ b/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewDecisionContent.xml
@@ -79,7 +79,7 @@
             <value>
               <dictionary>
                 <item>
-                    <key>                 <string>bottom</string> </key>
+                    <key> <string>bottom</string> </key>
                     <value>
                       <list>
                         <string>listbox</string>
@@ -87,7 +87,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>center</string> </key>
+                    <key> <string>center</string> </key>
                     <value>
                       <list>
                         <string>my_comment</string>
@@ -95,7 +95,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>left</string> </key>
+                    <key> <string>left</string> </key>
                     <value>
                       <list>
                         <string>my_title</string>
@@ -103,7 +103,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>right</string> </key>
+                    <key> <string>right</string> </key>
                     <value>
                       <list/>
                     </value>
diff --git a/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewFileContent.xml b/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewFileContent.xml
index 2cae25e38d..99f3189d57 100644
--- a/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewFileContent.xml
+++ b/bt5/erp5_publication/SkinTemplateItem/portal_skins/erp5_publication/Publication_viewFileContent.xml
@@ -79,7 +79,7 @@
             <value>
               <dictionary>
                 <item>
-                    <key>                 <string>bottom</string> </key>
+                    <key> <string>bottom</string> </key>
                     <value>
                       <list>
                         <string>listbox</string>
@@ -87,7 +87,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>center</string> </key>
+                    <key> <string>center</string> </key>
                     <value>
                       <list>
                         <string>my_description</string>
@@ -95,7 +95,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>left</string> </key>
+                    <key> <string>left</string> </key>
                     <value>
                       <list>
                         <string>my_title</string>
@@ -103,7 +103,7 @@
                     </value>
                 </item>
                 <item>
-                    <key>                 <string>right</string> </key>
+                    <key> <string>right</string> </key>
                     <value>
                       <list/>
                     </value>
diff --git a/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_decide.xml b/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_decide.xml
index 7602d9d0f9..5e40cc1dd5 100644
--- a/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_decide.xml
+++ b/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_decide.xml
@@ -87,7 +87,9 @@ if parent_decision.getValidationState() == \'forwarded\':\n
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/nexedi/portal_workflow/decision_workflow/scripts/DecisionWorkflow_decide</string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>_params</string> </key>
diff --git a/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_forwardDecision.xml b/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_forwardDecision.xml
index 9c858466d9..7ecc9c6fc1 100644
--- a/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_forwardDecision.xml
+++ b/bt5/erp5_publication/WorkflowTemplateItem/portal_workflow/decision_workflow/scripts/DecisionWorkflow_forwardDecision.xml
@@ -82,7 +82,9 @@ new_decision = decision.newContent(portal_type=\'Publication Decision\')\n
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/nexedi/portal_workflow/decision_workflow/scripts/DecisionWorkflow_forwardDecision</string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>_params</string> </key>
diff --git a/bt5/erp5_publication/bt/provision_list b/bt5/erp5_publication/bt/provision_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_publication/bt/revision b/bt5/erp5_publication/bt/revision
index e69de29bb2..56a6051ca2 100644
--- a/bt5/erp5_publication/bt/revision
+++ b/bt5/erp5_publication/bt/revision
@@ -0,0 +1 @@
+1
\ No newline at end of file
diff --git a/bt5/erp5_publication/bt/short_title b/bt5/erp5_publication/bt/short_title
new file mode 100644
index 0000000000..4af18322e3
--- /dev/null
+++ b/bt5/erp5_publication/bt/short_title
@@ -0,0 +1 @@
+None
\ No newline at end of file
diff --git a/bt5/erp5_publication/bt/template_preference_list b/bt5/erp5_publication/bt/template_preference_list
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9