bugfix de la fonction getObjectTop.
[Plinn.git] / profiles / default / 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="content_icon">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="immediate_view">object/edit</property>
12 <property name="global_allow">True</property>
13 <property name="filter_content_types">True</property>
14 <property name="allowed_content_types"/>
15 <property name="allow_discussion">True</property>
16 <alias from="(Default)" to="document_view"/>
17 <alias from="gethtml" to="source_html"/>
18 <alias from="info" to="content_info"/>
19 <alias from="view" to="document_view"/>
20 <action title="View" action_id="view" category="object" condition_expr=""
21 url_expr="string:${object_url}/document_view" visible="True">
22 <permission value="View"/>
23 </action>
24 <action title="Edit" action_id="edit" category="object" condition_expr=""
25 url_expr="string:${object_url}/document_edit_form" visible="True">
26 <permission value="Modify portal content"/>
27 </action>
28 <action title="Share" action_id="localroles" category="object"
29 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
30 visible="True">
31 <permission value="Set Local Roles"/>
32 </action>
33 <action title="History" action_id="changes" category="object"
34 condition_expr="" url_expr="string:${object_url}/changes_history"
35 visible="True">
36 <permission value="View History"/>
37 </action>
38 <action title="Status history" action_id="history" category="workflow"
39 condition_expr="" url_expr="string:${object_url}/content_status_history"
40 visible="True">
41 <permission value="Request review"/>
42 </action>
43 </object>