1 | <?xml version="1.0"?>
|
---|
2 | <object name="portal_actions" meta_type="CMF Actions Tool">
|
---|
3 | <action-provider name="portal_membership">
|
---|
4 | <action title="Staff Login" action_id="login_staff" category="student"
|
---|
5 | condition_expr="not: member"
|
---|
6 | url_expr="python:"%s/login_staff?%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="False">
|
---|
32 | <permission>View</permission>
|
---|
33 | </action>
|
---|
34 | <action title="Student Login" action_id="login_student" category="student"
|
---|
35 | condition_expr="not:member"
|
---|
36 | url_expr="python:"%s/login_student?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
|
---|
37 | visible="True">
|
---|
38 | <permission>View</permission>
|
---|
39 | </action>
|
---|
40 | <action title="Log out" action_id="logout_student" category="student"
|
---|
41 | condition_expr="member" url_expr="string:${portal_url}/logout"
|
---|
42 | visible="True"/>
|
---|
43 | </action-provider>
|
---|
44 | <action-provider name="portal_actions">
|
---|
45 | <action title="action_portlets" action_id="portlets" category="folder"
|
---|
46 | condition_expr="member"
|
---|
47 | url_expr="string:${folder_url}/portlet_manage_form" visible="True">
|
---|
48 | <permission>Manage Portlets</permission>
|
---|
49 | </action>
|
---|
50 | <action title="action_accessibility" action_id="accessibility"
|
---|
51 | category="global_header" condition_expr=""
|
---|
52 | url_expr="string:${portal_url}/accessibility" visible="False">
|
---|
53 | <permission>View</permission>
|
---|
54 | </action>
|
---|
55 | <action title="action_print" action_id="print" category="global_header"
|
---|
56 | condition_expr=""
|
---|
57 | url_expr="string:javascript:if%20(window.print)%20window.print();"
|
---|
58 | visible="False">
|
---|
59 | <permission>View</permission>
|
---|
60 | </action>
|
---|
61 | <action title="action_advanced_search" action_id="advanced_search"
|
---|
62 | category="global_header" condition_expr=""
|
---|
63 | url_expr="string:./advanced_search_form" visible="True">
|
---|
64 | <permission>View</permission>
|
---|
65 | </action>
|
---|
66 | <action title="action_contact" action_id="contact" category="global_header"
|
---|
67 | condition_expr=""
|
---|
68 | url_expr="string:mailto:${portal/portal_properties/email_from_address}?subject=Info"
|
---|
69 | visible="False">
|
---|
70 | <permission>View</permission>
|
---|
71 | </action>
|
---|
72 | <action title="action_manage_vocabularies" action_id="manage_vocabularies"
|
---|
73 | category="global" condition_expr=""
|
---|
74 | url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
|
---|
75 | <permission>Modify portal content</permission>
|
---|
76 | </action>
|
---|
77 | <action title="action_add_favorites" action_id="add_favorites"
|
---|
78 | category="user"
|
---|
79 | condition_expr="python: member and portal.portal_membership.getHomeFolder()"
|
---|
80 | url_expr="string:${object/absolute_url}/addtoFavorites" visible="False">
|
---|
81 | <permission>View</permission>
|
---|
82 | </action>
|
---|
83 | <action title="action_view_favorites" action_id="view_favorites"
|
---|
84 | category="user"
|
---|
85 | condition_expr="python: hasattr(portal.portal_membership.getHomeFolder(),"Favorites")"
|
---|
86 | url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites"
|
---|
87 | visible="False">
|
---|
88 | <permission>View</permission>
|
---|
89 | </action>
|
---|
90 | <action title="Directories" action_id="directories" category="global"
|
---|
91 | condition_expr="python:not portal.portal_membership.isAnonymousUser()"
|
---|
92 | url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
|
---|
93 | <permission>Modify portal content</permission>
|
---|
94 | </action>
|
---|
95 | <action title="Home" action_id="home" category="navigation"
|
---|
96 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
97 | <permission>View</permission>
|
---|
98 | </action>
|
---|
99 | <action title="Academics" action_id="view_academics" category="navigation"
|
---|
100 | condition_expr="member" url_expr="string:${portal_url}/campus/academics"
|
---|
101 | visible="True">
|
---|
102 | <permission>View</permission>
|
---|
103 | </action>
|
---|
104 | <action title="Accommodation" action_id="view_accommodation"
|
---|
105 | category="navigation" condition_expr="member"
|
---|
106 | url_expr="string:${portal_url}/campus/accommodation" visible="False">
|
---|
107 | <permission>View</permission>
|
---|
108 | </action>
|
---|
109 | <action title="Members" action_id="view_members" category="navigation"
|
---|
110 | condition_expr="member"
|
---|
111 | url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
|
---|
112 | visible="True">
|
---|
113 | <permission>Modify portal content</permission>
|
---|
114 | </action>
|
---|
115 | <action title="Students" action_id="view_students" category="navigation"
|
---|
116 | condition_expr="member" url_expr="string:${portal_url}/campus/students"
|
---|
117 | visible="True">
|
---|
118 | <permission>Modify portal content</permission>
|
---|
119 | </action>
|
---|
120 | <action title="PINs" action_id="view_pins" category="navigation"
|
---|
121 | condition_expr="member" url_expr="string:${portal_url}/campus/pins"
|
---|
122 | visible="True">
|
---|
123 | <permission>Modify portal content</permission>
|
---|
124 | </action>
|
---|
125 | <action title="Unchecked Items" action_id="unchecked" category="object"
|
---|
126 | condition_expr="member" url_expr="string:./unchecked" visible="True">
|
---|
127 | <permission>Modify portal content</permission>
|
---|
128 | </action>
|
---|
129 | <action title=" " action_id="dummy" category="student_object"
|
---|
130 | condition_expr="" url_expr="" visible="True"/>
|
---|
131 | <action title=" " action_id="dummy2" category="object" condition_expr=""
|
---|
132 | url_expr="" visible="True"/>
|
---|
133 | <action title="Apply for PUME" action_id="apply_admission"
|
---|
134 | category="student" condition_expr="not:member"
|
---|
135 | url_expr="string:${portal_url}/apply_admission"
|
---|
136 | visible="True">
|
---|
137 | <permission>View</permission>
|
---|
138 | </action>
|
---|
139 | <action title="Home" action_id="students_home" category="student_navigation"
|
---|
140 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
141 | <permission>View</permission>
|
---|
142 | </action>
|
---|
143 | <action title="Prospectus" action_id="prospectus"
|
---|
144 | category="student_navigation" condition_expr="member"
|
---|
145 | url_expr="string:${portal_url}/campus/academics" visible="True">
|
---|
146 | <permission>View</permission>
|
---|
147 | </action>
|
---|
148 | <action title="My Registration" action_id="registration"
|
---|
149 | category="student_navigation" condition_expr="member"
|
---|
150 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
151 | <permission>View</permission>
|
---|
152 | </action>
|
---|
153 | </action-provider>
|
---|
154 | <action-provider name="portal_registration">
|
---|
155 | <action title="Join" action_id="join" category="user"
|
---|
156 | condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
|
---|
157 | url_expr="string:${portal_url}/join_form" visible="True">
|
---|
158 | <permission>Add portal member</permission>
|
---|
159 | </action>
|
---|
160 | </action-provider>
|
---|
161 | <action-provider name="portal_themes">
|
---|
162 | <action title="_action_themes_reconfig_" action_id="configThemes"
|
---|
163 | category="global"
|
---|
164 | condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
|
---|
165 | url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
|
---|
166 | visible="True">
|
---|
167 | <permission>View</permission>
|
---|
168 | </action>
|
---|
169 | </action-provider>
|
---|
170 | <action-provider name="portal_types"/>
|
---|
171 | <action-provider name="portal_syndication"/>
|
---|
172 | <action-provider name="portal_workflow"/>
|
---|
173 | <action-provider name="portal_properties">
|
---|
174 | <action title="Reconfigure Portal" action_id="configPortal"
|
---|
175 | category="global" condition_expr=""
|
---|
176 | url_expr="string:${portal_url}/config_form" visible="True">
|
---|
177 | <permission>Manage portal</permission>
|
---|
178 | </action>
|
---|
179 | </action-provider>
|
---|
180 | </object> |
---|