Gestion affichage lors de l'écrasement.
[Plinn.git] / profiles / default / 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="content_icon">photo_icon.gif</property>
7 <property name="content_meta_type">Photo</property>
8 <property name="product">Portfolio</property>
9 <property name="factory">addPhoto</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"/>
14 <property name="allow_discussion">True</property>
15 <alias from="(Default)" to="photo_view"/>
16 <alias from="info" to="photo_info"/>
17 <alias from="view" to="photo_view"/>
18 <action title="View" action_id="view" category="object" condition_expr=""
19 url_expr="string:${object_url}/photo_view" visible="True">
20 <permission value="View"/>
21 </action>
22 <action title="Edit" action_id="edit" category="object" condition_expr=""
23 url_expr="string:${object_url}/photo_edit_form" visible="True">
24 <permission value="Manage properties"/>
25 </action>
26 <action title="Share" action_id="localroles" category="object"
27 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
28 visible="True">
29 <permission value="Set Local Roles"/>
30 </action>
31 </object>