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