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

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

Login action of Backoffice Theme changed

  • Property svn:keywords set to Id
File size: 8.4 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="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>
10  <action title="Staff Login" action_id="login_staff" category="student"
11     condition_expr="not: member"
12     url_expr="python:&quot;%s/login_staff?%s&quot; % (portal_url, modules[&quot;urllib&quot;].urlencode({&quot;came_from&quot;: request.URL}))"
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(&quot;Member&quot;)"
30     url_expr="string:${portal_url}/cpsdirectory_entry_view?dirname=members&amp;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"
37     visible="False">
38   <permission>View</permission>
39  </action>
40  <action title="Student Login" action_id="login_student" category="student"
41     condition_expr="not:member"
42     url_expr="python:&quot;%s/login_student?%s&quot; % (portal_url, modules[&quot;urllib&quot;].urlencode({&quot;came_from&quot;: request.URL}))"
43     visible="True">
44   <permission>View</permission>
45  </action>
46  <action title="Log out" action_id="logout_student" category="student"
47     condition_expr="member" url_expr="string:${portal_url}/logout"
48     visible="True"/>
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=""
58     url_expr="string:${portal_url}/accessibility" visible="False">
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();"
64     visible="False">
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"
75     visible="False">
76   <permission>View</permission>
77  </action>
78  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
79     category="global" condition_expr=""
80     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
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(),&quot;Favorites&quot;)"
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()"
98     url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
99   <permission>Modify portal content</permission>
100  </action>
101  <action title="Home" action_id="home" category="navigation"
102     condition_expr="member" url_expr="string:${portal_url}" visible="True">
103   <permission>View</permission>
104  </action>
105  <action title="Academics" action_id="view_academics" category="navigation"
106     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
107     visible="True">
108   <permission>View</permission>
109  </action>
110  <action title="Accommodation" action_id="view_accommodation"
111     category="navigation" condition_expr="member"
112     url_expr="string:${portal_url}/campus/accommodation" visible="False">
113   <permission>View</permission>
114  </action>
115  <action title="Members" action_id="view_members" category="navigation"
116     condition_expr="member"
117     url_expr="string:${portal_url}/members_search"
118     visible="True">
119   <permission>Modify portal content</permission>
120  </action>
121  <action title="Students" action_id="view_students" category="navigation"
122     condition_expr="member" url_expr="string:${portal_url}/campus/students"
123     visible="True">
124   <permission>Modify portal content</permission>
125  </action>
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>
130  </action>
131  <action title="Unchecked Items" action_id="unchecked" category="object"
132     condition_expr="member" url_expr="string:./unchecked" visible="True">
133   <permission>Modify portal content</permission>
134  </action>
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"/>
139  <action title="Apply for PUME" action_id="apply_admission"
140     category="student" condition_expr="not:member"
141     url_expr="string:${portal_url}/apply_admission"
142     visible="True">
143   <permission>View</permission>
144  </action>
145  <action title="Home" action_id="students_home" category="student_navigation"
146     condition_expr="member" url_expr="string:${portal_url}" visible="True">
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>
154  <action title="My Registration" action_id="registration"
155     category="student_navigation" condition_expr="member"
156     url_expr="string:${portal_url}/campus/students" visible="True">
157   <permission>View</permission>
158  </action>
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>
186</object>
Note: See TracBrowser for help on using the repository browser.