[293] | 1 | <?xml version="1.0"?>
|
---|
| 2 | <object name="portal_actions" meta_type="CMF Actions Tool">
|
---|
| 3 | <action-provider name="portal_membership">
|
---|
[818] | 4 | <action title="Search Members" action_id="member_view" category="user"
|
---|
| 5 | condition_expr="member"
|
---|
[937] | 6 | url_expr="string:${portal_url}/search_members_form" visible="False">
|
---|
[818] | 7 | <permission>View</permission>
|
---|
| 8 | </action>
|
---|
[781] | 9 | <action title="Student Login" action_id="login" category="user"
|
---|
[560] | 10 | condition_expr="not: member"
|
---|
[972] | 11 | url_expr="string:${portal_url}/login_student" visible="False">
|
---|
[560] | 12 | <permission>View</permission>
|
---|
| 13 | </action>
|
---|
[544] | 14 | <action title="Staff Login" action_id="login_staff" category="student"
|
---|
[293] | 15 | condition_expr="not: member"
|
---|
[543] | 16 | url_expr="python:"%s/login_staff?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
|
---|
[972] | 17 | visible="False">
|
---|
[293] | 18 | <permission>View</permission>
|
---|
| 19 | </action>
|
---|
| 20 | <action title="Log out" action_id="logout" category="user"
|
---|
| 21 | condition_expr="member" url_expr="string:${portal_url}/logout"
|
---|
| 22 | visible="True">
|
---|
| 23 | <permission>View</permission>
|
---|
| 24 | </action>
|
---|
| 25 | <action title="My stuff" action_id="mystuff" category="user"
|
---|
| 26 | condition_expr="python: member and portal.portal_membership.getHomeFolder()"
|
---|
| 27 | url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
|
---|
| 28 | visible="True">
|
---|
| 29 | <permission>View</permission>
|
---|
| 30 | </action>
|
---|
| 31 | <action title="action_my_preferences" action_id="preferences"
|
---|
| 32 | category="user"
|
---|
| 33 | condition_expr="python:member and member.has_role("Member")"
|
---|
[953] | 34 | url_expr="string:${portal_url}/member_view?dirname=members&id=${member}"
|
---|
[293] | 35 | visible="True">
|
---|
| 36 | <permission>View</permission>
|
---|
| 37 | </action>
|
---|
[543] | 38 | <action title="Student Login" action_id="login_student" category="student"
|
---|
[508] | 39 | condition_expr="not:member"
|
---|
| 40 | url_expr="python:"%s/login_student?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
|
---|
[972] | 41 | visible="False">
|
---|
[508] | 42 | <permission>View</permission>
|
---|
| 43 | </action>
|
---|
[544] | 44 | <action title="Log out" action_id="logout_student" category="student"
|
---|
[508] | 45 | condition_expr="member" url_expr="string:${portal_url}/logout"
|
---|
| 46 | visible="True"/>
|
---|
[293] | 47 | </action-provider>
|
---|
| 48 | <action-provider name="portal_actions">
|
---|
| 49 | <action title="action_portlets" action_id="portlets" category="folder"
|
---|
| 50 | condition_expr="member"
|
---|
| 51 | url_expr="string:${folder_url}/portlet_manage_form" visible="True">
|
---|
| 52 | <permission>Manage Portlets</permission>
|
---|
| 53 | </action>
|
---|
| 54 | <action title="action_accessibility" action_id="accessibility"
|
---|
| 55 | category="global_header" condition_expr=""
|
---|
[300] | 56 | url_expr="string:${portal_url}/accessibility" visible="False">
|
---|
[293] | 57 | <permission>View</permission>
|
---|
| 58 | </action>
|
---|
| 59 | <action title="action_print" action_id="print" category="global_header"
|
---|
| 60 | condition_expr=""
|
---|
| 61 | url_expr="string:javascript:if%20(window.print)%20window.print();"
|
---|
[300] | 62 | visible="False">
|
---|
[293] | 63 | <permission>View</permission>
|
---|
| 64 | </action>
|
---|
| 65 | <action title="action_advanced_search" action_id="advanced_search"
|
---|
| 66 | category="global_header" condition_expr=""
|
---|
| 67 | url_expr="string:./advanced_search_form" visible="True">
|
---|
| 68 | <permission>View</permission>
|
---|
| 69 | </action>
|
---|
| 70 | <action title="action_contact" action_id="contact" category="global_header"
|
---|
| 71 | condition_expr=""
|
---|
| 72 | url_expr="string:mailto:${portal/portal_properties/email_from_address}?subject=Info"
|
---|
[300] | 73 | visible="False">
|
---|
[293] | 74 | <permission>View</permission>
|
---|
| 75 | </action>
|
---|
| 76 | <action title="action_manage_vocabularies" action_id="manage_vocabularies"
|
---|
| 77 | category="global" condition_expr=""
|
---|
[300] | 78 | url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
|
---|
[293] | 79 | <permission>Modify portal content</permission>
|
---|
| 80 | </action>
|
---|
| 81 | <action title="action_add_favorites" action_id="add_favorites"
|
---|
| 82 | category="user"
|
---|
| 83 | condition_expr="python: member and portal.portal_membership.getHomeFolder()"
|
---|
| 84 | url_expr="string:${object/absolute_url}/addtoFavorites" visible="False">
|
---|
| 85 | <permission>View</permission>
|
---|
| 86 | </action>
|
---|
| 87 | <action title="action_view_favorites" action_id="view_favorites"
|
---|
| 88 | category="user"
|
---|
| 89 | condition_expr="python: hasattr(portal.portal_membership.getHomeFolder(),"Favorites")"
|
---|
| 90 | url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites"
|
---|
| 91 | visible="False">
|
---|
| 92 | <permission>View</permission>
|
---|
| 93 | </action>
|
---|
| 94 | <action title="Directories" action_id="directories" category="global"
|
---|
[953] | 95 | condition_expr="here/isSectionManager"
|
---|
| 96 | url_expr="string:${portal_url}/cpsdirectory_view" visible="True">
|
---|
[354] | 97 | <permission>Modify portal content</permission>
|
---|
[293] | 98 | </action>
|
---|
[621] | 99 | <action title="Portal Members" action_id="members" category="global"
|
---|
| 100 | condition_expr="member"
|
---|
[937] | 101 | url_expr="string:${portal_url}/search_members_form" visible="True">
|
---|
[621] | 102 | <permission>Modify portal content</permission>
|
---|
[624] | 103 | </action>
|
---|
[341] | 104 | <action title="Home" action_id="home" category="navigation"
|
---|
[945] | 105 | condition_expr="member" url_expr="string:${portal_url}/campus" visible="True">
|
---|
[338] | 106 | <permission>View</permission>
|
---|
| 107 | </action>
|
---|
[293] | 108 | <action title="Academics" action_id="view_academics" category="navigation"
|
---|
[508] | 109 | condition_expr="member" url_expr="string:${portal_url}/campus/academics"
|
---|
[293] | 110 | visible="True">
|
---|
| 111 | <permission>View</permission>
|
---|
| 112 | </action>
|
---|
[818] | 113 | <action title="Hostels" action_id="view_accommodation" category="navigation"
|
---|
[941] | 114 | condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
|
---|
[624] | 115 | url_expr="string:${portal_url}/campus/accommodation" visible="True">
|
---|
[293] | 116 | <permission>View</permission>
|
---|
| 117 | </action>
|
---|
[300] | 118 | <action title="Students" action_id="view_students" category="navigation"
|
---|
[937] | 119 | condition_expr="python:portal.campus.students.isStaff()"
|
---|
| 120 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
[874] | 121 | <permission>View</permission>
|
---|
[300] | 122 | </action>
|
---|
[543] | 123 | <action title="PINs" action_id="view_pins" category="navigation"
|
---|
[937] | 124 | condition_expr="python:portal.campus.pins.isSectionOfficer()"
|
---|
| 125 | url_expr="string:${portal_url}/campus/pins" visible="True">
|
---|
| 126 | <permission>View</permission>
|
---|
[560] | 127 | </action>
|
---|
[890] | 128 | <action title="Contact" action_id="contact_admin" category="navigation"
|
---|
[937] | 129 | condition_expr="member"
|
---|
| 130 | url_expr="string:${portal_url}/contact_admin_form" visible="True">
|
---|
[820] | 131 | <permission>View</permission>
|
---|
[824] | 132 | </action>
|
---|
[977] | 133 | <action title="Enquiries" action_id="support_anon" category="student_navigation"
|
---|
| 134 | condition_expr="not:member" url_expr="string:${portal_url}/contact_admin_form"
|
---|
| 135 | visible="True">
|
---|
| 136 | <permission>View</permission>
|
---|
| 137 | </action>
|
---|
[942] | 138 | <action title="Enquiries" action_id="support" category="student_navigation"
|
---|
[977] | 139 | condition_expr="member" url_expr="string:${portal_url}/support_form"
|
---|
[937] | 140 | visible="True">
|
---|
[824] | 141 | <permission>View</permission>
|
---|
[977] | 142 | </action>
|
---|
[501] | 143 | <action title="Unchecked Items" action_id="unchecked" category="object"
|
---|
[656] | 144 | condition_expr="python:member and 'academics' in object_url"
|
---|
[640] | 145 | url_expr="string:./unchecked" visible="True">
|
---|
[321] | 146 | <permission>Modify portal content</permission>
|
---|
| 147 | </action>
|
---|
[503] | 148 | <action title=" " action_id="dummy" category="student_object"
|
---|
| 149 | condition_expr="" url_expr="" visible="True"/>
|
---|
| 150 | <action title=" " action_id="dummy2" category="object" condition_expr=""
|
---|
| 151 | url_expr="" visible="True"/>
|
---|
[781] | 152 | <action title="Apply for PUME" action_id="apply_admission"
|
---|
[508] | 153 | category="student" condition_expr="not:member"
|
---|
[818] | 154 | url_expr="string:${portal_url}/apply_admission" visible="False">
|
---|
[781] | 155 | <permission>View</permission>
|
---|
| 156 | </action>
|
---|
| 157 | <action title="View PUME Results" action_id="display_pume_result"
|
---|
| 158 | category="student" condition_expr="not:member"
|
---|
[818] | 159 | url_expr="string:${portal_url}/display_pume_result" visible="True">
|
---|
[508] | 160 | <permission>View</permission>
|
---|
| 161 | </action>
|
---|
[977] | 162 | <action title="Check Adm. Details" action_id="check_admission"
|
---|
[766] | 163 | category="student" condition_expr="not:member"
|
---|
[975] | 164 | url_expr="string:${portal_url}/check_admission" visible="True">
|
---|
[785] | 165 | <permission>View</permission>
|
---|
[766] | 166 | </action>
|
---|
[849] | 167 | <action title="My Accommodation" action_id="reserve_accommodation"
|
---|
| 168 | category="student_navigation" condition_expr="member"
|
---|
[818] | 169 | url_expr="string:${portal_url}/reserve_accommodation" visible="True"/>
|
---|
[759] | 170 | <action title="Register Courses" action_id="register_courses"
|
---|
| 171 | category="student" condition_expr="member"
|
---|
[818] | 172 | url_expr="string:${portal_url}/register_courses" visible="False"/>
|
---|
[542] | 173 | <action title="Home" action_id="students_home" category="student_navigation"
|
---|
[973] | 174 | condition_expr="" url_expr="string:${portal_url}" visible="True">
|
---|
[508] | 175 | <permission>View</permission>
|
---|
| 176 | </action>
|
---|
| 177 | <action title="Prospectus" action_id="prospectus"
|
---|
| 178 | category="student_navigation" condition_expr="member"
|
---|
| 179 | url_expr="string:${portal_url}/campus/academics" visible="True">
|
---|
| 180 | <permission>View</permission>
|
---|
| 181 | </action>
|
---|
[656] | 182 | <action title="My Study" action_id="registration"
|
---|
[508] | 183 | category="student_navigation" condition_expr="member"
|
---|
| 184 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
| 185 | <permission>View</permission>
|
---|
| 186 | </action>
|
---|
[293] | 187 | </action-provider>
|
---|
| 188 | <action-provider name="portal_registration">
|
---|
| 189 | <action title="Join" action_id="join" category="user"
|
---|
| 190 | condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
|
---|
| 191 | url_expr="string:${portal_url}/join_form" visible="True">
|
---|
| 192 | <permission>Add portal member</permission>
|
---|
| 193 | </action>
|
---|
| 194 | </action-provider>
|
---|
| 195 | <action-provider name="portal_themes">
|
---|
| 196 | <action title="_action_themes_reconfig_" action_id="configThemes"
|
---|
| 197 | category="global"
|
---|
| 198 | condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
|
---|
| 199 | url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
|
---|
| 200 | visible="True">
|
---|
| 201 | <permission>View</permission>
|
---|
| 202 | </action>
|
---|
| 203 | </action-provider>
|
---|
| 204 | <action-provider name="portal_types"/>
|
---|
| 205 | <action-provider name="portal_syndication"/>
|
---|
| 206 | <action-provider name="portal_workflow"/>
|
---|
| 207 | <action-provider name="portal_properties">
|
---|
| 208 | <action title="Reconfigure Portal" action_id="configPortal"
|
---|
| 209 | category="global" condition_expr=""
|
---|
| 210 | url_expr="string:${portal_url}/config_form" visible="True">
|
---|
| 211 | <permission>Manage portal</permission>
|
---|
| 212 | </action>
|
---|
| 213 | </action-provider>
|
---|
[937] | 214 | </object> |
---|