1 | <?xml version="1.0"?> |
---|
2 | <object name="CaptchaField" |
---|
3 | meta_type="Factory-based Type Information with dynamic views" |
---|
4 | xmlns:i18n="http://xml.zope.org/namespaces/i18n"> |
---|
5 | <property name="title">Captcha Field</property> |
---|
6 | <property |
---|
7 | name="description">Extension for PloneFormGen. Field that helps from automatic page submit.</property> |
---|
8 | <property name="content_icon">captcha_field.gif</property> |
---|
9 | <property name="content_meta_type">CaptchaField</property> |
---|
10 | <property name="product">qPloneCaptchaField</property> |
---|
11 | <property name="factory">addCaptchaField</property> |
---|
12 | <property name="immediate_view">base_view</property> |
---|
13 | <property name="global_allow">False</property> |
---|
14 | <property name="filter_content_types">True</property> |
---|
15 | <property name="allowed_content_types"/> |
---|
16 | <property name="allow_discussion">False</property> |
---|
17 | <property name="default_view">base_view</property> |
---|
18 | <property name="view_methods"> |
---|
19 | <element value="base_view"/> |
---|
20 | </property> |
---|
21 | <property name="default_view_fallback">False</property> |
---|
22 | <alias from="(Default)" to="(dynamic view)"/> |
---|
23 | <alias from="edit" to="atct_edit"/> |
---|
24 | <alias from="index.html" to="(dynamic view)"/> |
---|
25 | <alias from="properties" to="base_metadata"/> |
---|
26 | <alias from="sharing" to="folder_localrole_form"/> |
---|
27 | <alias from="view" to="(selected layout)"/> |
---|
28 | <action title="View" action_id="view" category="object" condition_expr="" |
---|
29 | url_expr="string:${object_url}" visible="True"> |
---|
30 | <permission value="View"/> |
---|
31 | </action> |
---|
32 | <action title="Edit" action_id="edit" category="object" condition_expr="" |
---|
33 | url_expr="string:${object_url}/edit" visible="True"> |
---|
34 | <permission value="Modify portal content"/> |
---|
35 | </action> |
---|
36 | <action title="Properties" action_id="metadata" category="object" |
---|
37 | condition_expr="" url_expr="string:${object_url}/properties" |
---|
38 | visible="True"> |
---|
39 | <permission value="Modify portal content"/> |
---|
40 | </action> |
---|
41 | <action title="References" action_id="references" category="object" |
---|
42 | condition_expr="object/archetype_tool/has_graphviz" |
---|
43 | url_expr="string:${object_url}/reference_graph" visible="True"> |
---|
44 | <permission value="Modify portal content"/> |
---|
45 | <permission value="Review portal content"/> |
---|
46 | </action> |
---|
47 | <action title="History" action_id="history" category="object" |
---|
48 | condition_expr="" url_expr="string:${object_url}/atct_history" |
---|
49 | visible="False"> |
---|
50 | <permission value="ATContentTypes: View history"/> |
---|
51 | </action> |
---|
52 | <action title="External Edit" action_id="external_edit" category="object" |
---|
53 | condition_expr="object/externalEditorEnabled" |
---|
54 | url_expr="string:${object_url}/external_edit" visible="False"> |
---|
55 | <permission value="Modify portal content"/> |
---|
56 | </action> |
---|
57 | <action title="Sharing" action_id="local_roles" category="object" |
---|
58 | condition_expr="" url_expr="string:${object_url}/sharing" visible="True"> |
---|
59 | <permission value="Manage properties"/> |
---|
60 | </action> |
---|
61 | <action title="State" action_id="content_status_history" |
---|
62 | category="object_tabs" |
---|
63 | condition_expr="python:object and portal.portal_workflow.getTransitionsFor(object, object.getParentNode())" |
---|
64 | url_expr="string:$object_url/content_status_history" visible="False"> |
---|
65 | <permission value="View"/> |
---|
66 | </action> |
---|
67 | </object> |
---|