2 <object name=
"Photo" meta_type=
"Factory-based Type Information"
3 xmlns:
i18n=
"http://xml.zope.org/namespaces/i18n">
4 <property name=
"title">Photo
</property>
5 <property name=
"description">Photo
</property>
6 <property name=
"content_icon">photo_icon.gif
</property>
7 <property name=
"content_meta_type">Photo
</property>
8 <property name=
"product">Portfolio
</property>
9 <property name=
"factory">addPhoto
</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">True
</property>
15 <alias from=
"(Default)" to=
"photo_view"/>
16 <alias from=
"info" to=
"photo_info"/>
17 <alias from=
"view" to=
"photo_view"/>
18 <action title=
"View" action_id=
"view" category=
"object" condition_expr=
""
19 url_expr=
"string:${object_url}/photo_view" visible=
"True">
20 <permission value=
"View"/>
22 <action title=
"Edit" action_id=
"edit" category=
"object" condition_expr=
""
23 url_expr=
"string:${object_url}/photo_edit_form" visible=
"True">
24 <permission value=
"Manage properties"/>
26 <action title=
"Share" action_id=
"localroles" category=
"object"
27 condition_expr=
"" url_expr=
"string:${object_url}/folder_localrole_form"
29 <permission value=
"Set Local Roles"/>