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

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

new themes and workflow definitions

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