bugfix du bugfix…
[Plinn.git] / profiles / default / actions.xml
1 <?xml version="1.0"?>
2 <object name="portal_actions" meta_type="CMF Actions Tool"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <action-provider name="portal_types"/>
5 <action-provider name="portal_workflow"/>
6 <action-provider name="portal_actions"/>
7 <action-provider name="portal_calendar"/>
8 <object name="user" meta_type="CMF Action Category">
9 <property name="title"></property>
10 <object name="login" meta_type="CMF Action" i18n:domain="cmf_default">
11 <property name="title" i18n:translate="">Login</property>
12 <property name="description" i18n:translate=""></property>
13 <property name="url_expr">string:${portal_url}/login_form</property>
14 <property name="link_target"></property>
15 <property name="icon_expr"></property>
16 <property name="available_expr">not: member</property>
17 <property name="permissions">
18 <element value="View"/>
19 </property>
20 <property name="visible">True</property>
21 </object>
22 <object name="mystuff" meta_type="CMF Action" i18n:domain="cmf_default">
23 <property name="title" i18n:translate="">My stuff</property>
24 <property name="description" i18n:translate=""></property>
25 <property
26 name="url_expr">string:${portal/portal_membership/getHomeUrl}/folder_contents</property>
27 <property name="link_target"></property>
28 <property name="icon_expr"></property>
29 <property
30 name="available_expr">python: member and portal.portal_membership.getHomeFolder()</property>
31 <property name="permissions">
32 <element value="View"/>
33 </property>
34 <property name="visible">True</property>
35 </object>
36 <object name="addFavorite" meta_type="CMF Action" i18n:domain="cmf_default">
37 <property name="title" i18n:translate="">Add to favorites</property>
38 <property name="description" i18n:translate=""></property>
39 <property name="url_expr">string:${object_url}/addtoFavorites</property>
40 <property name="link_target"></property>
41 <property name="icon_expr"></property>
42 <property
43 name="available_expr">portal/portal_membership/getHomeFolder</property>
44 <property name="permissions">
45 <element value="View"/>
46 </property>
47 <property name="visible">False</property>
48 </object>
49 <object name="favorites" meta_type="CMF Action" i18n:domain="cmf_default">
50 <property name="title" i18n:translate="">My favorites</property>
51 <property name="description" i18n:translate=""></property>
52 <property
53 name="url_expr">string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents</property>
54 <property name="link_target"></property>
55 <property name="icon_expr"></property>
56 <property
57 name="available_expr">python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites")</property>
58 <property name="permissions">
59 <element value="View"/>
60 </property>
61 <property name="visible">False</property>
62 </object>
63 <object name="preferences" meta_type="CMF Action" i18n:domain="cmf_default">
64 <property name="title" i18n:translate="">Preferences</property>
65 <property name="description" i18n:translate=""></property>
66 <property name="url_expr">string:${portal_url}/personalize_form</property>
67 <property name="link_target"></property>
68 <property name="icon_expr"></property>
69 <property name="available_expr">member</property>
70 <property name="permissions">
71 <element value="View"/>
72 </property>
73 <property name="visible">True</property>
74 </object>
75 <object name="logout" meta_type="CMF Action" i18n:domain="cmf_default">
76 <property name="title" i18n:translate="">Log out</property>
77 <property name="description" i18n:translate=""></property>
78 <property name="url_expr">string:${portal_url}/logout?noajax=1</property>
79 <property name="link_target"></property>
80 <property name="icon_expr"></property>
81 <property name="available_expr">member</property>
82 <property name="permissions">
83 <element value="View"/>
84 </property>
85 <property name="visible">True</property>
86 </object>
87 <object name="logged_in" meta_type="CMF Action" i18n:domain="cmf_default">
88 <property name="title" i18n:translate="">Logged in</property>
89 <property name="description" i18n:translate=""></property>
90 <property name="url_expr">string:${portal_url}/index_html</property>
91 <property name="link_target"></property>
92 <property name="icon_expr"></property>
93 <property name="available_expr"></property>
94 <property name="permissions">
95 <element value="View"/>
96 </property>
97 <property name="visible">False</property>
98 </object>
99 <object name="join" meta_type="CMF Action" i18n:domain="cmf_default">
100 <property name="title" i18n:translate="">Join</property>
101 <property name="description" i18n:translate=""></property>
102 <property name="url_expr">string:${portal_url}/join_form</property>
103 <property name="link_target"></property>
104 <property name="icon_expr"></property>
105 <property name="available_expr">not: member</property>
106 <property name="permissions">
107 <element value="Add portal member"/>
108 </property>
109 <property name="visible">True</property>
110 </object>
111 </object>
112 <object name="folder" meta_type="CMF Action Category">
113 <property name="title"></property>
114 <object name="folderContents" meta_type="CMF Action" i18n:domain="plinn">
115 <property name="title" i18n:translate="">List</property>
116 <property name="description" i18n:translate=""></property>
117 <property name="url_expr">string:${folder_url}/folder_contents</property>
118 <property name="link_target"></property>
119 <property name="icon_expr"></property>
120 <property
121 name="available_expr">python:member and folder is not object and object.portal_type !='Event'</property>
122 <property name="permissions">
123 <element value="List folder contents"/>
124 </property>
125 <property name="visible">True</property>
126 </object>
127 </object>
128 <object name="global" meta_type="CMF Action Category">
129 <property name="title"></property>
130 <object name="manage_boxes" meta_type="CMF Action" i18n:domain="plinn">
131 <property name="title" i18n:translate="">Manage Boxes</property>
132 <property name="description" i18n:translate=""></property>
133 <property
134 name="url_expr">string:${portal_url}/manage_boxes?noajax=1</property>
135 <property name="link_target"></property>
136 <property name="icon_expr"></property>
137 <property name="available_expr"></property>
138 <property name="permissions">
139 <element value="Manage portal"/>
140 </property>
141 <property name="visible">True</property>
142 </object>
143 <object name="send_email" meta_type="CMF Action" i18n:domain="plinn">
144 <property name="title" i18n:translate="">Send an email</property>
145 <property name="description" i18n:translate=""></property>
146 <property name="url_expr">string:${object_url}/send_email_form</property>
147 <property name="link_target"></property>
148 <property name="icon_expr"></property>
149 <property name="available_expr">member</property>
150 <property name="permissions">
151 <element value="View"/>
152 </property>
153 <property name="visible">True</property>
154 </object>
155 <object name="undo" meta_type="CMF Action" i18n:domain="cmf_default">
156 <property name="title" i18n:translate="">Undo</property>
157 <property name="description" i18n:translate=""></property>
158 <property name="url_expr">string:${portal_url}/undo_form</property>
159 <property name="link_target"></property>
160 <property name="icon_expr"></property>
161 <property name="available_expr">member</property>
162 <property name="permissions">
163 <element value="List undoable changes"/>
164 </property>
165 <property name="visible">True</property>
166 </object>
167 <object name="configPortal" meta_type="CMF Action" i18n:domain="plinn">
168 <property name="title" i18n:translate="">Configure Portal</property>
169 <property name="description" i18n:translate=""></property>
170 <property name="url_expr">string:${portal_url}/reconfig_form</property>
171 <property name="link_target"></property>
172 <property name="icon_expr"></property>
173 <property name="available_expr"></property>
174 <property name="permissions">
175 <element value="Manage portal"/>
176 </property>
177 <property name="visible">True</property>
178 </object>
179 <object name="manage_direcories" meta_type="CMF Action" i18n:domain="plinn">
180 <property name="title" i18n:translate="">Directory</property>
181 <property name="description" i18n:translate=""></property>
182 <property name="url_expr">string:${portal_url}/groups_members</property>
183 <property name="link_target"></property>
184 <property name="icon_expr"></property>
185 <property name="available_expr"></property>
186 <property name="permissions">
187 <element value="Manage Groups"/>
188 </property>
189 <property name="visible">True</property>
190 </object>
191 </object>
192 <object name="discussion" meta_type="CMF Action Category">
193 <property name="title"></property>
194 <object name="reply" meta_type="CMF Action" i18n:domain="plinn">
195 <property name="title" i18n:translate="">Add comment...</property>
196 <property name="description" i18n:translate=""></property>
197 <property
198 name="url_expr">string:${object_url}/discussion_reply_form</property>
199 <property name="link_target"></property>
200 <property name="icon_expr"></property>
201 <property
202 name="available_expr">python: object is not None and object.meta_type != 'Discussion Item' and portal.portal_discussion.isDiscussionAllowedFor(object)</property>
203 <property name="permissions">
204 <element value="Reply to item"/>
205 </property>
206 <property name="visible">True</property>
207 </object>
208 </object>
209 <object name="object" meta_type="CMF Action Category">
210 <property name="title"></property>
211 <object name="noajax" meta_type="CMF Action" i18n:domain="cmf_default">
212 <property name="title" i18n:translate="">Syndicate</property>
213 <property name="description" i18n:translate=""></property>
214 <property name="url_expr">string:${folder_url}/synPropertiesForm</property>
215 <property name="link_target"></property>
216 <property name="icon_expr"></property>
217 <property
218 name="available_expr">python: folder is object and portal.portal_syndication.isSiteSyndicationAllowed()</property>
219 <property name="permissions">
220 <element value="Manage properties"/>
221 </property>
222 <property name="visible">True</property>
223 </object>
224 <object name="calendar_view" meta_type="CMF Action" i18n:domain="plinn">
225 <property name="title" i18n:translate="">Calendar View</property>
226 <property name="description" i18n:translate=""></property>
227 <property name="url_expr">string:${folder_url}/calendar_view</property>
228 <property name="link_target"></property>
229 <property name="icon_expr"></property>
230 <property
231 name="available_expr">python:member and folder is object and object.portal_type in ['Huge Plinn Folder', 'Portfolio']</property>
232 <property name="permissions">
233 <element value="List folder contents"/>
234 </property>
235 <property name="visible">True</property>
236 </object>
237 </object>
238 </object>