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

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

title changed

  • Property svn:keywords set to Id
File size: 9.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}/cpsdirectory_entry_search_form?dirname=members"
7     visible="False">
8   <permission>View</permission>
9  </action>
10  <action title="Student Login" action_id="login" category="user"
11     condition_expr="not: member"
12     url_expr="string:${portal_url}/login_student" visible="True">
13   <permission>View</permission>
14  </action>
15  <action title="Staff Login" action_id="login_staff" category="student"
16     condition_expr="not: member"
17     url_expr="python:&quot;%s/login_staff?%s&quot; % (portal_url, modules[&quot;urllib&quot;].urlencode({&quot;came_from&quot;: request.URL}))"
18     visible="True">
19   <permission>View</permission>
20  </action>
21  <action title="Log out" action_id="logout" category="user"
22     condition_expr="member" url_expr="string:${portal_url}/logout"
23     visible="True">
24   <permission>View</permission>
25  </action>
26  <action title="My stuff" action_id="mystuff" category="user"
27     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
28     url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
29     visible="True">
30   <permission>View</permission>
31  </action>
32  <action title="action_my_preferences" action_id="preferences"
33     category="user"
34     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
35     url_expr="string:${portal_url}/cpsdirectory_entry_view?dirname=members&amp;id=${member}"
36     visible="True">
37   <permission>View</permission>
38  </action>
39  <action title="Student Login" action_id="login_student" category="student"
40     condition_expr="not:member"
41     url_expr="python:&quot;%s/login_student?%s&quot; % (portal_url, modules[&quot;urllib&quot;].urlencode({&quot;came_from&quot;: request.URL}))"
42     visible="True">
43   <permission>View</permission>
44  </action>
45  <action title="Log out" action_id="logout_student" category="student"
46     condition_expr="member" url_expr="string:${portal_url}/logout"
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:not portal.portal_membership.isAnonymousUser()"
97     url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
98   <permission>Modify portal content</permission>
99  </action>
100  <action title="Portal Members" action_id="members" category="global"
101     condition_expr="member"
102     url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
103     visible="True">
104   <permission>Modify portal content</permission>
105  </action>
106  <action title="Home" action_id="home" category="navigation"
107     condition_expr="member" url_expr="string:${portal_url}" visible="True">
108   <permission>View</permission>
109  </action>
110  <action title="Academics" action_id="view_academics" category="navigation"
111     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
112     visible="True">
113   <permission>View</permission>
114  </action>
115  <action title="Hostels" action_id="view_accommodation" category="navigation"
116     condition_expr="member"
117     url_expr="string:${portal_url}/campus/accommodation" visible="True">
118   <permission>View</permission>
119  </action>
120  <action title="Students" action_id="view_students" category="navigation"
121     condition_expr="member" url_expr="string:${portal_url}/campus/students"
122     visible="True">
123   <permission>Modify portal content</permission>
124  </action>
125  <action title="PINs" action_id="view_pins" category="navigation"
126     condition_expr="member" url_expr="string:${portal_url}/campus/pins"
127     visible="True">
128   <permission>Modify portal content</permission>
129  </action>
130  <action title="Contact" action_id="contact" category="navigation"
131     condition_expr="member" url_expr="string:${portal_url}/contact" visible="True">
132   <permission>View</permission>
133  </action>
134  <action title="Support" action_id="contact_student" category="student_navigation"
135     condition_expr="member" url_expr="string:${portal_url}/contact_student" visible="True">
136   <permission>View</permission>
137  </action>
138  <action title="Unchecked Items" action_id="unchecked" category="object"
139     condition_expr="python:member and 'academics' in object_url"
140     url_expr="string:./unchecked" visible="True">
141   <permission>Modify portal content</permission>
142  </action>
143  <action title="  " action_id="dummy" category="student_object"
144     condition_expr="" url_expr="" visible="True"/>
145  <action title="  " action_id="dummy2" category="object" condition_expr=""
146     url_expr="" visible="True"/>
147  <action title="Apply for PUME" action_id="apply_admission"
148     category="student" condition_expr="not:member"
149     url_expr="string:${portal_url}/apply_admission" visible="False">
150   <permission>View</permission>
151  </action>
152  <action title="View PUME Results" action_id="display_pume_result"
153     category="student" condition_expr="not:member"
154     url_expr="string:${portal_url}/display_pume_result" visible="True">
155   <permission>View</permission>
156  </action>
157  <action title="Check Admission" action_id="check_admission"
158     category="student" condition_expr="not:member"
159     url_expr="string:${portal_url}/check_admission" visible="True">
160   <permission>View</permission>
161  </action>
162
163  <action title="Book Hostel" action_id="reserve_accommodation"
164     category="student" condition_expr="member"
165     url_expr="string:${portal_url}/reserve_accommodation" visible="True"/>
166   <permission>View</permission>
167
168  <action title="Register Courses" action_id="register_courses"
169     category="student" condition_expr="member"
170     url_expr="string:${portal_url}/register_courses" visible="False"/>
171   <permission>View</permission>
172
173  <action title="Home" action_id="students_home" category="student_navigation"
174     condition_expr="member" url_expr="string:${portal_url}" visible="True">
175   <permission>View</permission>
176  </action>
177  <action title="Prospectus" action_id="prospectus"
178     category="student_navigation" condition_expr="member"
179     url_expr="string:${portal_url}/campus/academics" visible="True">
180   <permission>View</permission>
181  </action>
182  <action title="My Study" action_id="registration"
183     category="student_navigation" condition_expr="member"
184     url_expr="string:${portal_url}/campus/students" visible="True">
185   <permission>View</permission>
186  </action>
187 </action-provider>
188 <action-provider name="portal_registration">
189  <action title="Join" action_id="join" category="user"
190     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
191     url_expr="string:${portal_url}/join_form" visible="True">
192   <permission>Add portal member</permission>
193  </action>
194 </action-provider>
195 <action-provider name="portal_themes">
196  <action title="_action_themes_reconfig_" action_id="configThemes"
197     category="global"
198     condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
199     url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
200     visible="True">
201   <permission>View</permission>
202  </action>
203 </action-provider>
204 <action-provider name="portal_types"/>
205 <action-provider name="portal_syndication"/>
206 <action-provider name="portal_workflow"/>
207 <action-provider name="portal_properties">
208  <action title="Reconfigure Portal" action_id="configPortal"
209     category="global" condition_expr=""
210     url_expr="string:${portal_url}/config_form" visible="True">
211   <permission>Manage portal</permission>
212  </action>
213 </action-provider>
214</object>
Note: See TracBrowser for help on using the repository browser.