[293] | 1 | <?xml version="1.0"?>
|
---|
| 2 | <object name="portal_actions" meta_type="CMF Actions Tool">
|
---|
| 3 | <action-provider name="portal_membership">
|
---|
[560] | 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>
|
---|
[544] | 10 | <action title="Staff Login" action_id="login_staff" category="student"
|
---|
[293] | 11 | condition_expr="not: member"
|
---|
[543] | 12 | url_expr="python:"%s/login_staff?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
|
---|
[293] | 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>
|
---|
[543] | 34 | <action title="Student Login" action_id="login_student" category="student"
|
---|
[508] | 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>
|
---|
[544] | 40 | <action title="Log out" action_id="logout_student" category="student"
|
---|
[508] | 41 | condition_expr="member" url_expr="string:${portal_url}/logout"
|
---|
| 42 | visible="True"/>
|
---|
[293] | 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=""
|
---|
[300] | 52 | url_expr="string:${portal_url}/accessibility" visible="False">
|
---|
[293] | 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();"
|
---|
[300] | 58 | visible="False">
|
---|
[293] | 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"
|
---|
[300] | 69 | visible="False">
|
---|
[293] | 70 | <permission>View</permission>
|
---|
| 71 | </action>
|
---|
| 72 | <action title="action_manage_vocabularies" action_id="manage_vocabularies"
|
---|
| 73 | category="global" condition_expr=""
|
---|
[300] | 74 | url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
|
---|
[293] | 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()"
|
---|
[354] | 92 | url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
|
---|
| 93 | <permission>Modify portal content</permission>
|
---|
[293] | 94 | </action>
|
---|
[621] | 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>
|
---|
[624] | 100 | </action>
|
---|
[341] | 101 | <action title="Home" action_id="home" category="navigation"
|
---|
[508] | 102 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
[338] | 103 | <permission>View</permission>
|
---|
| 104 | </action>
|
---|
[293] | 105 | <action title="Academics" action_id="view_academics" category="navigation"
|
---|
[508] | 106 | condition_expr="member" url_expr="string:${portal_url}/campus/academics"
|
---|
[293] | 107 | visible="True">
|
---|
| 108 | <permission>View</permission>
|
---|
| 109 | </action>
|
---|
[624] | 110 | <action title="Halls" action_id="view_accommodation"
|
---|
[508] | 111 | category="navigation" condition_expr="member"
|
---|
[624] | 112 | url_expr="string:${portal_url}/campus/accommodation" visible="True">
|
---|
[293] | 113 | <permission>View</permission>
|
---|
| 114 | </action>
|
---|
[300] | 115 | <action title="Students" action_id="view_students" category="navigation"
|
---|
[508] | 116 | condition_expr="member" url_expr="string:${portal_url}/campus/students"
|
---|
[503] | 117 | visible="True">
|
---|
[401] | 118 | <permission>Modify portal content</permission>
|
---|
[300] | 119 | </action>
|
---|
[543] | 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>
|
---|
[560] | 124 | </action>
|
---|
[501] | 125 | <action title="Unchecked Items" action_id="unchecked" category="object"
|
---|
[640] | 126 | condition_expr="python:member and 'academics' in object_url"
|
---|
| 127 | url_expr="string:./unchecked" visible="True">
|
---|
[321] | 128 | <permission>Modify portal content</permission>
|
---|
| 129 | </action>
|
---|
[503] | 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"/>
|
---|
[508] | 134 | <action title="Apply for PUME" action_id="apply_admission"
|
---|
| 135 | category="student" condition_expr="not:member"
|
---|
[543] | 136 | url_expr="string:${portal_url}/apply_admission"
|
---|
[508] | 137 | visible="True">
|
---|
| 138 | <permission>View</permission>
|
---|
| 139 | </action>
|
---|
[631] | 140 | <action title="Book Hostal" action_id="reserve_acco"
|
---|
| 141 | category="student" condition_expr="member"
|
---|
| 142 | url_expr="string:${portal_url}/reserve_acco"
|
---|
| 143 | visible="True">
|
---|
| 144 | <permission>View</permission>
|
---|
[640] | 145 | </action>
|
---|
[542] | 146 | <action title="Home" action_id="students_home" category="student_navigation"
|
---|
[544] | 147 | condition_expr="member" url_expr="string:${portal_url}" visible="True">
|
---|
[508] | 148 | <permission>View</permission>
|
---|
| 149 | </action>
|
---|
| 150 | <action title="Prospectus" action_id="prospectus"
|
---|
| 151 | category="student_navigation" condition_expr="member"
|
---|
| 152 | url_expr="string:${portal_url}/campus/academics" visible="True">
|
---|
| 153 | <permission>View</permission>
|
---|
| 154 | </action>
|
---|
[542] | 155 | <action title="My Registration" action_id="registration"
|
---|
[508] | 156 | category="student_navigation" condition_expr="member"
|
---|
| 157 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
| 158 | <permission>View</permission>
|
---|
| 159 | </action>
|
---|
[293] | 160 | </action-provider>
|
---|
| 161 | <action-provider name="portal_registration">
|
---|
| 162 | <action title="Join" action_id="join" category="user"
|
---|
| 163 | condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
|
---|
| 164 | url_expr="string:${portal_url}/join_form" visible="True">
|
---|
| 165 | <permission>Add portal member</permission>
|
---|
| 166 | </action>
|
---|
| 167 | </action-provider>
|
---|
| 168 | <action-provider name="portal_themes">
|
---|
| 169 | <action title="_action_themes_reconfig_" action_id="configThemes"
|
---|
| 170 | category="global"
|
---|
| 171 | condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
|
---|
| 172 | url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
|
---|
| 173 | visible="True">
|
---|
| 174 | <permission>View</permission>
|
---|
| 175 | </action>
|
---|
| 176 | </action-provider>
|
---|
| 177 | <action-provider name="portal_types"/>
|
---|
| 178 | <action-provider name="portal_syndication"/>
|
---|
| 179 | <action-provider name="portal_workflow"/>
|
---|
| 180 | <action-provider name="portal_properties">
|
---|
| 181 | <action title="Reconfigure Portal" action_id="configPortal"
|
---|
| 182 | category="global" condition_expr=""
|
---|
| 183 | url_expr="string:${portal_url}/config_form" visible="True">
|
---|
| 184 | <permission>Manage portal</permission>
|
---|
| 185 | </action>
|
---|
| 186 | </action-provider>
|
---|
[508] | 187 | </object> |
---|