La permission « Use Factories » n'existe plus.
[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="realis">
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 <object name="boutique" meta_type="CMF Action" i18n:domain="realis">
247 <property name="title" i18n:translate="">Boutique</property>
248 <property name="description" i18n:translate=""></property>
249 <property name="url_expr">string:${portal_url}/Boutique</property>
250 <property name="icon_expr"></property>
251 <property name="available_expr"></property>
252 <property name="permissions">
253 <element value="View"/>
254 </property>
255 <property name="visible">True</property>
256 </object>
257 <object name="services" meta_type="CMF Action" i18n:domain="realis">
258 <property name="title" i18n:translate="">Services</property>
259 <property name="description" i18n:translate=""></property>
260 <property name="url_expr">string:${portal_url}/services</property>
261 <property name="icon_expr"></property>
262 <property name="available_expr"></property>
263 <property name="permissions">
264 <element value="View"/>
265 </property>
266 <property name="visible">True</property>
267 </object>
268 <object name="photographes" meta_type="CMF Action" i18n:domain="realis">
269 <property name="title" i18n:translate="">Photographes</property>
270 <property name="description" i18n:translate=""></property>
271 <property name="url_expr">string:${portal_url}/photographes</property>
272 <property name="icon_expr"></property>
273 <property name="available_expr"></property>
274 <property name="permissions">
275 <element value="View"/>
276 </property>
277 <property name="visible">True</property>
278 </object>
279 </object>
280 <object name="site_related" meta_type="CMF Action Category">
281 <property name="title"></property>
282 <object name="credits" meta_type="CMF Action" i18n:domain="realis">
283 <property name="title" i18n:translate="">Credits</property>
284 <property name="description" i18n:translate=""></property>
285 <property name="url_expr">string:${portal_url}/credits</property>
286 <property name="icon_expr"></property>
287 <property name="available_expr"></property>
288 <property name="permissions">
289 <element value="View"/>
290 </property>
291 <property name="visible">False</property>
292 </object>
293 <object name="about" meta_type="CMF Action">
294 <property name="title">À propos</property>
295 <property name="description">realis</property>
296 <property name="url_expr">string:${portal_url}/about</property>
297 <property name="icon_expr"></property>
298 <property name="available_expr"></property>
299 <property name="permissions">
300 <element value="View"/>
301 </property>
302 <property name="visible">True</property>
303 </object>
304 <object name="contact" meta_type="CMF Action" i18n:domain="realis">
305 <property name="title" i18n:translate="">Contact</property>
306 <property name="description" i18n:translate=""></property>
307 <property name="url_expr">string:${portal_url}/contact</property>
308 <property name="icon_expr"></property>
309 <property name="available_expr"></property>
310 <property name="permissions">
311 <element value="View"/>
312 </property>
313 <property name="visible">True</property>
314 </object>
315 </object>
316 <object name="discussion" meta_type="CMF Action Category">
317 <property name="title"></property>
318 <object name="reply" meta_type="CMF Action" i18n:domain="plinn">
319 <property name="title" i18n:translate="">Add comment...</property>
320 <property name="description" i18n:translate=""></property>
321 <property
322 name="url_expr">string:${object_url}/discussion_reply_form</property>
323 <property name="icon_expr"></property>
324 <property
325 name="available_expr">python: object is not None and object.meta_type != 'Discussion Item' and portal.portal_discussion.isDiscussionAllowedFor(object)</property>
326 <property name="permissions">
327 <element value="Reply to item"/>
328 </property>
329 <property name="visible">True</property>
330 </object>
331 </object>
332 <object name="object" meta_type="CMF Action Category">
333 <property name="title"></property>
334 <object name="noajax" meta_type="CMF Action" i18n:domain="cmf_default">
335 <property name="title" i18n:translate="">Syndicate</property>
336 <property name="description" i18n:translate=""></property>
337 <property name="url_expr">string:${folder_url}/synPropertiesForm</property>
338 <property name="icon_expr"></property>
339 <property
340 name="available_expr">python: folder is object and portal.portal_syndication.isSiteSyndicationAllowed()</property>
341 <property name="permissions">
342 <element value="Manage properties"/>
343 </property>
344 <property name="visible">True</property>
345 </object>
346 <object name="calendar_view" meta_type="CMF Action" i18n:domain="plinn">
347 <property name="title" i18n:translate="">Calendar View</property>
348 <property name="description" i18n:translate=""></property>
349 <property name="url_expr">string:${folder_url}/calendar_view</property>
350 <property name="icon_expr"></property>
351 <property
352 name="available_expr">python:member and folder is object and object.portal_type in ['Plinn Folder', 'Portfolio']</property>
353 <property name="permissions">
354 <element value="List folder contents"/>
355 </property>
356 <property name="visible">True</property>
357 </object>
358 </object>
359 <object name="customer" meta_type="CMF Action Category">
360 <property name="title"></property>
361 <object name="join" meta_type="CMF Action" i18n:domain="realis">
362 <property name="title" i18n:translate="">Join</property>
363 <property name="description" i18n:translate=""></property>
364 <property
365 name="url_expr">string:${portal_url}/customer_join_form</property>
366 <property name="icon_expr"></property>
367 <property name="available_expr">not: member</property>
368 <property name="permissions">
369 <element value="Add portal member"/>
370 </property>
371 <property name="visible">True</property>
372 </object>
373 <object name="login" meta_type="CMF Action" i18n:domain="realis">
374 <property name="title" i18n:translate="">Login</property>
375 <property name="description" i18n:translate=""></property>
376 <property
377 name="url_expr">string:${portal_url}/customer_login_form</property>
378 <property name="icon_expr"></property>
379 <property name="available_expr">not: member</property>
380 <property name="permissions">
381 <element value="View"/>
382 </property>
383 <property name="visible">True</property>
384 </object>
385 </object>
386 </object>