1 ( /* the toolbar groups */
4 cssClass = "tbicon_getmail"; label = "Get Mail"; },
6 { link = "#"; // "compose"; // target = "_blank";
8 onclick = "clickedCompose(this);return false;";
9 cssClass = "tbicon_compose"; label = "Write"; },
14 { link = "#"; isSafe = NO;
15 onclick="openMessageWindowsForSelection(this, 'reply'); return false;";
16 cssClass = "tbicon_reply"; label = "Reply"; },
18 { link = "#"; isSafe = NO;
19 onclick="openMessageWindowsForSelection(this, 'replyall'); return false;";
20 cssClass = "tbicon_replyall"; label = "Reply All"; },
22 { link = "#"; isSafe = NO;
23 onclick="openMessageWindowsForSelection(this, 'forward'); return false;";
24 cssClass = "tbicon_forward"; label = "Forward"; },
29 /* TODO: maybe this should be a default or get enabled with no trash writes
30 { link = "expunge"; isSafe = NO;
31 enabled = clientObject.isDeleteAndExpungeAllowed;
32 cssClass = "tbicon_delete"; label = "Expunge"; },
35 // TODO: rename to uixTrashSelectedMessages, be more consistent with
36 // SOGoMailObject.toolbar (trash AND delete button)
37 { link = "#"; isSafe = NO;
38 onclick = "uixDeleteSelectedMessages(this); return false;";
39 enabled = clientObject.isDeleteAndExpungeAllowed;
40 cssClass = "tbicon_delete"; label = "Delete"; },
42 /* TODO: enable when implemented
43 // TODO: enable when we know how to mark junk (#971)
44 { link = "#"; isSafe = NO;
45 cssClass = "tbicon_junk"; label = "Junk"; },
50 ( // fourth group (folders)
51 { link = "#"; onclick="return ctxFolderAdd(this)";
52 enabled = "clientObject.isCreateAllowed";
54 cssClass = "tbicon_folderadd"; label = "Create"; },
55 { link = "#"; onclick="return ctxFolderDelete(this)";
56 enabled = "clientObject.isCreateAllowed"; // TODO: correct?
58 cssClass = "tbicon_folderdel"; label = "Delete"; },
63 //TODO: enable when we can print (#1207)
64 // { link = "#"; cssClass = "tbicon_print"; label = "Print"; },
66 { link = "#"; cssClass = "tbicon_stop"; label = "Stop"; },