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="string:${portal_url}/login_staff"
|
---|
7 | visible="True">
|
---|
8 | <permission>View</permission>
|
---|
9 | </action>
|
---|
10 | <action title="Staff Login" action_id="login_staff" category="student"
|
---|
11 | condition_expr="not: member"
|
---|
12 | url_expr="python:"%s/login_staff?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
|
---|
13 | visible="True">
|
---|
14 | <permission>View</permission>
|
---|
15 | </action>
|
---|
16 | <action title="Log out" action_id="logout" category="user"
|
---|
17 | condition_expr="member" url_expr="string:${portal_url}/logout"
|
---|
18 | visible="True">
|
---|
19 | <permission>View</permission>
|
---|
20 | </action>
|
---|
21 | <action title="My stuff" action_id="mystuff" category="user"
|
---|
22 | condition_expr="python: member and portal.portal_membership.getHomeFolder()"
|
---|
23 | url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
|
---|
24 | visible="True">
|
---|
25 | <permission>View</permission>
|
---|
26 | </action>
|
---|
27 | <action title="action_my_preferences" action_id="preferences"
|
---|
28 | category="user"
|
---|
29 | condition_expr="python:member and member.has_role("Member")"
|
---|
30 | url_expr="string:${portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}"
|
---|
31 | visible="True">
|
---|
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="Portal Members" action_id="members" category="global"
|
---|
96 | condition_expr="member"
|
---|
97 | url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
|
---|
98 | visible="True">
|
---|
99 | <permission>Modify portal content</permission>
|
---|
100 | </action>
|
---|
101 | <action title="Home" action_id="home" category="navigation"
|
---|
102 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
103 | <permission>View</permission>
|
---|
104 | </action>
|
---|
105 | <action title="Academics" action_id="view_academics" category="navigation"
|
---|
106 | condition_expr="member" url_expr="string:${portal_url}/campus/academics"
|
---|
107 | visible="True">
|
---|
108 | <permission>View</permission>
|
---|
109 | </action>
|
---|
110 | <action title="Hostels" action_id="view_accommodation"
|
---|
111 | category="navigation" condition_expr="member"
|
---|
112 | url_expr="string:${portal_url}/campus/accommodation" visible="True">
|
---|
113 | <permission>View</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="python:member and 'academics' in object_url"
|
---|
127 | url_expr="string:./unchecked" visible="True">
|
---|
128 | <permission>Modify portal content</permission>
|
---|
129 | </action>
|
---|
130 | <action title=" " action_id="dummy" category="student_object"
|
---|
131 | condition_expr="" url_expr="" visible="True"/>
|
---|
132 | <action title=" " action_id="dummy2" category="object" condition_expr=""
|
---|
133 | url_expr="" visible="True"/>
|
---|
134 | <action title="Apply for PUME" action_id="apply_admission"
|
---|
135 | category="student" condition_expr="not:member"
|
---|
136 | url_expr="string:${portal_url}/apply_admission"
|
---|
137 | visible="True">
|
---|
138 | <permission>View</permission>
|
---|
139 | </action>
|
---|
140 | <action title="Request Clearance" action_id="request_clearance"
|
---|
141 | category="student" condition_expr="not:member"
|
---|
142 | url_expr="string:${portal_url}/request_clearance"
|
---|
143 | visible="True">
|
---|
144 | <permission>View</permission>
|
---|
145 | </action>
|
---|
146 | <action title="Book Hostel" action_id="reserve_accommodation"
|
---|
147 | category="student" condition_expr="member"
|
---|
148 | url_expr="string:${portal_url}/reserve_accommodation"
|
---|
149 | visible="True">
|
---|
150 | <permission>View</permission>
|
---|
151 | </action>
|
---|
152 | <action title="Register Courses" action_id="register_courses"
|
---|
153 | category="student" condition_expr="member"
|
---|
154 | url_expr="string:${portal_url}/register_courses"
|
---|
155 | visible="True">
|
---|
156 | <permission>View</permission>
|
---|
157 | </action>
|
---|
158 | <action title="Home" action_id="students_home" category="student_navigation"
|
---|
159 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
160 | <permission>View</permission>
|
---|
161 | </action>
|
---|
162 | <action title="Prospectus" action_id="prospectus"
|
---|
163 | category="student_navigation" condition_expr="member"
|
---|
164 | url_expr="string:${portal_url}/campus/academics" visible="True">
|
---|
165 | <permission>View</permission>
|
---|
166 | </action>
|
---|
167 | <action title="My Study" action_id="registration"
|
---|
168 | category="student_navigation" condition_expr="member"
|
---|
169 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
170 | <permission>View</permission>
|
---|
171 | </action>
|
---|
172 | </action-provider>
|
---|
173 | <action-provider name="portal_registration">
|
---|
174 | <action title="Join" action_id="join" category="user"
|
---|
175 | condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
|
---|
176 | url_expr="string:${portal_url}/join_form" visible="True">
|
---|
177 | <permission>Add portal member</permission>
|
---|
178 | </action>
|
---|
179 | </action-provider>
|
---|
180 | <action-provider name="portal_themes">
|
---|
181 | <action title="_action_themes_reconfig_" action_id="configThemes"
|
---|
182 | category="global"
|
---|
183 | condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
|
---|
184 | url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
|
---|
185 | visible="True">
|
---|
186 | <permission>View</permission>
|
---|
187 | </action>
|
---|
188 | </action-provider>
|
---|
189 | <action-provider name="portal_types"/>
|
---|
190 | <action-provider name="portal_syndication"/>
|
---|
191 | <action-provider name="portal_workflow"/>
|
---|
192 | <action-provider name="portal_properties">
|
---|
193 | <action title="Reconfigure Portal" action_id="configPortal"
|
---|
194 | category="global" condition_expr=""
|
---|
195 | url_expr="string:${portal_url}/config_form" visible="True">
|
---|
196 | <permission>Manage portal</permission>
|
---|
197 | </action>
|
---|
198 | </action-provider>
|
---|
199 | </object>
|
---|