1 { /* -*-javascript-*- */
2 requires = ( MAIN, MainUI, CommonUI, Mailer, MailPartViewers ); /* , 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 actionClass = "UIxMailFolderActions";
101 actionName = "quotas";
104 protectedBy = "View";
105 pageName = "UIxMailListView";
108 protectedBy = "View";
109 pageName = "UIxMailAjaxRequest";
112 protectedBy = "View";
113 pageName = "UIxMailListView";
115 GET = { /* hack to make it work as the default method */
116 protectedBy = "View";
117 pageName = "UIxMailListView";
119 markMessageUnread = {
120 protectedBy = "View";
121 pageName = "UIxMailListView";
122 actionName = "markMessageUnread";
125 protectedBy = "View";
126 pageName = "UIxMailListView";
127 actionName = "markMessageRead";
130 protectedBy = "View";
131 pageName = "UIxMailListView";
132 actionName = "getMail";
135 protectedBy = "View";
136 pageName = "UIxMailListView";
137 actionName = "expunge";
140 protectedBy = "View";
141 actionClass = "UIxMailFolderActions";
142 actionName = "createFolder";
145 protectedBy = "View";
146 actionClass = "UIxMailFolderActions";
147 actionName = "renameFolder";
150 protectedBy = "View";
151 actionClass = "UIxMailFolderActions";
152 actionName = "deleteFolder";
155 protectedBy = "View";
156 actionClass = "UIxMailEditorAction";
157 actionName = "compose";
160 protectedBy = "ReadAcls";
161 pageName = "UIxMailUserRightsEditor";
164 protectedBy = "SaveAcls";
165 pageName = "UIxMailUserRightsEditor";
166 actionName = "saveUserRights";
172 /* just a new toolbar, other things come from SOGoMailFolder */
175 protectedBy = "View";
176 value = "SOGoMailObject.toolbar";
181 protectedBy = "View";
182 actionClass = "UIxMailFolderActions";
183 actionName = "emptyTrash";
191 protectedBy = "View";
192 value = "SOGoMailObject.toolbar";
197 protectedBy = "View";
198 pageName = "UIxMailView";
201 protectedBy = "View";
202 actionClass = "UIxMailSourceView";
203 actionName = "viewSource";
206 protectedBy = "View";
207 pageName = "UIxMailPopupView";
210 protectedBy = "View";
211 pageName = "UIxMailView";
215 protectedBy = "View";
216 pageName = "UIxMailView";
217 actionName = "delete";
220 protectedBy = "View";
221 pageName = "UIxMailView";
222 actionName = "trash";
225 protectedBy = "View";
226 pageName = "UIxMailView";
230 protectedBy = "View";
231 pageName = "UIxMailEditor";
234 protectedBy = "View";
235 actionClass = "UIxMailEditorAction";
236 actionName = "compose";
239 protectedBy = "View";
240 actionClass = "UIxMailReplyAction";
241 actionName = "reply";
244 protectedBy = "View";
245 actionClass = "UIxMailReplyAction";
246 actionName = "replyall";
249 protectedBy = "View";
250 actionClass = "UIxMailForwardAction";
251 actionName = "forward";
259 protectedBy = "View";
260 value = "SOGoMailObject.toolbar";
265 protectedBy = "View";
266 pageName = "UIxMailMainFrame";
269 protectedBy = "View";
270 pageName = "UIxMailMainFrame";
271 actionName = "compose";
274 protectedBy = "View";
275 pageName = "UIxMailAccountsView";
283 protectedBy = "View";
284 value = "SOGoMailObject.toolbar";
289 protectedBy = "View";
290 actionClass = "UIxMailEditorAction";
291 actionName = "compose";
294 protectedBy = "View";
295 actionClass = "UIxMailAccountActions";
296 actionName = "listMailboxes";
299 protectedBy = "View";
300 actionClass = "UIxMailFolderActions";
301 actionName = "createFolder";
309 protectedBy = "View";
310 value = ( /* the toolbar groups */
313 image = "tb-mail-getmail-flat-24x24.png";
314 cssClass = "tbicon_getmail"; label = "Get Mail"; },
316 link = "#"; // "compose"; // target = "_blank";
318 onclick = "return openMessageWindow(null, 'compose');";
319 image = "tb-mail-write-flat-24x24.png";
320 cssClass = "tbicon_compose"; label = "Write"; },
327 protectedBy = "View";
328 pageName = "UIxMailListView";
331 protectedBy = "View";
332 pageName = "UIxMailListView";
335 protectedBy = "View";
336 actionClass = "UIxMailEditorAction";
337 actionName = "compose";
345 protectedBy = "View";
346 value = "SOGoDraftObject.toolbar";
350 view = { /* somewhat hackish */
351 protectedBy = "View";
352 pageName = "UIxMailView";
355 protectedBy = "View";
356 pageName = "UIxMailEditor";
359 protectedBy = "View";
360 pageName = "UIxMailEditor";
364 protectedBy = "View";
365 pageName = "UIxMailEditor";
366 actionName = "delete";
370 protectedBy = "View";
371 pageName = "UIxMailEditorAttach";
372 actionName = "viewAttachments";
375 protectedBy = "View";
376 pageName = "UIxMailEditorAttach";
377 actionName = "attach";
380 protectedBy = "View";
381 pageName = "UIxMailEditorAttach";
382 actionName = "deleteAttachment";
385 protectedBy = "View";
386 pageName = "UIxMailEditor";
394 /* SOGoSieveScriptsFolder = {
397 protectedBy = "View";
402 image = "tb-mail-getmail-flat-24x24.png";
403 cssClass = "tbicon_getmail"; label = "Get Mail";
406 link = "#"; // "compose"; // target = "_blank";
407 onclick = "clickedNewFilter(this); return false";
408 image = "tb-mail-write-flat-24x24.png";
409 cssClass = "tbicon_compose"; label = "New Filter";
414 cssClass = "tbicon_delete"; label = "Delete"; },
421 protectedBy = "View";
422 pageName = "UIxFilterList";
425 protectedBy = "View";
426 pageName = "UIxFilterList";
427 actionName = "create";
432 SOGoSieveScriptObject = {
435 protectedBy = "View";
438 onclick = "clickedEditorSave(this);return false;";
439 image = "tb-mail-file-flat-24x24.png";
440 cssClass = "tbicon_save"; label = "Save"; },
442 onclick = "clickedEditorDelete(this);return false;";
443 image = "tb-mail-delete-flat-24x24.png";
444 cssClass = "tbicon_delete"; label = "Delete"; },
451 protectedBy = "View";
452 pageName = "UIxSieveEditor";
456 protectedBy = "View";
457 pageName = "UIxSieveEditor";
461 protectedBy = "View";
462 pageName = "UIxSieveEditor";
463 actionName = "delete";