Merge des modifications du svn de Plinn r1524:1547.
[Plinn.git] / profiles / photo / types / Topic.xml
1 <?xml version="1.0"?>
2 <object name="Topic" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title"></property>
5 <property
6 name="description">Topics are canned queries for organizing content with up to date queries into the catalog.</property>
7 <property name="icon_expr">string:${portal_url}/topic_icon.gif</property>
8 <property name="content_meta_type">Plinn Topic</property>
9 <property name="product"></property>
10 <property name="factory">plinn.topic</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 <element value="Topic"/>
18 </property>
19 <property name="allow_discussion">False</property>
20 <alias from="(Default)" to="topic_view"/>
21 <alias from="view" to="topic_view"/>
22 <action title="View" action_id="view" category="object" condition_expr=""
23 icon_expr="" link_target="" url_expr="string:${object_url}/topic_view"
24 visible="True">
25 <permission value="View"/>
26 </action>
27 <action title="Edit" action_id="edit" category="object" condition_expr=""
28 icon_expr="" link_target=""
29 url_expr="string:${object_url}/topic_edit_form" visible="True">
30 <permission value="Change portal topics"/>
31 </action>
32 <action title="Subtopics" action_id="folderContents" category="object"
33 condition_expr="" icon_expr="" link_target=""
34 url_expr="string:${object_url}/folder_contents" visible="True">
35 <permission value="View"/>
36 </action>
37 <action title="New..." action_id="new" category="object" condition_expr=""
38 icon_expr="" link_target=""
39 url_expr="string:${object_url}/folder_factories" visible="False">
40 <permission value="Add portal topics"/>
41 </action>
42 <action title="Rename items" action_id="rename_items" category="object"
43 condition_expr="" icon_expr="" link_target=""
44 url_expr="string:${object_url}/folder_rename_form" visible="False">
45 <permission value="Add portal topics"/>
46 </action>
47 <action title="Status history" action_id="history" category="object"
48 condition_expr="" icon_expr="" link_target=""
49 url_expr="string:${object_url}/content_status_history" visible="True">
50 <permission value="Request review"/>
51 <permission value="Review portal content"/>
52 </action>
53 </object>