Réindexation des memberdata. Refactoring.
[Plinn.git] / profiles / photo / types / File.xml
1 <?xml version="1.0"?>
2 <object name="File" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">File</property>
5 <property name="description">Contain arbitrary downloadable files.</property>
6 <property name="icon_expr">string:${portal_url}/application.png</property>
7 <property name="content_meta_type">Plinn File</property>
8 <property name="product">Plinn</property>
9 <property name="factory">addFile</property>
10 <property name="add_view_expr"></property>
11 <property name="link_target"></property>
12 <property name="immediate_view">object/edit</property>
13 <property name="global_allow">True</property>
14 <property name="filter_content_types">True</property>
15 <property name="allowed_content_types"/>
16 <property name="allow_discussion">False</property>
17 <alias from="(Default)" to="index_html"/>
18 <alias from="info" to="file_info"/>
19 <alias from="view" to="file_view"/>
20 <action title="View" action_id="view" category="object" condition_expr=""
21 icon_expr="" link_target="" url_expr="string:${object_url}/file_view"
22 visible="True">
23 <permission value="View"/>
24 </action>
25 <action title="Web preview" action_id="preview" category="object"
26 condition_expr="" icon_expr="" link_target=""
27 url_expr="string:${object_url}/preview" visible="False">
28 <permission value="View"/>
29 </action>
30 <action title="Download" action_id="download" category="object"
31 condition_expr="" icon_expr="" link_target=""
32 url_expr="string:${object_url}" visible="False">
33 <permission value="View"/>
34 </action>
35 <action title="Edit" action_id="edit" category="object" condition_expr=""
36 icon_expr="" link_target="" url_expr="string:${object_url}/file_edit_form"
37 visible="True">
38 <permission value="Modify portal content"/>
39 </action>
40 <action title="Share" action_id="localroles" category="object"
41 condition_expr="" icon_expr="" link_target=""
42 url_expr="string:${object_url}/folder_localrole_form" visible="True">
43 <permission value="Set Local Roles"/>
44 </action>
45 <action title="Status history" action_id="history" category="object"
46 condition_expr="" icon_expr="" link_target=""
47 url_expr="string:${object_url}/content_status_history" visible="True">
48 <permission value="Request review"/>
49 <permission value="Review portal content"/>
50 </action>
51 </object>