Merge des modifications du svn de Plinn r1524:1547.
[Plinn.git] / profiles / photo / types / Event.xml
diff --git a/profiles/photo/types/Event.xml b/profiles/photo/types/Event.xml
new file mode 100644 (file)
index 0000000..293f8be
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<object name="Event" meta_type="Factory-based Type Information"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Event</property>
+ <property
+    name="description">Events are objects for use in Calendar topical queries on the catalog.</property>
+ <property name="icon_expr">string:${portal_url}/event_icon.gif</property>
+ <property name="content_meta_type">CMF Event</property>
+ <property name="product">CMFCalendar</property>
+ <property name="factory">addEvent</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="event_view"/>
+ <alias from="view" to="event_view"/>
+ <action title="Agenda" action_id="calendar_view" category="object"
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${folder_url}" visible="True">
+  <permission value="View"/>
+ </action>
+ <action title="View" action_id="view" category="object" condition_expr=""
+    icon_expr="" link_target="" url_expr="string:${object_url}/event_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}/event_edit_form" visible="True">
+  <permission value="Change portal events"/>
+ </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="Status history" action_id="history" category="object"
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/content_status_history" visible="True">
+  <permission value="Request review"/>
+  <permission value="Review portal content"/>
+ </action>
+</object>