1 { /* -*-javascript-*- */
2 requires = ( MAIN, 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 pageName = "UIxMailFolderACLEditor";
139 protectedBy = "View";
140 actionClass = "UIxMailEditorAction";
141 actionName = "compose";
147 /* just a new toolbar, other things come from SOGoMailFolder */
150 protectedBy = "View";
151 value = "SOGoMailObject.toolbar";
156 protectedBy = "View";
157 pageName = "UIxMailListView";
158 actionName = "emptyTrash";
166 protectedBy = "View";
167 value = "SOGoMailObject.toolbar";
172 protectedBy = "View";
173 pageName = "UIxMailView";
176 protectedBy = "View";
177 pageName = "UIxMailPopupView";
180 protectedBy = "View";
181 pageName = "UIxMailView";
185 protectedBy = "View";
186 pageName = "UIxMailView";
187 actionName = "delete";
190 protectedBy = "View";
191 pageName = "UIxMailView";
192 actionName = "trash";
195 protectedBy = "View";
196 pageName = "UIxMailView";
200 protectedBy = "View";
201 pageName = "UIxMailEditor";
204 protectedBy = "View";
205 actionClass = "UIxMailEditorAction";
206 actionName = "compose";
209 protectedBy = "View";
210 actionClass = "UIxMailReplyAction";
211 actionName = "reply";
214 protectedBy = "View";
215 actionClass = "UIxMailReplyAction";
216 actionName = "replyall";
219 protectedBy = "View";
220 actionClass = "UIxMailForwardAction";
221 actionName = "forward";
229 protectedBy = "View";
230 value = "SOGoMailObject.toolbar";
235 protectedBy = "View";
236 pageName = "UIxMailMainFrame";
239 protectedBy = "View";
240 pageName = "UIxMailMainFrame";
241 actionName = "compose";
244 protectedBy = "View";
245 pageName = "UIxMailAccountsView";
253 protectedBy = "View";
254 value = "SOGoMailObject.toolbar";
259 protectedBy = "View";
260 pageName = "UIxMailAccountView";
263 protectedBy = "View";
264 pageName = "UIxMailAccountView";
267 protectedBy = "View";
268 pageName = "UIxMailAddressbook";
271 protectedBy = "View";
272 pageName = "UIxMailAddressbook";
273 actionName = "anais";
276 protectedBy = "View";
277 actionClass = "UIxMailEditorAction";
278 actionName = "compose";
281 protectedBy = "View";
282 pageName = "UIxMailAccountView";
283 actionName = "createFolder";
291 protectedBy = "View";
292 value = ( /* the toolbar groups */
295 image = "tb-mail-getmail-flat-24x24.png";
296 cssClass = "tbicon_getmail"; label = "Get Mail"; },
298 link = "#"; // "compose"; // target = "_blank";
300 onclick = "return openMessageWindow(null, 'compose');";
301 image = "tb-mail-write-flat-24x24.png";
302 cssClass = "tbicon_compose"; label = "Write"; },
309 protectedBy = "View";
310 pageName = "UIxMailListView";
313 protectedBy = "View";
314 pageName = "UIxMailListView";
317 protectedBy = "View";
318 actionClass = "UIxMailEditorAction";
319 actionName = "compose";
327 protectedBy = "View";
328 value = "SOGoDraftObject.toolbar";
332 view = { /* somewhat hackish */
333 protectedBy = "View";
334 pageName = "UIxMailEditor";
337 protectedBy = "View";
338 pageName = "UIxMailEditor";
342 protectedBy = "View";
343 pageName = "UIxMailEditor";
347 protectedBy = "View";
348 pageName = "UIxMailEditor";
349 actionName = "delete";
353 protectedBy = "View";
354 pageName = "UIxMailEditorAttach";
355 actionName = "viewAttachments";
358 protectedBy = "View";
359 pageName = "UIxMailEditorAttach";
360 actionName = "attach";
363 protectedBy = "View";
364 pageName = "UIxMailEditorAttach";
365 actionName = "deleteAttachment";
369 protectedBy = "View";
370 pageName = "UIxMailEditor";
374 protectedBy = "View";
375 pageName = "UIxMailAddressbook";
378 protectedBy = "View";
379 pageName = "UIxMailAddressbook";
380 actionName = "anais";
387 /* SOGoSieveScriptsFolder = {
390 protectedBy = "View";
395 image = "tb-mail-getmail-flat-24x24.png";
396 cssClass = "tbicon_getmail"; label = "Get Mail";
399 link = "#"; // "compose"; // target = "_blank";
400 onclick = "clickedNewFilter(this); return false";
401 image = "tb-mail-write-flat-24x24.png";
402 cssClass = "tbicon_compose"; label = "New Filter";
407 cssClass = "tbicon_delete"; label = "Delete"; },
414 protectedBy = "View";
415 pageName = "UIxFilterList";
418 protectedBy = "View";
419 pageName = "UIxFilterList";
420 actionName = "create";
425 SOGoSieveScriptObject = {
428 protectedBy = "View";
431 onclick = "clickedEditorSave(this);return false;";
432 image = "tb-mail-file-flat-24x24.png";
433 cssClass = "tbicon_save"; label = "Save"; },
435 onclick = "clickedEditorDelete(this);return false;";
436 image = "tb-mail-delete-flat-24x24.png";
437 cssClass = "tbicon_delete"; label = "Delete"; },
444 protectedBy = "View";
445 pageName = "UIxSieveEditor";
449 protectedBy = "View";
450 pageName = "UIxSieveEditor";
454 protectedBy = "View";
455 pageName = "UIxSieveEditor";
456 actionName = "delete";