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