Déplacement pour eggification.
[Plinn.git] / Products / Plinn / profiles / photo / types / Plinn_Document.xml
diff --git a/Products/Plinn/profiles/photo/types/Plinn_Document.xml b/Products/Plinn/profiles/photo/types/Plinn_Document.xml
new file mode 100644 (file)
index 0000000..ff2f692
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<object name="Plinn Document" meta_type="Factory-based Type Information"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Plinn Document</property>
+ <property
+    name="description">Plinn Documents contain text and images that can be layout with  WYSIWYG and drag&amp;drop editor.</property>
+ <property name="icon_expr">string:${portal_url}/plinn_doc.gif</property>
+ <property name="content_meta_type">Plinn Document</property>
+ <property name="product"></property>
+ <property name="factory">plinndocument</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/edit</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types"/>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="plinndocument_view"/>
+ <alias from="gethtml" to="source_html"/>
+ <alias from="info" to="content_info"/>
+ <alias from="view" to="plinndocument_view"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+    icon_expr="" link_target=""
+    url_expr="string:${object_url}/plinndocument_view" visible="True">
+  <permission value="View"/>
+ </action>
+ <action title="Edit" action_id="edit" category="object" condition_expr=""
+    icon_expr="" link_target=""
+    url_expr="string:${object_url}/plinndocument_edit_form" visible="True">
+  <permission value="Modify portal content"/>
+ </action>
+ <action title="Share" action_id="localroles" category="object"
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/folder_localrole_form" visible="True">
+  <permission value="Set Local Roles"/>
+ </action>
+ <action title="Status history" action_id="history" category="object"
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/content_status_history" visible="True">
+  <permission value="Request review"/>
+  <permission value="Review portal content"/>
+ </action>
+</object>