Déplacement pour eggification.
[Plinn.git] / Products / Plinn / profiles / default / types / Photo.xml
diff --git a/Products/Plinn/profiles/default/types/Photo.xml b/Products/Plinn/profiles/default/types/Photo.xml
new file mode 100644 (file)
index 0000000..99bd4bc
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<object name="Photo" meta_type="Factory-based Type Information"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Photo</property>
+ <property name="description">Photo</property>
+ <property name="icon_expr">string:${portal_url}/photo_icon.gif</property>
+ <property name="content_meta_type">Photo</property>
+ <property name="product"></property>
+ <property name="factory">portfolio.photo</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/edit</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types"/>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="photo_view"/>
+ <alias from="info" to="photo_info"/>
+ <alias from="jsupload_snippet" to="photo_gridthumbnail"/>
+ <alias from="view" to="photo_view"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+    icon_expr="" link_target="" url_expr="string:${object_url}/photo_view"
+    visible="True">
+  <permission value="View"/>
+ </action>
+ <action title="Edit" action_id="edit" category="object" condition_expr=""
+    icon_expr="" link_target=""
+    url_expr="string:${object_url}/photo_edit_form" visible="True">
+  <permission value="Manage properties"/>
+ </action>
+ <action title="Share" action_id="localroles" category="object"
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/folder_localrole_form" visible="True">
+  <permission value="Set Local Roles"/>
+ </action>
+ <action title="Printing settings" action_id="printing_settings"
+    category="object" condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/photoprint_templates_edit_form"
+    visible="True">
+  <permission value="Manage print order template"/>
+ </action>
+</object>