293f8be6906fd0f30a4e7a67fcde0b0f5a2988ef
[Plinn.git] / profiles / photo / types / Event.xml
1 <?xml version="1.0"?>
2 <object name="Event" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Event</property>
5 <property
6 name="description">Events are objects for use in Calendar topical queries on the catalog.</property>
7 <property name="icon_expr">string:${portal_url}/event_icon.gif</property>
8 <property name="content_meta_type">CMF Event</property>
9 <property name="product">CMFCalendar</property>
10 <property name="factory">addEvent</property>
11 <property name="add_view_expr"></property>
12 <property name="link_target"></property>
13 <property name="immediate_view">object/edit</property>
14 <property name="global_allow">True</property>
15 <property name="filter_content_types">True</property>
16 <property name="allowed_content_types"/>
17 <property name="allow_discussion">False</property>
18 <alias from="(Default)" to="event_view"/>
19 <alias from="view" to="event_view"/>
20 <action title="Agenda" action_id="calendar_view" category="object"
21 condition_expr="" icon_expr="" link_target=""
22 url_expr="string:${folder_url}" visible="True">
23 <permission value="View"/>
24 </action>
25 <action title="View" action_id="view" category="object" condition_expr=""
26 icon_expr="" link_target="" url_expr="string:${object_url}/event_view"
27 visible="True">
28 <permission value="View"/>
29 </action>
30 <action title="Edit" action_id="edit" category="object" condition_expr=""
31 icon_expr="" link_target=""
32 url_expr="string:${object_url}/event_edit_form" visible="True">
33 <permission value="Change portal events"/>
34 </action>
35 <action title="Share" action_id="localroles" category="object"
36 condition_expr="" icon_expr="" link_target=""
37 url_expr="string:${object_url}/folder_localrole_form" visible="True">
38 <permission value="Set Local Roles"/>
39 </action>
40 <action title="Status history" action_id="history" category="object"
41 condition_expr="" icon_expr="" link_target=""
42 url_expr="string:${object_url}/content_status_history" visible="True">
43 <permission value="Request review"/>
44 <permission value="Review portal content"/>
45 </action>
46 </object>