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

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

waeup search form added (temporary solution until academics_search is ready)

  • Property svn:keywords set to Id
File size: 9.0 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="action_my_preferences" action_id="preferences"
25     category="user"
26     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
27     url_expr="string:${portal_url}/member_view?dirname=members&amp;id=${member}"
28     visible="True">
29   <permission>View</permission>
30  </action>
31  <action title="Student Login" action_id="login_student" category="student"
32     condition_expr="not:member" url_expr="string:${portal_url}/login_student"
33     visible="True">
34   <permission>View</permission>
35  </action>
36  <action title="Log out" action_id="logout_student" category="student"
37     condition_expr="member" url_expr="string:${portal_url}/logout"
38     visible="True"/>
39 </action-provider>
40 <action-provider name="portal_actions">
41  <action title="action_print" action_id="print" category="global_header"
42     condition_expr=""
43     url_expr="string:javascript:if%20(window.print)%20window.print();"
44     visible="False">
45   <permission>View</permission>
46  </action>
47  <action title="Search Portal" action_id="waeup_search"
48     category="global" condition_expr="member"
49     url_expr="string:./waeup_search_form" visible="True">
50   <permission>View</permission>
51  </action>
52  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
53     category="global" condition_expr=""
54     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
55   <permission>Modify portal content</permission>
56  </action>
57  <action title="Directories" action_id="directories" category="global"
58     condition_expr="python:portal.portal_directories.isSectionOfficer()"
59     url_expr="string:${portal_url}/cpsdirectory_view" visible="True">
60   <permission>View</permission>
61  </action>
62  <action title="Portal Members" action_id="members" category="global"
63     condition_expr="python:portal.portal_directories.members.isSectionOfficer()"
64     url_expr="string:${portal_url}/search_members_form"
65     visible="True">
66   <permission>View</permission>
67  </action>
68  <action title="Home" action_id="home" category="navigation"
69     condition_expr="member" url_expr="string:${portal_url}/campus"
70     visible="False">
71   <permission>View</permission>
72  </action>
73  <action title="Academics" action_id="view_academics" category="navigation"
74     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
75     visible="True">
76   <permission>View</permission>
77  </action>
78  <action title="Hostels" action_id="view_accommodation" category="navigation"
79     condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
80     url_expr="string:${portal_url}/campus/accommodation" visible="True">
81   <permission>View</permission>
82  </action>
83  <action title="Students" action_id="view_students" category="navigation"
84     condition_expr="python:portal.campus.students.isStaff()"
85     url_expr="string:${portal_url}/campus/students" visible="True">
86   <permission>View</permission>
87  </action>
88  <action title="PINs" action_id="view_pins" category="navigation"
89     condition_expr="python:portal.campus.pins.isSectionOfficer()"
90     url_expr="string:${portal_url}/campus/pins" visible="True">
91   <permission>View</permission>
92  </action>
93  <action title="Contact" action_id="contact_admin" category="navigation"
94     condition_expr="member"
95     url_expr="string:${portal_url}/contact_admin_form" visible="True">
96   <permission>View</permission>
97  </action>
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">
101   <permission>View</permission>
102  </action>
103  <action title="Enquiries" action_id="support" category="student_navigation"
104     condition_expr="member" url_expr="string:${portal_url}/support_form"
105     visible="True">
106   <permission>View</permission>
107  </action>
108  <action title="Unchecked Items" action_id="unchecked" category="object"
109     condition_expr="python:member and 'academics' in object_url"
110     url_expr="string:./unchecked" visible="True">
111   <permission>Modify portal content</permission>
112  </action>
113  <action title="  " action_id="dummy" category="student_object"
114     condition_expr="" url_expr="" visible="True"/>
115  <action title="  " action_id="dummy2" category="object" condition_expr=""
116     url_expr="" visible="True"/>
117  <action title="Apply for PUME" action_id="apply_admission"
118     category="student" condition_expr="not:member"
119     url_expr="string:${portal_url}/apply_admission" visible="False">
120   <permission>View</permission>
121  </action>
122  <action title="View PUME Results" action_id="display_pume_results"
123     category="student" condition_expr="not:member"
124     url_expr="string:${portal_url}/display_pume_results" visible="True">
125   <permission>View</permission>
126  </action>
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>
132  <action title="Check Adm. Details" action_id="check_admission"
133     category="student" condition_expr="not:member"
134     url_expr="string:${portal_url}/check_admission" visible="True">
135   <permission>View</permission>
136  </action>
137  <action title="View Sess. Results" action_id="display_session_results"
138     category="student" condition_expr="not:member"
139     url_expr="string:${portal_url}/display_session_results" visible="True">
140   <permission>View</permission>
141  </action>
142  <action title="Change Password" action_id="change_password"
143     category="student" condition_expr="member"
144     url_expr="string:${portal_url}/change_password" visible="False">
145   <permission>View</permission>
146  </action>
147  <action title="Home" action_id="students_home" category="student_navigation"
148     condition_expr="not:member" url_expr="string:${portal_url}" visible="True">
149   <permission>View</permission>
150  </action>
151  <action title="Prospectus" action_id="prospectus"
152     category="student_navigation" condition_expr="member"
153     url_expr="string:${portal_url}/campus/academics" visible="True">
154   <permission>View</permission>
155  </action>
156  <action title="My Study" action_id="registration"
157     category="student_navigation" condition_expr="member"
158     url_expr="string:${portal_url}/campus/students" visible="True">
159   <permission>View</permission>
160  </action>
161  <action title="My Accommodation" action_id="reserve_accommodation"
162     category="student_navigation" condition_expr="member"
163     url_expr="string:${portal_url}/reserve_accommodation" visible="True"/>
164  <action title="My Payments" action_id="payments"
165     category="student_navigation" condition_expr="member"
166     url_expr="string:${portal_url}/campus/students/${member}/payments" visible="True"/>
167  <action title="Register Courses" action_id="register_courses"
168     category="student" condition_expr="member"
169     url_expr="string:${portal_url}/register_courses" visible="False"/>
170  <action title="Request Transfer" action_id="request_transfer" category="student"
171     condition_expr="python: here.isStudent() and here.getStudentWorkflowInfo()['tr']" url_expr="string:${portal_url}/request_transfer"
172     visible="True"/>
173
174 </action-provider>
175 <action-provider name="portal_registration">
176  <action title="Join" action_id="join" category="user"
177     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
178     url_expr="string:${portal_url}/join_form" visible="True">
179   <permission>Add portal member</permission>
180  </action>
181 </action-provider>
182 <action-provider name="portal_themes" />
183 <action-provider name="portal_types"/>
184 <action-provider name="portal_syndication"/>
185 <action-provider name="portal_workflow"/>
186 <action-provider name="portal_properties">
187  <action title="Reconfigure Portal" action_id="configPortal"
188     category="global" condition_expr=""
189     url_expr="string:${portal_url}/config_form" visible="True">
190   <permission>Manage portal</permission>
191  </action>
192 </action-provider>
193</object>
Note: See TracBrowser for help on using the repository browser.