Introduction d'un callback « beforeUpload ».
[Plinn.git] / profiles / photo / 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="selection" meta_type="CMF Action" i18n:domain="portfolio">
11 <property name="title" i18n:translate="">My selection</property>
12 <property name="description" i18n:translate=""></property>
13 <property name="url_expr">string:${portal_url}/selection_view</property>
14 <property name="icon_expr"></property>
15 <property name="available_expr"></property>
16 <property name="permissions"/>
17 <property name="visible">True</property>
18 </object>
19 <object name="panier" meta_type="CMF Action" i18n:domain="portfolio">
20 <property name="title" i18n:translate="">My cart</property>
21 <property name="description" i18n:translate=""></property>
22 <property name="url_expr">string:${portal_url}/my_cart</property>
23 <property name="icon_expr"></property>
24 <property name="available_expr"></property>
25 <property name="permissions">
26 <element value="View"/>
27 </property>
28 <property name="visible">True</property>
29 </object>
30 <object name="login" meta_type="CMF Action" i18n:domain="cmf_default">
31 <property name="title" i18n:translate="">Login</property>
32 <property name="description" i18n:translate=""></property>
33 <property name="url_expr">string:${portal_url}/login_form</property>
34 <property name="icon_expr"></property>
35 <property name="available_expr">not: member</property>
36 <property name="permissions">
37 <element value="View"/>
38 </property>
39 <property name="visible">True</property>
40 </object>
41 <object name="my_albums" meta_type="CMF Action" i18n:domain="portfolio">
42 <property name="title" i18n:translate="">My albums</property>
43 <property name="description" i18n:translate=""></property>
44 <property name="url_expr">string:${portal_url}/member_albums</property>
45 <property name="icon_expr"></property>
46 <property name="available_expr">member</property>
47 <property name="permissions">
48 <element value="View"/>
49 </property>
50 <property name="visible">True</property>
51 </object>
52 <object name="my_orders" meta_type="CMF Action" i18n:domain="photoprint">
53 <property name="title" i18n:translate="">My orders</property>
54 <property name="description" i18n:translate=""></property>
55 <property name="url_expr">string:${portal_url}/my_orders</property>
56 <property name="icon_expr"></property>
57 <property name="available_expr">member</property>
58 <property name="permissions">
59 <element value="View"/>
60 </property>
61 <property name="visible">True</property>
62 </object>
63 <object name="mystuff" meta_type="CMF Action" i18n:domain="cmf_default">
64 <property name="title" i18n:translate="">My stuff</property>
65 <property name="description" i18n:translate=""></property>
66 <property
67 name="url_expr">string:${portal/portal_membership/getHomeUrl}/folder_contents</property>
68 <property name="icon_expr"></property>
69 <property
70 name="available_expr">python: member and portal.portal_membership.getHomeFolder()</property>
71 <property name="permissions">
72 <element value="View"/>
73 </property>
74 <property name="visible">True</property>
75 </object>
76 <object name="addFavorite" meta_type="CMF Action" i18n:domain="cmf_default">
77 <property name="title" i18n:translate="">Add to favorites</property>
78 <property name="description" i18n:translate=""></property>
79 <property name="url_expr">string:${object_url}/addtoFavorites</property>
80 <property name="icon_expr"></property>
81 <property
82 name="available_expr">portal/portal_membership/getHomeFolder</property>
83 <property name="permissions">
84 <element value="View"/>
85 </property>
86 <property name="visible">False</property>
87 </object>
88 <object name="favorites" meta_type="CMF Action" i18n:domain="cmf_default">
89 <property name="title" i18n:translate="">My favorites</property>
90 <property name="description" i18n:translate=""></property>
91 <property
92 name="url_expr">string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents</property>
93 <property name="icon_expr"></property>
94 <property
95 name="available_expr">python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites")</property>
96 <property name="permissions">
97 <element value="View"/>
98 </property>
99 <property name="visible">False</property>
100 </object>
101 <object name="visionneuses" meta_type="CMF Action" i18n:domain="portfolio">
102 <property name="title" i18n:translate="">My lightboxes</property>
103 <property name="description" i18n:translate=""></property>
104 <property name="url_expr">string:${object_url}/visionneuses</property>
105 <property name="icon_expr"></property>
106 <property name="available_expr"></property>
107 <property name="permissions">
108 <element value="View"/>
109 </property>
110 <property name="visible">False</property>
111 </object>
112 <object name="preferences" meta_type="CMF Action" i18n:domain="cmf_default">
113 <property name="title" i18n:translate="">Preferences</property>
114 <property name="description" i18n:translate=""></property>
115 <property name="url_expr">string:${portal_url}/personalize_form</property>
116 <property name="icon_expr"></property>
117 <property name="available_expr">member</property>
118 <property name="permissions">
119 <element value="View"/>
120 </property>
121 <property name="visible">True</property>
122 </object>
123 <object name="logout" meta_type="CMF Action" i18n:domain="cmf_default">
124 <property name="title" i18n:translate="">Log out</property>
125 <property name="description" i18n:translate=""></property>
126 <property name="url_expr">string:${portal_url}/logout?noajax=1</property>
127 <property name="icon_expr"></property>
128 <property name="available_expr">member</property>
129 <property name="permissions">
130 <element value="View"/>
131 </property>
132 <property name="visible">True</property>
133 </object>
134 <object name="logged_in" meta_type="CMF Action" i18n:domain="cmf_default">
135 <property name="title" i18n:translate="">Logged in</property>
136 <property name="description" i18n:translate=""></property>
137 <property
138 name="url_expr">string:${portal_url}/homepage_dispatcher</property>
139 <property name="icon_expr"></property>
140 <property name="available_expr"></property>
141 <property name="permissions">
142 <element value="View"/>
143 </property>
144 <property name="visible">False</property>
145 </object>
146 <object name="join" meta_type="CMF Action" i18n:domain="cmf_default">
147 <property name="title" i18n:translate="">Join</property>
148 <property name="description" i18n:translate=""></property>
149 <property
150 name="url_expr">string:${portal_url}/customer_join_form</property>
151 <property name="icon_expr"></property>
152 <property name="available_expr">not: member</property>
153 <property name="permissions">
154 <element value="Add portal member"/>
155 </property>
156 <property name="visible">True</property>
157 </object>
158 </object>
159 <object name="folder" meta_type="CMF Action Category">
160 <property name="title"></property>
161 <object name="folderContents" meta_type="CMF Action" i18n:domain="plinn">
162 <property name="title" i18n:translate="">List</property>
163 <property name="description" i18n:translate=""></property>
164 <property name="url_expr">string:${folder_url}/folder_contents</property>
165 <property name="icon_expr"></property>
166 <property
167 name="available_expr">python:member and folder is not object and object.portal_type !='Event'</property>
168 <property name="permissions">
169 <element value="List folder contents"/>
170 </property>
171 <property name="visible">True</property>
172 </object>
173 </object>
174 <object name="global" meta_type="CMF Action Category">
175 <property name="title"></property>
176 <object name="manage_boxes" meta_type="CMF Action" i18n:domain="plinn">
177 <property name="title" i18n:translate="">Manage Boxes</property>
178 <property name="description" i18n:translate=""></property>
179 <property
180 name="url_expr">string:${portal_url}/manage_boxes?noajax=1</property>
181 <property name="icon_expr"></property>
182 <property name="available_expr"></property>
183 <property name="permissions">
184 <element value="Manage portal"/>
185 </property>
186 <property name="visible">False</property>
187 </object>
188 <object name="send_email" meta_type="CMF Action" i18n:domain="plinn">
189 <property name="title" i18n:translate="">Send an email</property>
190 <property name="description" i18n:translate=""></property>
191 <property name="url_expr">string:${object_url}/send_email_form</property>
192 <property name="icon_expr"></property>
193 <property name="available_expr">member</property>
194 <property name="permissions">
195 <element value="Manage portal"/>
196 </property>
197 <property name="visible">True</property>
198 </object>
199 <object name="undo" meta_type="CMF Action" i18n:domain="cmf_default">
200 <property name="title" i18n:translate="">Undo</property>
201 <property name="description" i18n:translate=""></property>
202 <property name="url_expr">string:${portal_url}/undo_form</property>
203 <property name="icon_expr"></property>
204 <property name="available_expr">member</property>
205 <property name="permissions">
206 <element value="Manage portal"/>
207 </property>
208 <property name="visible">True</property>
209 </object>
210 <object name="configPortal" meta_type="CMF Action" i18n:domain="plinn">
211 <property name="title" i18n:translate="">Configure Portal</property>
212 <property name="description" i18n:translate=""></property>
213 <property name="url_expr">string:${portal_url}/reconfig_form</property>
214 <property name="icon_expr"></property>
215 <property name="available_expr"></property>
216 <property name="permissions">
217 <element value="Manage portal"/>
218 </property>
219 <property name="visible">True</property>
220 </object>
221 <object name="manage_direcories" meta_type="CMF Action" i18n:domain="plinn">
222 <property name="title" i18n:translate="">Directory</property>
223 <property name="description" i18n:translate=""></property>
224 <property name="url_expr">string:${portal_url}/groups_members</property>
225 <property name="icon_expr"></property>
226 <property name="available_expr"></property>
227 <property name="permissions">
228 <element value="Manage Groups"/>
229 </property>
230 <property name="visible">True</property>
231 </object>
232 </object>
233 <object name="site_menu" meta_type="CMF Action Category">
234 <property name="title"></property>
235 <object name="images" meta_type="CMF Action" i18n:domain="plinn">
236 <property name="title" i18n:translate="">Images</property>
237 <property name="description" i18n:translate=""></property>
238 <property name="url_expr">string:${portal_url}/Images</property>
239 <property name="icon_expr"></property>
240 <property name="available_expr"></property>
241 <property name="permissions">
242 <element value="View"/>
243 </property>
244 <property name="visible">True</property>
245 </object>
246 <!--
247 <object name="boutique" meta_type="CMF Action" i18n:domain="plinn">
248 <property name="title" i18n:translate="">Shop</property>
249 <property name="description" i18n:translate=""></property>
250 <property name="url_expr">string:${portal_url}/Boutique</property>
251 <property name="icon_expr"></property>
252 <property name="available_expr"></property>
253 <property name="permissions">
254 <element value="View"/>
255 </property>
256 <property name="visible">True</property>
257 </object>
258 -->
259 <!--
260 <object name="services" meta_type="CMF Action" i18n:domain="plinn">
261 <property name="title" i18n:translate="">Services</property>
262 <property name="description" i18n:translate=""></property>
263 <property name="url_expr">string:${portal_url}/services</property>
264 <property name="icon_expr"></property>
265 <property name="available_expr"></property>
266 <property name="permissions">
267 <element value="View"/>
268 </property>
269 <property name="visible">True</property>
270 </object>
271 -->
272 <object name="photographes" meta_type="CMF Action" i18n:domain="plinn">
273 <property name="title" i18n:translate="">Photographers</property>
274 <property name="description" i18n:translate=""></property>
275 <property name="url_expr">string:${portal_url}/photographers</property>
276 <property name="icon_expr"></property>
277 <property name="available_expr"></property>
278 <property name="permissions">
279 <element value="View"/>
280 </property>
281 <property name="visible">True</property>
282 </object>
283 </object>
284 <object name="site_related" meta_type="CMF Action Category">
285 <property name="title"></property>
286 <object name="credits" meta_type="CMF Action" i18n:domain="plinn">
287 <property name="title" i18n:translate="">Credits</property>
288 <property name="description" i18n:translate=""></property>
289 <property name="url_expr">string:${portal_url}/credits</property>
290 <property name="icon_expr"></property>
291 <property name="available_expr"></property>
292 <property name="permissions">
293 <element value="View"/>
294 </property>
295 <property name="visible">True</property>
296 </object>
297 <object name="about" meta_type="CMF Action" i18n:domain="plinn">
298 <property name="title" i18n:translate="">About</property>
299 <property name="description">realis</property>
300 <property name="url_expr">string:${portal_url}/about</property>
301 <property name="icon_expr"></property>
302 <property name="available_expr"></property>
303 <property name="permissions">
304 <element value="View"/>
305 </property>
306 <property name="visible">True</property>
307 </object>
308 <object name="contact" meta_type="CMF Action" i18n:domain="plinn">
309 <property name="title" i18n:translate="">Contact</property>
310 <property name="description" i18n:translate=""></property>
311 <property name="url_expr">string:${portal_url}/contact</property>
312 <property name="icon_expr"></property>
313 <property name="available_expr"></property>
314 <property name="permissions">
315 <element value="View"/>
316 </property>
317 <property name="visible">True</property>
318 </object>
319 </object>
320 <object name="discussion" meta_type="CMF Action Category">
321 <property name="title"></property>
322 <object name="reply" meta_type="CMF Action" i18n:domain="plinn">
323 <property name="title" i18n:translate="">Add comment...</property>
324 <property name="description" i18n:translate=""></property>
325 <property
326 name="url_expr">string:${object_url}/discussion_reply_form</property>
327 <property name="icon_expr"></property>
328 <property
329 name="available_expr">python: object is not None and object.meta_type != 'Discussion Item' and portal.portal_discussion.isDiscussionAllowedFor(object)</property>
330 <property name="permissions">
331 <element value="Reply to item"/>
332 </property>
333 <property name="visible">True</property>
334 </object>
335 </object>
336 <object name="object" meta_type="CMF Action Category">
337 <property name="title"></property>
338 <object name="noajax" meta_type="CMF Action" i18n:domain="cmf_default">
339 <property name="title" i18n:translate="">Syndicate</property>
340 <property name="description" i18n:translate=""></property>
341 <property name="url_expr">string:${folder_url}/synPropertiesForm</property>
342 <property name="icon_expr"></property>
343 <property
344 name="available_expr">python: folder is object and portal.portal_syndication.isSiteSyndicationAllowed()</property>
345 <property name="permissions">
346 <element value="Manage properties"/>
347 </property>
348 <property name="visible">True</property>
349 </object>
350 <object name="calendar_view" meta_type="CMF Action" i18n:domain="plinn">
351 <property name="title" i18n:translate="">Calendar View</property>
352 <property name="description" i18n:translate=""></property>
353 <property name="url_expr">string:${folder_url}/calendar_view</property>
354 <property name="icon_expr"></property>
355 <property
356 name="available_expr">python:member and folder is object and object.portal_type in ['Plinn Folder', 'Portfolio']</property>
357 <property name="permissions">
358 <element value="List folder contents"/>
359 </property>
360 <property name="visible">True</property>
361 </object>
362 </object>
363 <object name="customer" meta_type="CMF Action Category">
364 <property name="title"></property>
365 <object name="join" meta_type="CMF Action" i18n:domain="plinn">
366 <property name="title" i18n:translate="">Join</property>
367 <property name="description" i18n:translate=""></property>
368 <property
369 name="url_expr">string:${portal_url}/customer_join_form</property>
370 <property name="icon_expr"></property>
371 <property name="available_expr">not: member</property>
372 <property name="permissions">
373 <element value="Add portal member"/>
374 </property>
375 <property name="visible">True</property>
376 </object>
377 <object name="login" meta_type="CMF Action" i18n:domain="plinn">
378 <property name="title" i18n:translate="">Login</property>
379 <property name="description" i18n:translate=""></property>
380 <property
381 name="url_expr">string:${portal_url}/customer_login_form</property>
382 <property name="icon_expr"></property>
383 <property name="available_expr">not: member</property>
384 <property name="permissions">
385 <element value="View"/>
386 </property>
387 <property name="visible">True</property>
388 </object>
389 </object>
390 </object>