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