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

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

refreshing themes step two

  • Property svn:keywords set to Id
File size: 8.0 KB
RevLine 
[293]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="python:&quot;%s/login_form?%s&quot; % (portal_url, modules[&quot;urllib&quot;].urlencode({&quot;came_from&quot;: request.URL}))"
7     visible="True">
8   <permission>View</permission>
9  </action>
10  <action title="Log out" action_id="logout" category="user"
11     condition_expr="member" url_expr="string:${portal_url}/logout"
12     visible="True">
13   <permission>View</permission>
14  </action>
15  <action title="My stuff" action_id="mystuff" category="user"
16     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
17     url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
18     visible="True">
19   <permission>View</permission>
20  </action>
21  <action title="action_my_preferences" action_id="preferences"
22     category="user"
23     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
24     url_expr="string:${portal_url}/cpsdirectory_entry_view?dirname=members&amp;id=${member}"
25     visible="True">
26   <permission>View</permission>
27  </action>
28  <action title="Search Members" action_id="member_view" category="user"
29     condition_expr="member"
30     url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
[300]31     visible="False">
[293]32   <permission>View</permission>
33  </action>
[508]34  <action title="Login" action_id="login_student" category="student"
35     condition_expr="not:member"
36     url_expr="python:&quot;%s/login_student?%s&quot; % (portal_url, modules[&quot;urllib&quot;].urlencode({&quot;came_from&quot;: request.URL}))"
37     visible="True">
38   <permission>View</permission>
39  </action>
40  <action title="Logout" action_id="logout_student" category="student"
41     condition_expr="member" url_expr="string:${portal_url}/logout"
42     visible="True"/>
[293]43 </action-provider>
44 <action-provider name="portal_actions">
45  <action title="action_portlets" action_id="portlets" category="folder"
46     condition_expr="member"
47     url_expr="string:${folder_url}/portlet_manage_form" visible="True">
48   <permission>Manage Portlets</permission>
49  </action>
50  <action title="action_accessibility" action_id="accessibility"
51     category="global_header" condition_expr=""
[300]52     url_expr="string:${portal_url}/accessibility" visible="False">
[293]53   <permission>View</permission>
54  </action>
55  <action title="action_print" action_id="print" category="global_header"
56     condition_expr=""
57     url_expr="string:javascript:if%20(window.print)%20window.print();"
[300]58     visible="False">
[293]59   <permission>View</permission>
60  </action>
61  <action title="action_advanced_search" action_id="advanced_search"
62     category="global_header" condition_expr=""
63     url_expr="string:./advanced_search_form" visible="True">
64   <permission>View</permission>
65  </action>
66  <action title="action_contact" action_id="contact" category="global_header"
67     condition_expr=""
68     url_expr="string:mailto:${portal/portal_properties/email_from_address}?subject=Info"
[300]69     visible="False">
[293]70   <permission>View</permission>
71  </action>
72  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
73     category="global" condition_expr=""
[300]74     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
[293]75   <permission>Modify portal content</permission>
76  </action>
77  <action title="action_add_favorites" action_id="add_favorites"
78     category="user"
79     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
80     url_expr="string:${object/absolute_url}/addtoFavorites" visible="False">
81   <permission>View</permission>
82  </action>
83  <action title="action_view_favorites" action_id="view_favorites"
84     category="user"
85     condition_expr="python: hasattr(portal.portal_membership.getHomeFolder(),&quot;Favorites&quot;)"
86     url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites"
87     visible="False">
88   <permission>View</permission>
89  </action>
90  <action title="Directories" action_id="directories" category="global"
91     condition_expr="python:not portal.portal_membership.isAnonymousUser()"
[354]92     url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
93   <permission>Modify portal content</permission>
[293]94  </action>
[341]95  <action title="Home" action_id="home" category="navigation"
[508]96     condition_expr="member" url_expr="string:${portal_url}" visible="True">
[338]97   <permission>View</permission>
98  </action>
[293]99  <action title="Academics" action_id="view_academics" category="navigation"
[508]100     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
[293]101     visible="True">
102   <permission>View</permission>
103  </action>
104  <action title="Accommodation" action_id="view_accommodation"
[508]105     category="navigation" condition_expr="member"
[338]106     url_expr="string:${portal_url}/campus/accommodation" visible="False">
[293]107   <permission>View</permission>
108  </action>
[300]109  <action title="Members" action_id="view_members" category="navigation"
[508]110     condition_expr="member"
[300]111     url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
112     visible="True">
[401]113   <permission>Modify portal content</permission>
[300]114  </action>
115  <action title="Students" action_id="view_students" category="navigation"
[508]116     condition_expr="member" url_expr="string:${portal_url}/campus/students"
[503]117     visible="True">
[401]118   <permission>Modify portal content</permission>
[300]119  </action>
[501]120  <action title="Unchecked Items" action_id="unchecked" category="object"
[508]121     condition_expr="member" url_expr="string:./unchecked" visible="True">
[321]122   <permission>Modify portal content</permission>
123  </action>
[503]124  <action title="  " action_id="dummy" category="student_object"
125     condition_expr="" url_expr="" visible="True"/>
126  <action title="  " action_id="dummy2" category="object" condition_expr=""
127     url_expr="" visible="True"/>
[508]128  <action title="Apply for PUME" action_id="apply_admission"
129     category="student" condition_expr="not:member"
130     url_expr="string:${portal_url}/campus/students/apply_admission"
131     visible="True">
132   <permission>View</permission>
133  </action>
134  <action title="Home" action_id="student_home" category="student_navigation"
135     condition_expr="member" url_expr="string:${portal_url}" visible="True">
136   <permission>View</permission>
137  </action>
138  <action title="Prospectus" action_id="prospectus"
139     category="student_navigation" condition_expr="member"
140     url_expr="string:${portal_url}/campus/academics" visible="True">
141   <permission>View</permission>
142  </action>
143  <action title="Registration" action_id="registration"
144     category="student_navigation" condition_expr="member"
145     url_expr="string:${portal_url}/campus/students" visible="True">
146   <permission>View</permission>
147  </action>
[293]148 </action-provider>
149 <action-provider name="portal_registration">
150  <action title="Join" action_id="join" category="user"
151     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
152     url_expr="string:${portal_url}/join_form" visible="True">
153   <permission>Add portal member</permission>
154  </action>
155 </action-provider>
156 <action-provider name="portal_themes">
157  <action title="_action_themes_reconfig_" action_id="configThemes"
158     category="global"
159     condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
160     url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
161     visible="True">
162   <permission>View</permission>
163  </action>
164 </action-provider>
165 <action-provider name="portal_types"/>
166 <action-provider name="portal_syndication"/>
167 <action-provider name="portal_workflow"/>
168 <action-provider name="portal_properties">
169  <action title="Reconfigure Portal" action_id="configPortal"
170     category="global" condition_expr=""
171     url_expr="string:${portal_url}/config_form" visible="True">
172   <permission>Manage portal</permission>
173  </action>
174 </action-provider>
[508]175</object>
Note: See TracBrowser for help on using the repository browser.