Merge des modifications du svn de Plinn r1524:1547.
[Plinn.git] / profiles / photo / types / Photo.xml
1 <?xml version="1.0"?>
2 <object name="Photo" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Photo</property>
5 <property name="description">Photo</property>
6 <property name="icon_expr">string:${portal_url}/photo_icon.gif</property>
7 <property name="content_meta_type">Photo</property>
8 <property name="product"></property>
9 <property name="factory">portfolio.photo</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="photo_view"/>
18 <alias from="info" to="photo_info"/>
19 <alias from="view" to="photo_view"/>
20 <action title="View" action_id="view" category="object" condition_expr=""
21 icon_expr="" link_target="" url_expr="string:${object_url}/photo_view"
22 visible="True">
23 <permission value="View"/>
24 </action>
25 <action title="Edit" action_id="edit" category="object" condition_expr=""
26 icon_expr="" link_target=""
27 url_expr="string:${object_url}/photo_edit_form" visible="True">
28 <permission value="Manage properties"/>
29 </action>
30 <action title="Share" action_id="localroles" category="object"
31 condition_expr="" icon_expr="" link_target=""
32 url_expr="string:${object_url}/folder_localrole_form" visible="True">
33 <permission value="Set Local Roles"/>
34 </action>
35 <action title="Printing settings" action_id="printing_settings"
36 category="object" condition_expr="" icon_expr="" link_target=""
37 url_expr="string:${object_url}/photoprint_templates_edit_form"
38 visible="True">
39 <permission value="Manage print order template"/>
40 </action>
41 </object>