From 45e70680f8173b25585859a921ce4c1643894407 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Fri, 26 Jan 2007 12:03:56 +0000
Subject: [PATCH] contribute in exchange in document_module

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12387 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Document%20Module/contribute_content.xml  | 89 +++++++++++++++++++
 bt5/erp5_dms/bt/revision                      |  2 +-
 bt5/erp5_dms/bt/template_action_path_list     |  1 +
 3 files changed, 91 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/contribute_content.xml

diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/contribute_content.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/contribute_content.xml
new file mode 100644
index 0000000000..ee1d6ad849
--- /dev/null
+++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/contribute_content.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_exchange</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>contribute_content</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Add portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Contribute Content</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/ContributionTool_viewContributeFileDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 3b7560b755..2415c06594 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-445
\ No newline at end of file
+448
\ No newline at end of file
diff --git a/bt5/erp5_dms/bt/template_action_path_list b/bt5/erp5_dms/bt/template_action_path_list
index 9ac8502e6d..7c1e093fff 100644
--- a/bt5/erp5_dms/bt/template_action_path_list
+++ b/bt5/erp5_dms/bt/template_action_path_list
@@ -3,6 +3,7 @@ Contribution Tool | contribute_content
 Contribution Tool | latest
 Contribution Tool | view
 Document Module | advanced_search
+Document Module | contribute_content
 Document Module | list_ui
 Document Module | search
 Document Module | sort_on
-- 
2.30.9