1 | <?xml version="1.0"?>
|
---|
2 | <object name="portal_actions" meta_type="CMF Actions Tool">
|
---|
3 | <action-provider name="portal_membership">
|
---|
4 | <action title="Student Login" action_id="login" category="user"
|
---|
5 | condition_expr="not: member"
|
---|
6 | url_expr="string:${portal_url}/login_student"
|
---|
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="False">
|
---|
138 | <permission>View</permission>
|
---|
139 | </action>
|
---|
140 | <action title="View PUME Results" action_id="display_pume_result"
|
---|
141 | category="student" condition_expr="not:member"
|
---|
142 | url_expr="string:${portal_url}/display_pume_result"
|
---|
143 | visible="True">
|
---|
144 | <permission>View</permission>
|
---|
145 | </action>
|
---|
146 | <action title="Check Admission" action_id="check_admission"
|
---|
147 | category="student" condition_expr="not:member"
|
---|
148 | url_expr="string:${portal_url}/check_admission"
|
---|
149 | visible="True">
|
---|
150 | <permission>View</permission>
|
---|
151 | </action>
|
---|
152 | <action title="Book Hostel" action_id="reserve_accommodation"
|
---|
153 | category="student" condition_expr="member"
|
---|
154 | url_expr="string:${portal_url}/reserve_accommodation"
|
---|
155 | visible="True">
|
---|
156 | <permission>False</permission>
|
---|
157 | </action>
|
---|
158 | <action title="Register Courses" action_id="register_courses"
|
---|
159 | category="student" condition_expr="member"
|
---|
160 | url_expr="string:${portal_url}/register_courses"
|
---|
161 | visible="True">
|
---|
162 | <permission>False</permission>
|
---|
163 | </action>
|
---|
164 | <action title="Home" action_id="students_home" category="student_navigation"
|
---|
165 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
166 | <permission>View</permission>
|
---|
167 | </action>
|
---|
168 | <action title="Prospectus" action_id="prospectus"
|
---|
169 | category="student_navigation" condition_expr="member"
|
---|
170 | url_expr="string:${portal_url}/campus/academics" visible="True">
|
---|
171 | <permission>View</permission>
|
---|
172 | </action>
|
---|
173 | <action title="My Study" action_id="registration"
|
---|
174 | category="student_navigation" condition_expr="member"
|
---|
175 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
176 | <permission>View</permission>
|
---|
177 | </action>
|
---|
178 | </action-provider>
|
---|
179 | <action-provider name="portal_registration">
|
---|
180 | <action title="Join" action_id="join" category="user"
|
---|
181 | condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
|
---|
182 | url_expr="string:${portal_url}/join_form" visible="True">
|
---|
183 | <permission>Add portal member</permission>
|
---|
184 | </action>
|
---|
185 | </action-provider>
|
---|
186 | <action-provider name="portal_themes">
|
---|
187 | <action title="_action_themes_reconfig_" action_id="configThemes"
|
---|
188 | category="global"
|
---|
189 | condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
|
---|
190 | url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
|
---|
191 | visible="True">
|
---|
192 | <permission>View</permission>
|
---|
193 | </action>
|
---|
194 | </action-provider>
|
---|
195 | <action-provider name="portal_types"/>
|
---|
196 | <action-provider name="portal_syndication"/>
|
---|
197 | <action-provider name="portal_workflow"/>
|
---|
198 | <action-provider name="portal_properties">
|
---|
199 | <action title="Reconfigure Portal" action_id="configPortal"
|
---|
200 | category="global" condition_expr=""
|
---|
201 | url_expr="string:${portal_url}/config_form" visible="True">
|
---|
202 | <permission>Manage portal</permission>
|
---|
203 | </action>
|
---|
204 | </action-provider>
|
---|
205 | </object>
|
---|