bugfix envoi du formulaire par méthode get.
[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="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="jsupload_snippet" to="photo_gridthumbnail"/>
20 <alias from="view" to="photo_view"/>
21 <action title="View" action_id="view" category="object" condition_expr=""
22 icon_expr="" link_target="" url_expr="string:${object_url}/photo_view"
23 visible="True">
24 <permission value="View"/>
25 </action>
26 <action title="Edit" action_id="edit" category="object" condition_expr=""
27 icon_expr="" link_target=""
28 url_expr="string:${object_url}/photo_edit_form" visible="True">
29 <permission value="Manage properties"/>
30 </action>
31 <action title="Share" action_id="localroles" category="object"
32 condition_expr="" icon_expr="" link_target=""
33 url_expr="string:${object_url}/folder_localrole_form" visible="True">
34 <permission value="Set Local Roles"/>
35 </action>
36 <action title="Printing settings" action_id="printing_settings"
37 category="object" condition_expr="" icon_expr="" link_target=""
38 url_expr="string:${object_url}/photoprint_templates_edit_form"
39 visible="True">
40 <permission value="Manage print order template"/>
41 </action>
42 </object>