1 | <?xml version="1.0"?>
|
---|
2 | <object name="portal_actions" meta_type="CMF Actions Tool">
|
---|
3 | <action-provider name="portal_membership">
|
---|
4 | <action title="Login" action_id="login" category="user"
|
---|
5 | condition_expr="not: member"
|
---|
6 | url_expr="python:"%s/login_form?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
|
---|
7 | visible="True">
|
---|
8 | <permission>View</permission>
|
---|
9 | </action>
|
---|
10 | <action title="Log out" action_id="logout" category="user"
|
---|
11 | condition_expr="member" url_expr="string:${portal_url}/logout"
|
---|
12 | visible="True">
|
---|
13 | <permission>View</permission>
|
---|
14 | </action>
|
---|
15 | <action title="My stuff" action_id="mystuff" category="user"
|
---|
16 | condition_expr="python: member and portal.portal_membership.getHomeFolder()"
|
---|
17 | url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
|
---|
18 | visible="True">
|
---|
19 | <permission>View</permission>
|
---|
20 | </action>
|
---|
21 | <action title="action_my_preferences" action_id="preferences"
|
---|
22 | category="user"
|
---|
23 | condition_expr="python:member and member.has_role("Member")"
|
---|
24 | url_expr="string:${portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}"
|
---|
25 | visible="True">
|
---|
26 | <permission>View</permission>
|
---|
27 | </action>
|
---|
28 | <action title="Search Members" action_id="member_view" category="user"
|
---|
29 | condition_expr="member"
|
---|
30 | url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
|
---|
31 | visible="True">
|
---|
32 | <permission>View</permission>
|
---|
33 | </action>
|
---|
34 | </action-provider>
|
---|
35 | <action-provider name="portal_actions">
|
---|
36 | <action title="action_portlets" action_id="portlets" category="folder"
|
---|
37 | condition_expr="member"
|
---|
38 | url_expr="string:${folder_url}/portlet_manage_form" visible="True">
|
---|
39 | <permission>Manage Portlets</permission>
|
---|
40 | </action>
|
---|
41 | <action title="action_accessibility" action_id="accessibility"
|
---|
42 | category="global_header" condition_expr=""
|
---|
43 | url_expr="string:${portal_url}/accessibility" visible="True">
|
---|
44 | <permission>View</permission>
|
---|
45 | </action>
|
---|
46 | <action title="action_print" action_id="print" category="global_header"
|
---|
47 | condition_expr=""
|
---|
48 | url_expr="string:javascript:if%20(window.print)%20window.print();"
|
---|
49 | visible="True">
|
---|
50 | <permission>View</permission>
|
---|
51 | </action>
|
---|
52 | <action title="action_advanced_search" action_id="advanced_search"
|
---|
53 | category="global_header" condition_expr=""
|
---|
54 | url_expr="string:./advanced_search_form" visible="True">
|
---|
55 | <permission>View</permission>
|
---|
56 | </action>
|
---|
57 | <action title="action_contact" action_id="contact" category="global_header"
|
---|
58 | condition_expr=""
|
---|
59 | url_expr="string:mailto:${portal/portal_properties/email_from_address}?subject=Info"
|
---|
60 | visible="True">
|
---|
61 | <permission>View</permission>
|
---|
62 | </action>
|
---|
63 | <action title="action_manage_vocabularies" action_id="manage_vocabularies"
|
---|
64 | category="global" condition_expr=""
|
---|
65 | url_expr="string:${portal_url}/vocabularies_manage_form" visible="True">
|
---|
66 | <permission>Modify portal content</permission>
|
---|
67 | </action>
|
---|
68 | <action title="action_add_favorites" action_id="add_favorites"
|
---|
69 | category="user"
|
---|
70 | condition_expr="python: member and portal.portal_membership.getHomeFolder()"
|
---|
71 | url_expr="string:${object/absolute_url}/addtoFavorites" visible="False">
|
---|
72 | <permission>View</permission>
|
---|
73 | </action>
|
---|
74 | <action title="action_view_favorites" action_id="view_favorites"
|
---|
75 | category="user"
|
---|
76 | condition_expr="python: hasattr(portal.portal_membership.getHomeFolder(),"Favorites")"
|
---|
77 | url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites"
|
---|
78 | visible="False">
|
---|
79 | <permission>View</permission>
|
---|
80 | </action>
|
---|
81 | <action title="Directories" action_id="directories" category="global"
|
---|
82 | condition_expr="python:not portal.portal_membership.isAnonymousUser()"
|
---|
83 | url_expr="string:${portal_url}/cpsdirectory_view" visible="True">
|
---|
84 | <permission>View</permission>
|
---|
85 | </action>
|
---|
86 | <action title="Academics" action_id="view_academics" category="navigation"
|
---|
87 | condition_expr="" url_expr="string:${portal_url}/campus/academics"
|
---|
88 | visible="True">
|
---|
89 | <permission>View</permission>
|
---|
90 | </action>
|
---|
91 | <action title="Accommodation" action_id="view_accommodation"
|
---|
92 | category="navigation" condition_expr=""
|
---|
93 | url_expr="string:${portal_url}/campus/accommodation" visible="True">
|
---|
94 | <permission>View</permission>
|
---|
95 | </action>
|
---|
96 | </action-provider>
|
---|
97 | <action-provider name="portal_registration">
|
---|
98 | <action title="Join" action_id="join" category="user"
|
---|
99 | condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
|
---|
100 | url_expr="string:${portal_url}/join_form" visible="True">
|
---|
101 | <permission>Add portal member</permission>
|
---|
102 | </action>
|
---|
103 | </action-provider>
|
---|
104 | <action-provider name="portal_themes">
|
---|
105 | <action title="_action_themes_reconfig_" action_id="configThemes"
|
---|
106 | category="global"
|
---|
107 | condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
|
---|
108 | url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
|
---|
109 | visible="True">
|
---|
110 | <permission>View</permission>
|
---|
111 | </action>
|
---|
112 | </action-provider>
|
---|
113 | <action-provider name="portal_types"/>
|
---|
114 | <action-provider name="portal_syndication"/>
|
---|
115 | <action-provider name="portal_workflow"/>
|
---|
116 | <action-provider name="portal_properties">
|
---|
117 | <action title="Reconfigure Portal" action_id="configPortal"
|
---|
118 | category="global" condition_expr=""
|
---|
119 | url_expr="string:${portal_url}/config_form" visible="True">
|
---|
120 | <permission>Manage portal</permission>
|
---|
121 | </action>
|
---|
122 | </action-provider>
|
---|
123 | </object>
|
---|