a15bd46a30af03ea9f587720b88ca1f26724d357
[Plinn.git] / profiles / default / 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="content_icon">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="immediate_view"></property>
13 <property name="global_allow">True</property>
14 <property name="filter_content_types">True</property>
15 <property name="allowed_content_types"/>
16 <property name="allow_discussion">False</property>
17 <alias from="(Default)" to="discussionitem_view"/>
18 <alias from="view" to="discussionitem_view"/>
19 <action title="View" action_id="view" category="object" condition_expr=""
20 url_expr="string:${object_url}/discussionitem_view" visible="False">
21 <permission value="View"/>
22 </action>
23 <action title="Reply..." action_id="reply" category="discussion"
24 condition_expr="" url_expr="string:${object_url}/discussion_reply_form"
25 visible="True">
26 <permission value="Reply to item"/>
27 </action>
28 <action title="Delete" action_id="del" category="discussion"
29 condition_expr="" url_expr="string:${object_url}/discussionItemDelete"
30 visible="True">
31 <permission value="Manage portal"/>
32 </action>
33 </object>