dedc32f071adae4454d9500f84513cd0ae006a0d
[Plinn.git] / profiles / photo / types / Document.xml
1 <?xml version="1.0"?>
2 <object name="Document" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Document</property>
5 <property
6 name="description">Contain text that can be formatted using 'Structured Text.' It may also contain HTML, or "plain" text.</property>
7 <property name="icon_expr">string:${portal_url}/text.gif</property>
8 <property name="content_meta_type">Document</property>
9 <property name="product">CMFDefault</property>
10 <property name="factory">addDocument</property>
11 <property name="add_view_expr"></property>
12 <property name="link_target"></property>
13 <property name="immediate_view">object/edit</property>
14 <property name="global_allow">True</property>
15 <property name="filter_content_types">True</property>
16 <property name="allowed_content_types"/>
17 <property name="allow_discussion">False</property>
18 <alias from="(Default)" to="document_view"/>
19 <alias from="gethtml" to="source_html"/>
20 <alias from="info" to="content_info"/>
21 <alias from="view" to="document_view"/>
22 <action title="View" action_id="view" category="object" condition_expr=""
23 icon_expr="" link_target="" url_expr="string:${object_url}/document_view"
24 visible="True">
25 <permission value="View"/>
26 </action>
27 <action title="Edit" action_id="edit" category="object" condition_expr=""
28 icon_expr="" link_target=""
29 url_expr="string:${object_url}/document_edit_form" visible="True">
30 <permission value="Modify portal content"/>
31 </action>
32 <action title="Share" action_id="localroles" category="object"
33 condition_expr="" icon_expr="" link_target=""
34 url_expr="string:${object_url}/folder_localrole_form" visible="True">
35 <permission value="Set Local Roles"/>
36 </action>
37 <action title="History" action_id="changes" category="object"
38 condition_expr="" icon_expr="" link_target=""
39 url_expr="string:${object_url}/changes_history" visible="True">
40 <permission value="View History"/>
41 </action>
42 </object>