source: WAeUP_SRP/trunk/profiles/default/actions.xml @ 1340

Last change on this file since 1340 was 1340, checked in by Henrik Bettermann, 18 years ago

make transfer work

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