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";
89 protectedBy = "<public>";
90 actionClass = "UIxMailFolderActions";
91 actionName = "subscribe";
94 protectedBy = "<public>";
95 actionClass = "UIxMailFolderActions";
96 actionName = "unsubscribe";
100 pageName = "UIxMailListView";
103 protectedBy = "View";
104 pageName = "UIxMailAjaxRequest";
107 protectedBy = "View";
108 pageName = "UIxMailListView";
110 GET = { /* hack to make it work as the default method */
111 protectedBy = "View";
112 pageName = "UIxMailListView";
114 markMessageUnread = {
115 protectedBy = "View";
116 pageName = "UIxMailListView";
117 actionName = "markMessageUnread";
120 protectedBy = "View";
121 pageName = "UIxMailListView";
122 actionName = "markMessageRead";
125 protectedBy = "View";
126 pageName = "UIxMailListView";
127 actionName = "getMail";
130 protectedBy = "View";
131 pageName = "UIxMailListView";
132 actionName = "expunge";
135 protectedBy = "View";
136 actionClass = "UIxMailFolderActions";
137 actionName = "createFolder";
140 protectedBy = "View";
141 actionClass = "UIxMailFolderActions";
142 actionName = "renameFolder";
145 protectedBy = "View";
146 actionClass = "UIxMailFolderActions";
147 actionName = "deleteFolder";
150 protectedBy = "View";
151 actionClass = "UIxMailEditorAction";
152 actionName = "compose";
155 protectedBy = "ReadAcls";
156 pageName = "UIxMailUserRightsEditor";
159 protectedBy = "SaveAcls";
160 pageName = "UIxMailUserRightsEditor";
161 actionName = "saveUserRights";
167 /* just a new toolbar, other things come from SOGoMailFolder */
170 protectedBy = "View";
171 value = "SOGoMailObject.toolbar";
176 protectedBy = "View";
177 actionClass = "UIxMailFolderActions";
178 actionName = "emptyTrash";
186 protectedBy = "View";
187 value = "SOGoMailObject.toolbar";
192 protectedBy = "View";
193 pageName = "UIxMailView";
196 protectedBy = "View";
197 pageName = "UIxMailPopupView";
200 protectedBy = "View";
201 pageName = "UIxMailView";
205 protectedBy = "View";
206 pageName = "UIxMailView";
207 actionName = "delete";
210 protectedBy = "View";
211 pageName = "UIxMailView";
212 actionName = "trash";
215 protectedBy = "View";
216 pageName = "UIxMailView";
220 protectedBy = "View";
221 pageName = "UIxMailEditor";
224 protectedBy = "View";
225 actionClass = "UIxMailEditorAction";
226 actionName = "compose";
229 protectedBy = "View";
230 actionClass = "UIxMailReplyAction";
231 actionName = "reply";
234 protectedBy = "View";
235 actionClass = "UIxMailReplyAction";
236 actionName = "replyall";
239 protectedBy = "View";
240 actionClass = "UIxMailForwardAction";
241 actionName = "forward";
249 protectedBy = "View";
250 value = "SOGoMailObject.toolbar";
255 protectedBy = "View";
256 pageName = "UIxMailMainFrame";
259 protectedBy = "View";
260 pageName = "UIxMailMainFrame";
261 actionName = "compose";
264 protectedBy = "View";
265 pageName = "UIxMailAccountsView";
273 protectedBy = "View";
274 value = "SOGoMailObject.toolbar";
279 protectedBy = "View";
280 actionClass = "UIxMailEditorAction";
281 actionName = "compose";
284 protectedBy = "View";
285 actionClass = "UIxMailAccountActions";
286 actionName = "listMailboxes";
289 protectedBy = "View";
290 actionClass = "UIxMailFolderActions";
291 actionName = "createFolder";
299 protectedBy = "View";
300 value = ( /* the toolbar groups */
303 image = "tb-mail-getmail-flat-24x24.png";
304 cssClass = "tbicon_getmail"; label = "Get Mail"; },
306 link = "#"; // "compose"; // target = "_blank";
308 onclick = "return openMessageWindow(null, 'compose');";
309 image = "tb-mail-write-flat-24x24.png";
310 cssClass = "tbicon_compose"; label = "Write"; },
317 protectedBy = "View";
318 pageName = "UIxMailListView";
321 protectedBy = "View";
322 pageName = "UIxMailListView";
325 protectedBy = "View";
326 actionClass = "UIxMailEditorAction";
327 actionName = "compose";
335 protectedBy = "View";
336 value = "SOGoDraftObject.toolbar";
340 view = { /* somewhat hackish */
341 protectedBy = "View";
342 pageName = "UIxMailEditor";
345 protectedBy = "View";
346 pageName = "UIxMailEditor";
350 protectedBy = "View";
351 pageName = "UIxMailEditor";
355 protectedBy = "View";
356 pageName = "UIxMailEditor";
357 actionName = "delete";
361 protectedBy = "View";
362 pageName = "UIxMailEditorAttach";
363 actionName = "viewAttachments";
366 protectedBy = "View";
367 pageName = "UIxMailEditorAttach";
368 actionName = "attach";
371 protectedBy = "View";
372 pageName = "UIxMailEditorAttach";
373 actionName = "deleteAttachment";
376 protectedBy = "View";
377 pageName = "UIxMailEditor";
385 /* SOGoSieveScriptsFolder = {
388 protectedBy = "View";
393 image = "tb-mail-getmail-flat-24x24.png";
394 cssClass = "tbicon_getmail"; label = "Get Mail";
397 link = "#"; // "compose"; // target = "_blank";
398 onclick = "clickedNewFilter(this); return false";
399 image = "tb-mail-write-flat-24x24.png";
400 cssClass = "tbicon_compose"; label = "New Filter";
405 cssClass = "tbicon_delete"; label = "Delete"; },
412 protectedBy = "View";
413 pageName = "UIxFilterList";
416 protectedBy = "View";
417 pageName = "UIxFilterList";
418 actionName = "create";
423 SOGoSieveScriptObject = {
426 protectedBy = "View";
429 onclick = "clickedEditorSave(this);return false;";
430 image = "tb-mail-file-flat-24x24.png";
431 cssClass = "tbicon_save"; label = "Save"; },
433 onclick = "clickedEditorDelete(this);return false;";
434 image = "tb-mail-delete-flat-24x24.png";
435 cssClass = "tbicon_delete"; label = "Delete"; },
442 protectedBy = "View";
443 pageName = "UIxSieveEditor";
447 protectedBy = "View";
448 pageName = "UIxSieveEditor";
452 protectedBy = "View";
453 pageName = "UIxSieveEditor";
454 actionName = "delete";