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

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

themes revised
student portlets added

  • Property svn:keywords set to Id
File size: 6.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="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"
31     visible="False">
32   <permission>View</permission>
33  </action>
34 </action-provider>
35 <action-provider name="portal_actions">
36  <action title="Prospectus" action_id="prospectus"
37     category="student_navigation" condition_expr=""
38     url_expr="string:${portal_url}/campus/academics" visible="True">
39   <permission>View</permission>
40  </action>
41  <action title="Registration" action_id="registration"
42     category="student_navigation" condition_expr=""
43     url_expr="string:${portal_url}/campus/students" visible="True">
44   <permission>View</permission>
45  </action>
46  <action title="action_portlets" action_id="portlets" category="folder"
47     condition_expr="member"
48     url_expr="string:${folder_url}/portlet_manage_form" visible="True">
49   <permission>Manage Portlets</permission>
50  </action>
51  <action title="action_accessibility" action_id="accessibility"
52     category="global_header" condition_expr=""
53     url_expr="string:${portal_url}/accessibility" visible="False">
54   <permission>View</permission>
55  </action>
56  <action title="action_print" action_id="print" category="global_header"
57     condition_expr=""
58     url_expr="string:javascript:if%20(window.print)%20window.print();"
59     visible="False">
60   <permission>View</permission>
61  </action>
62  <action title="action_advanced_search" action_id="advanced_search"
63     category="global_header" condition_expr=""
64     url_expr="string:./advanced_search_form" visible="True">
65   <permission>View</permission>
66  </action>
67  <action title="action_contact" action_id="contact" category="global_header"
68     condition_expr=""
69     url_expr="string:mailto:${portal/portal_properties/email_from_address}?subject=Info"
70     visible="False">
71   <permission>View</permission>
72  </action>
73  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
74     category="global" condition_expr=""
75     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
76   <permission>Modify portal content</permission>
77  </action>
78  <action title="action_add_favorites" action_id="add_favorites"
79     category="user"
80     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
81     url_expr="string:${object/absolute_url}/addtoFavorites" visible="False">
82   <permission>View</permission>
83  </action>
84  <action title="action_view_favorites" action_id="view_favorites"
85     category="user"
86     condition_expr="python: hasattr(portal.portal_membership.getHomeFolder(),&quot;Favorites&quot;)"
87     url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites"
88     visible="False">
89   <permission>View</permission>
90  </action>
91  <action title="Directories" action_id="directories" category="global"
92     condition_expr="python:not portal.portal_membership.isAnonymousUser()"
93     url_expr="string:${portal_url}/cpsdirectory_view" visible="False">
94   <permission>Modify portal content</permission>
95  </action>
96  <action title="Home" action_id="home" category="navigation"
97     condition_expr="" url_expr="string:${portal_url}" visible="True">
98   <permission>View</permission>
99  </action>
100  <action title="Academics" action_id="view_academics" category="navigation"
101     condition_expr="" url_expr="string:${portal_url}/campus/academics"
102     visible="True">
103   <permission>View</permission>
104  </action>
105  <action title="Accommodation" action_id="view_accommodation"
106     category="navigation" condition_expr=""
107     url_expr="string:${portal_url}/campus/accommodation" visible="False">
108   <permission>View</permission>
109  </action>
110  <action title="Members" action_id="view_members" category="navigation"
111     condition_expr=""
112     url_expr="string:${portal_url}/cpsdirectory_entry_search_form?dirname=members"
113     visible="True">
114   <permission>Modify portal content</permission>
115  </action>
116  <action title="Students" action_id="view_students" category="navigation"
117     condition_expr="" url_expr="string:${portal_url}/campus/students"
118     visible="False">
119   <permission>Modify portal content</permission>
120  </action>
121  <action title="Unchecked Items" action_id="unchecked" category="object"
122     condition_expr="" url_expr="string:./unchecked" visible="True">
123   <permission>Modify portal content</permission>
124  </action>
125 </action-provider>
126 <action-provider name="portal_registration">
127  <action title="Join" action_id="join" category="user"
128     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
129     url_expr="string:${portal_url}/join_form" visible="True">
130   <permission>Add portal member</permission>
131  </action>
132 </action-provider>
133 <action-provider name="portal_themes">
134  <action title="_action_themes_reconfig_" action_id="configThemes"
135     category="global"
136     condition_expr="python: member and portal.portal_membership.checkPermission('Manage Themes', portal.portal_themes)"
137     url_expr="string:${portal_url}/cpsskins_themes_reconfig_form"
138     visible="True">
139   <permission>View</permission>
140  </action>
141 </action-provider>
142 <action-provider name="portal_types"/>
143 <action-provider name="portal_syndication"/>
144 <action-provider name="portal_workflow"/>
145 <action-provider name="portal_properties">
146  <action title="Reconfigure Portal" action_id="configPortal"
147     category="global" condition_expr=""
148     url_expr="string:${portal_url}/config_form" visible="True">
149   <permission>Manage portal</permission>
150  </action>
151 </action-provider>
152</object>
Note: See TracBrowser for help on using the repository browser.