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

Last change on this file since 1948 was 1923, checked in by Henrik Bettermann, 17 years ago

fix for ticket #280

  • Property svn:keywords set to Id
File size: 9.7 KB
RevLine 
[293]1<?xml version="1.0"?>
2<object name="portal_actions" meta_type="CMF Actions Tool">
3 <action-provider name="portal_membership">
[1876]4  <action title="My stuff" action_id="mystuff" category="user"
5     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
6     url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
7     visible="True">
8   <permission>View</permission>
9  </action>
[818]10  <action title="Search Members" action_id="member_view" category="user"
11     condition_expr="member"
[937]12     url_expr="string:${portal_url}/search_members_form" visible="False">
[818]13   <permission>View</permission>
14  </action>
[544]15  <action title="Staff Login" action_id="login_staff" category="student"
[1221]16     condition_expr="not: member" url_expr="string:${portal_url}/login_staff"
[980]17     visible="True">
[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="action_my_preferences" action_id="preferences"
26     category="user"
27     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
[953]28     url_expr="string:${portal_url}/member_view?dirname=members&amp;id=${member}"
[293]29     visible="True">
30   <permission>View</permission>
31  </action>
[543]32  <action title="Student Login" action_id="login_student" category="student"
[1912]33     condition_expr="python: not member and (portal.portal_url().find('uniben.waeup.org') &gt;-1 or portal.portal_url().find('uniben-demo.waeup.org') &gt;-1)"
[1876]34     url_expr="string:${portal_url}/login_student" visible="True">
[508]35   <permission>View</permission>
36  </action>
[544]37  <action title="Log out" action_id="logout_student" category="student"
[508]38     condition_expr="member" url_expr="string:${portal_url}/logout"
39     visible="True"/>
[293]40 </action-provider>
41 <action-provider name="portal_actions">
42  <action title="action_print" action_id="print" category="global_header"
43     condition_expr=""
44     url_expr="string:javascript:if%20(window.print)%20window.print();"
[300]45     visible="False">
[293]46   <permission>View</permission>
47  </action>
[1876]48  <action title="Search Portal" action_id="waeup_search" category="global"
49     condition_expr="member" url_expr="string:./waeup_search_form"
50     visible="True">
[293]51   <permission>View</permission>
52  </action>
53  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
54     category="global" condition_expr=""
[300]55     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
[293]56   <permission>Modify portal content</permission>
57  </action>
58  <action title="Directories" action_id="directories" category="global"
[1221]59     condition_expr="python:portal.portal_directories.isSectionOfficer()"
[953]60     url_expr="string:${portal_url}/cpsdirectory_view" visible="True">
[1221]61   <permission>View</permission>
[293]62  </action>
[621]63  <action title="Portal Members" action_id="members" category="global"
[1221]64     condition_expr="python:portal.portal_directories.members.isSectionOfficer()"
[1876]65     url_expr="string:${portal_url}/search_members_form" visible="True">
[1221]66   <permission>View</permission>
[624]67  </action>
[341]68  <action title="Home" action_id="home" category="navigation"
[1221]69     condition_expr="member" url_expr="string:${portal_url}/campus"
[1785]70     visible="True">
[338]71   <permission>View</permission>
72  </action>
[293]73  <action title="Academics" action_id="view_academics" category="navigation"
[508]74     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
[293]75     visible="True">
76   <permission>View</permission>
77  </action>
[818]78  <action title="Hostels" action_id="view_accommodation" category="navigation"
[941]79     condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
[624]80     url_expr="string:${portal_url}/campus/accommodation" visible="True">
[293]81   <permission>View</permission>
82  </action>
[300]83  <action title="Students" action_id="view_students" category="navigation"
[1221]84     condition_expr="python:portal.campus.students.isStaff()"
[937]85     url_expr="string:${portal_url}/campus/students" visible="True">
[874]86   <permission>View</permission>
[300]87  </action>
[543]88  <action title="PINs" action_id="view_pins" category="navigation"
[937]89     condition_expr="python:portal.campus.pins.isSectionOfficer()"
90     url_expr="string:${portal_url}/campus/pins" visible="True">
91   <permission>View</permission>
[560]92  </action>
[890]93  <action title="Contact" action_id="contact_admin" category="navigation"
[937]94     condition_expr="member"
95     url_expr="string:${portal_url}/contact_admin_form" visible="True">
[820]96   <permission>View</permission>
[824]97  </action>
[1221]98  <action title="Enquiries" action_id="support_anon"
99     category="student_navigation" condition_expr="not:member"
100     url_expr="string:${portal_url}/contact_admin_form" visible="True">
[977]101   <permission>View</permission>
102  </action>
[942]103  <action title="Enquiries" action_id="support" category="student_navigation"
[977]104     condition_expr="member" url_expr="string:${portal_url}/support_form"
[937]105     visible="True">
[824]106   <permission>View</permission>
[980]107  </action>
[501]108  <action title="Unchecked Items" action_id="unchecked" category="object"
[656]109     condition_expr="python:member and 'academics' in object_url"
[640]110     url_expr="string:./unchecked" visible="True">
[321]111   <permission>Modify portal content</permission>
112  </action>
[503]113  <action title="  " action_id="dummy" category="student_object"
[1917]114     condition_expr="" url_expr="" visible="False"/>
[503]115  <action title="  " action_id="dummy2" category="object" condition_expr=""
[1917]116     url_expr="" visible="False"/>
[781]117  <action title="Apply for PUME" action_id="apply_admission"
[508]118     category="student" condition_expr="not:member"
[818]119     url_expr="string:${portal_url}/apply_admission" visible="False">
[781]120   <permission>View</permission>
121  </action>
[1115]122  <action title="View PUME Results" action_id="display_pume_results"
[781]123     category="student" condition_expr="not:member"
[1115]124     url_expr="string:${portal_url}/display_pume_results" visible="True">
[508]125   <permission>View</permission>
126  </action>
[1115]127  <action title="View PDE Results" action_id="display_pde_results"
128     category="student" condition_expr="not:member"
129     url_expr="string:${portal_url}/display_pde_results" visible="True">
130   <permission>View</permission>
131  </action>
[1805]132  <action title="View CEST Results" action_id="display_cest_results"
133     category="student" condition_expr="not:member"
134     url_expr="string:${portal_url}/display_cest_results" visible="True">
135   <permission>View</permission>
[1876]136  </action>
[1783]137  <action title="Check Admission" action_id="check_admission"
[766]138     category="student" condition_expr="not:member"
[975]139     url_expr="string:${portal_url}/check_admission" visible="True">
[785]140   <permission>View</permission>
[766]141  </action>
[1783]142  <action title="Return 2006/2007" action_id="display_session_results"
[1159]143     category="student" condition_expr="not:member"
144     url_expr="string:${portal_url}/display_session_results" visible="True">
145   <permission>View</permission>
[1160]146  </action>
[1783]147  <action title="Previous Sessions" action_id="firsttime_login"
148     category="student" condition_expr="not:member"
149     url_expr="string:${portal_url}/firsttime_login" visible="True">
150   <permission>View</permission>
151  </action>
[1474]152  <action title="Change Password" action_id="change_password"
153     category="student" condition_expr="member"
[1634]154     url_expr="string:${portal_url}/change_password" visible="False">
[1474]155   <permission>View</permission>
156  </action>
[542]157  <action title="Home" action_id="students_home" category="student_navigation"
[1876]158     condition_expr="not:member" url_expr="string:${portal_url}"
159     visible="True">
[508]160   <permission>View</permission>
161  </action>
162  <action title="Prospectus" action_id="prospectus"
163     category="student_navigation" condition_expr="member"
164     url_expr="string:${portal_url}/campus/academics" visible="True">
165   <permission>View</permission>
166  </action>
[656]167  <action title="My Study" action_id="registration"
[508]168     category="student_navigation" condition_expr="member"
169     url_expr="string:${portal_url}/campus/students" visible="True">
170   <permission>View</permission>
171  </action>
[1236]172  <action title="My Accommodation" action_id="reserve_accommodation"
173     category="student_navigation" condition_expr="member"
[1923]174     url_expr="string:${portal_url}/campus/students/${member}/reserve_accommodation" visible="True"/>
[1236]175  <action title="My Payments" action_id="payments"
176     category="student_navigation" condition_expr="member"
[1876]177     url_expr="string:${portal_url}/campus/students/${member}/payments"
178     visible="True"/>
[1236]179  <action title="Register Courses" action_id="register_courses"
180     category="student" condition_expr="member"
181     url_expr="string:${portal_url}/register_courses" visible="False"/>
[1876]182  <action title="Request Transfer" action_id="request_transfer"
183     category="student"
184     condition_expr="python: here.isStudent() and here.getStudentWorkflowInfo()['tr']"
185     url_expr="string:${portal_url}/request_transfer" visible="True"/>
[293]186 </action-provider>
187 <action-provider name="portal_registration">
188  <action title="Join" action_id="join" category="user"
189     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
190     url_expr="string:${portal_url}/join_form" visible="True">
191   <permission>Add portal member</permission>
192  </action>
193 </action-provider>
[1876]194 <action-provider name="portal_themes"/>
[293]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>
[937]205</object>
Note: See TracBrowser for help on using the repository browser.