bce539281d389d088967d0724adbcc15f3b3e0e9
[PlinnDocument.git] / profiles / default / types / Plinn_Document.xml
1 <?xml version="1.0"?>
2 <object name="Plinn Document" meta_type="Factory-based Type Information"
3 i18n:domain="plinn" xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Plinn Document</property>
5 <property name="description">Plinn Documents contain text and images that can be layout with WYSIWYG and drag&amp;drop editor.</property>
6 <property name="content_icon">plinn_doc.gif</property>
7 <property name="content_meta_type">Plinn Document</property>
8 <property name="product"></property>
9 <property name="factory">plinndocument</property>
10 <property name="immediate_view">object/edit</property>
11 <property name="global_allow">True</property>
12 <property name="filter_content_types">True</property>
13 <property name="allowed_content_types"></property>
14 <property name="allow_discussion">False</property>
15 <alias from="info" to="content_info"/>
16 <alias from="gethtml" to="source_html"/>
17 <alias from="(Default)" to="plinndocument_view"/>
18 <alias from="view" to="plinndocument_view"/>
19 <action action_id="view" title="View" condition_expr=""
20 url_expr="string:${object_url}/plinndocument_view"
21 category="object" visible="True">
22 <permission value="View"/>
23 </action>
24 <action action_id="edit" title="Edit" condition_expr=""
25 url_expr="string:${object_url}/plinndocument_edit_form"
26 category="object" visible="True">
27 <permission value="Modify portal content"/>
28 </action>
29 <action action_id="localroles" title="Share"
30 condition_expr=""
31 url_expr="string:${object_url}/folder_localrole_form"
32 category="object" visible="True">
33 <permission value="Set Local Roles"/>
34 </action>
35 <action action_id="history" title="Status history"
36 condition_expr=""
37 url_expr="string:${object_url}/content_status_history"
38 category="object" visible="True">
39 <permission value="Request review"/>
40 <permission value="Review portal content"/>
41 </action>
42 </object>