1 { /* -*-javascript-*- */
2 requires = ( MAIN, MainUI, CommonUI, Mailer ); /* , Sieve */
10 "UIxAppointmentEditor.js",
11 "UIxContactEditor.js",
12 "UIxMailToSelection.js",
16 "tbtv_account_17x17.gif",
17 "tbtv_drafts_17x17.gif",
18 "tbtv_inbox_17x17.gif",
19 "tbtv_junction2_17x17.gif",
20 "tbtv_junction_17x17.gif",
21 "tbtv_leaf_corner_17x17.gif",
22 "tbtv_line_17x17.gif",
23 "tbtv_minus_17x17.gif",
24 "tbtv_plus_17x17.gif",
25 "tbtv_corner_17x17.gif",
26 "tbtv_corner_minus_17x17.gif",
27 "tbtv_corner_plus_17x17.gif",
28 "tbtv_sent_17x17.gif",
29 "tbtv_trash_17x17.gif",
31 "tbtb_addressbook.png",
35 "tbtb_filetofolder.png",
46 "tbtb_compose_addressbook_30x30.png",
47 "tbtb_compose_attach_30x30.png",
48 "tbtb_compose_clip_30x30.png",
49 "tbtb_compose_cut_30x30.png",
50 "tbtb_compose_dup_30x30.png",
51 "tbtb_compose_file_30x30.png",
52 "tbtb_compose_lock_30x30.png",
53 "tbtb_compose_quote_30x30.png",
54 "tbtb_compose_send_30x30.png",
55 "tbtb_compose_spell_30x30.png",
58 "message-mail-read.png",
60 "icon_mark_flagged.gif",
62 "icon_mark_unflagged.gif",
63 "icon_mark_unread.gif",
67 "title_attachment_14x14.png",
70 "title_read_14x14.png",
72 "title_sortdown_12x12.png",
73 "title_sortup_12x12.png",
84 value = "SOGoMailObject.toolbar";
90 pageName = "UIxMailListView";
94 pageName = "UIxMailAjaxRequest";
98 pageName = "UIxMailListView";
100 GET = { /* hack to make it work as the default method */
101 protectedBy = "View";
102 pageName = "UIxMailListView";
104 markMessageUnread = {
105 protectedBy = "View";
106 pageName = "UIxMailListView";
107 actionName = "markMessageUnread";
110 protectedBy = "View";
111 pageName = "UIxMailListView";
112 actionName = "markMessageRead";
115 protectedBy = "View";
116 pageName = "UIxMailListView";
117 actionName = "getMail";
120 protectedBy = "View";
121 pageName = "UIxMailListView";
122 actionName = "expunge";
125 protectedBy = "View";
126 pageName = "UIxMailListView";
127 actionName = "createFolder";
130 protectedBy = "View";
131 pageName = "UIxMailListView";
132 actionName = "deleteFolder";
135 protectedBy = "View";
136 actionClass = "UIxMailEditorAction";
137 actionName = "compose";
140 protectedBy = "ReadAcls";
141 pageName = "UIxMailUserRightsEditor";
144 protectedBy = "SaveAcls";
145 pageName = "UIxMailUserRightsEditor";
146 actionName = "saveUserRights";
152 /* just a new toolbar, other things come from SOGoMailFolder */
155 protectedBy = "View";
156 value = "SOGoMailObject.toolbar";
161 protectedBy = "View";
162 pageName = "UIxMailListView";
163 actionName = "emptyTrash";
171 protectedBy = "View";
172 value = "SOGoMailObject.toolbar";
177 protectedBy = "View";
178 pageName = "UIxMailView";
181 protectedBy = "View";
182 pageName = "UIxMailPopupView";
185 protectedBy = "View";
186 pageName = "UIxMailView";
190 protectedBy = "View";
191 pageName = "UIxMailView";
192 actionName = "delete";
195 protectedBy = "View";
196 pageName = "UIxMailView";
197 actionName = "trash";
200 protectedBy = "View";
201 pageName = "UIxMailView";
205 protectedBy = "View";
206 pageName = "UIxMailEditor";
209 protectedBy = "View";
210 actionClass = "UIxMailEditorAction";
211 actionName = "compose";
214 protectedBy = "View";
215 actionClass = "UIxMailReplyAction";
216 actionName = "reply";
219 protectedBy = "View";
220 actionClass = "UIxMailReplyAction";
221 actionName = "replyall";
224 protectedBy = "View";
225 actionClass = "UIxMailForwardAction";
226 actionName = "forward";
234 protectedBy = "View";
235 value = "SOGoMailObject.toolbar";
240 protectedBy = "View";
241 pageName = "UIxMailMainFrame";
244 protectedBy = "View";
245 pageName = "UIxMailMainFrame";
246 actionName = "compose";
249 protectedBy = "View";
250 pageName = "UIxMailAccountsView";
258 protectedBy = "View";
259 value = "SOGoMailObject.toolbar";
264 protectedBy = "View";
265 pageName = "UIxMailAccountView";
268 protectedBy = "View";
269 pageName = "UIxMailAccountView";
272 protectedBy = "View";
273 actionClass = "UIxMailEditorAction";
274 actionName = "compose";
277 protectedBy = "View";
278 pageName = "UIxMailAccountView";
279 actionName = "createFolder";
287 protectedBy = "View";
288 value = ( /* the toolbar groups */
291 image = "tb-mail-getmail-flat-24x24.png";
292 cssClass = "tbicon_getmail"; label = "Get Mail"; },
294 link = "#"; // "compose"; // target = "_blank";
296 onclick = "return openMessageWindow(null, 'compose');";
297 image = "tb-mail-write-flat-24x24.png";
298 cssClass = "tbicon_compose"; label = "Write"; },
305 protectedBy = "View";
306 pageName = "UIxMailListView";
309 protectedBy = "View";
310 pageName = "UIxMailListView";
313 protectedBy = "View";
314 actionClass = "UIxMailEditorAction";
315 actionName = "compose";
323 protectedBy = "View";
324 value = "SOGoDraftObject.toolbar";
328 view = { /* somewhat hackish */
329 protectedBy = "View";
330 pageName = "UIxMailEditor";
333 protectedBy = "View";
334 pageName = "UIxMailEditor";
338 protectedBy = "View";
339 pageName = "UIxMailEditor";
343 protectedBy = "View";
344 pageName = "UIxMailEditor";
345 actionName = "delete";
349 protectedBy = "View";
350 pageName = "UIxMailEditorAttach";
351 actionName = "viewAttachments";
354 protectedBy = "View";
355 pageName = "UIxMailEditorAttach";
356 actionName = "attach";
359 protectedBy = "View";
360 pageName = "UIxMailEditorAttach";
361 actionName = "deleteAttachment";
364 protectedBy = "View";
365 pageName = "UIxMailEditor";
373 /* SOGoSieveScriptsFolder = {
376 protectedBy = "View";
381 image = "tb-mail-getmail-flat-24x24.png";
382 cssClass = "tbicon_getmail"; label = "Get Mail";
385 link = "#"; // "compose"; // target = "_blank";
386 onclick = "clickedNewFilter(this); return false";
387 image = "tb-mail-write-flat-24x24.png";
388 cssClass = "tbicon_compose"; label = "New Filter";
393 cssClass = "tbicon_delete"; label = "Delete"; },
400 protectedBy = "View";
401 pageName = "UIxFilterList";
404 protectedBy = "View";
405 pageName = "UIxFilterList";
406 actionName = "create";
411 SOGoSieveScriptObject = {
414 protectedBy = "View";
417 onclick = "clickedEditorSave(this);return false;";
418 image = "tb-mail-file-flat-24x24.png";
419 cssClass = "tbicon_save"; label = "Save"; },
421 onclick = "clickedEditorDelete(this);return false;";
422 image = "tb-mail-delete-flat-24x24.png";
423 cssClass = "tbicon_delete"; label = "Delete"; },
430 protectedBy = "View";
431 pageName = "UIxSieveEditor";
435 protectedBy = "View";
436 pageName = "UIxSieveEditor";
440 protectedBy = "View";
441 pageName = "UIxSieveEditor";
442 actionName = "delete";