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