57b30078d80527bd734c77a144c1a15484f94948
[Plinn.git] / profiles / photo / types / Discussion_Item.xml
1 <?xml version="1.0"?>
2 <object name="Discussion Item" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Discussion Item</property>
5 <property
6 name="description">Discussion Items are documents which reply to other content.
7 They should *not* be addable through the standard 'folder_factories' interface.</property>
8 <property name="icon_expr">string:${portal_url}/discussionitem_icon.gif</property>
9 <property name="content_meta_type">Discussion Item</property>
10 <property name="product"></property>
11 <property name="factory"></property>
12 <property name="add_view_expr"></property>
13 <property name="link_target"></property>
14 <property name="immediate_view"></property>
15 <property name="global_allow">True</property>
16 <property name="filter_content_types">True</property>
17 <property name="allowed_content_types"/>
18 <property name="allow_discussion">False</property>
19 <alias from="(Default)" to="discussionitem_view"/>
20 <alias from="view" to="discussionitem_view"/>
21 <action title="View" action_id="view" category="object" condition_expr=""
22 icon_expr="" link_target=""
23 url_expr="string:${object_url}/discussionitem_view" visible="False">
24 <permission value="View"/>
25 </action>
26 <action title="Reply..." action_id="reply" category="discussion"
27 condition_expr="" icon_expr="" link_target=""
28 url_expr="string:${object_url}/discussion_reply_form" visible="True">
29 <permission value="Reply to item"/>
30 </action>
31 <action title="Delete" action_id="del" category="discussion"
32 condition_expr="" icon_expr="" link_target=""
33 url_expr="string:${object_url}/discussionItemDelete" visible="True">
34 <permission value="Manage portal"/>
35 </action>
36 </object>