Strip pour éviter que le firstChild soit un nœud text.
[Plinn.git] / profiles / default / types / Link.xml
1 <?xml version="1.0"?>
2 <object name="Link" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Link</property>
5 <property name="description">Annotated URL.</property>
6 <property name="content_icon">link_icon.gif</property>
7 <property name="content_meta_type">Link</property>
8 <property name="product">CMFDefault</property>
9 <property name="factory">addLink</property>
10 <property name="immediate_view">object/edit</property>
11 <property name="global_allow">True</property>
12 <property name="filter_content_types">True</property>
13 <property name="allowed_content_types"/>
14 <property name="allow_discussion">False</property>
15 <alias from="(Default)" to="link_view"/>
16 <alias from="info" to="content_info"/>
17 <alias from="view" to="link_view"/>
18 <action title="View" action_id="view" category="object" condition_expr=""
19 url_expr="string:${object_url}/link_view" visible="True">
20 <permission value="View"/>
21 </action>
22 <action title="Edit" action_id="edit" category="object" condition_expr=""
23 url_expr="string:${object_url}/link_edit_form" visible="True">
24 <permission value="Modify portal content"/>
25 </action>
26 <action title="Share" action_id="localroles" category="object"
27 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
28 visible="True">
29 <permission value="Set Local Roles"/>
30 </action>
31 <action title="Status history" action_id="history" category="object"
32 condition_expr="" url_expr="string:${object_url}/content_status_history"
33 visible="True">
34 <permission value="Request review"/>
35 <permission value="Review portal content"/>
36 </action>
37 </object>