eggification
[PlinnDocument.git] / Products / PlinnDocument / profiles / default / types / Plinn_Document.xml
diff --git a/Products/PlinnDocument/profiles/default/types/Plinn_Document.xml b/Products/PlinnDocument/profiles/default/types/Plinn_Document.xml
new file mode 100644 (file)
index 0000000..bce5392
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<object name="Plinn Document" meta_type="Factory-based Type Information"
+   i18n:domain="plinn" 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="content_icon">plinn_doc.gif</property>
+  <property name="content_meta_type">Plinn Document</property>
+  <property name="product"></property>
+  <property name="factory">plinndocument</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>
+  <property name="allow_discussion">False</property>
+  <alias from="info" to="content_info"/>
+  <alias from="gethtml" to="source_html"/>
+  <alias from="(Default)" to="plinndocument_view"/>
+  <alias from="view" to="plinndocument_view"/>
+  <action action_id="view" title="View" condition_expr=""
+          url_expr="string:${object_url}/plinndocument_view"
+          category="object" visible="True">
+   <permission value="View"/>
+  </action>
+  <action action_id="edit" title="Edit" condition_expr=""
+          url_expr="string:${object_url}/plinndocument_edit_form"
+          category="object" visible="True">
+   <permission value="Modify portal content"/>
+  </action>
+  <action action_id="localroles" title="Share"
+          condition_expr=""
+          url_expr="string:${object_url}/folder_localrole_form"
+          category="object" visible="True">
+   <permission value="Set Local Roles"/>
+  </action>
+  <action action_id="history" title="Status history"
+          condition_expr=""
+          url_expr="string:${object_url}/content_status_history"
+          category="object" visible="True">
+   <permission value="Request review"/>
+   <permission value="Review portal content"/>
+  </action>
+</object>