jslint.
[Plinn.git] / profiles / photo / 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="icon_expr">string:${portal_url}/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="add_view_expr"></property>
11 <property name="link_target"></property>
12 <property name="immediate_view">object/edit</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="link_view"/>
18 <alias from="info" to="content_info"/>
19 <alias from="view" to="link_view"/>
20 <action title="View" action_id="view" category="object" condition_expr=""
21 icon_expr="" link_target="" url_expr="string:${object_url}/link_view"
22 visible="True">
23 <permission value="View"/>
24 </action>
25 <action title="Edit" action_id="edit" category="object" condition_expr=""
26 icon_expr="" link_target="" url_expr="string:${object_url}/link_edit_form"
27 visible="True">
28 <permission value="Modify portal content"/>
29 </action>
30 <action title="Share" action_id="localroles" category="object"
31 condition_expr="" icon_expr="" link_target=""
32 url_expr="string:${object_url}/folder_localrole_form" visible="True">
33 <permission value="Set Local Roles"/>
34 </action>
35 <action title="Status history" action_id="history" category="object"
36 condition_expr="" icon_expr="" link_target=""
37 url_expr="string:${object_url}/content_status_history" visible="True">
38 <permission value="Request review"/>
39 <permission value="Review portal content"/>
40 </action>
41 </object>