2006-07-06 21:48:36 +02:00
|
|
|
( /* the toolbar groups -*-cperl-*- */
|
2006-06-15 21:34:10 +02:00
|
|
|
( /* first group */
|
|
|
|
{ link = "getMail";
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tb-mail-getmail-flat-24x24.png";
|
2006-06-15 21:34:10 +02:00
|
|
|
cssClass = "tbicon_getmail"; label = "Get Mail"; },
|
|
|
|
|
|
|
|
{ link = "#"; // "compose"; // target = "_blank";
|
|
|
|
isSafe = NO;
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tb-mail-write-flat-24x24.png";
|
2006-06-15 21:34:10 +02:00
|
|
|
onclick = "clickedCompose(this);return false;";
|
|
|
|
cssClass = "tbicon_compose"; label = "Write"; },
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
( // second group
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
|
|
onclick="openMessageWindowsForSelection(this, 'reply'); return false;";
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tb-mail-reply-flat-24x24.png";
|
2006-06-15 21:34:10 +02:00
|
|
|
cssClass = "tbicon_reply"; label = "Reply"; },
|
|
|
|
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
|
|
onclick="openMessageWindowsForSelection(this, 'replyall'); return false;";
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tb-mail-replyall-flat-24x24.png";
|
2006-06-15 21:34:10 +02:00
|
|
|
cssClass = "tbicon_replyall"; label = "Reply All"; },
|
|
|
|
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
|
|
onclick="openMessageWindowsForSelection(this, 'forward'); return false;";
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tb-mail-forward-flat-24x24.png";
|
2006-06-15 21:34:10 +02:00
|
|
|
cssClass = "tbicon_forward"; label = "Forward"; },
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
( // third group
|
|
|
|
/* TODO: maybe this should be a default or get enabled with no trash writes
|
2006-07-06 21:48:36 +02:00
|
|
|
{ link = "expunge"; isSafe = NO;
|
|
|
|
enabled = clientObject.isDeleteAndExpungeAllowed;
|
|
|
|
image = "tb-mail-delete-flat-24x24.png";
|
|
|
|
cssClass = "tbicon_delete"; label = "Expunge"; },
|
2006-06-15 21:34:10 +02:00
|
|
|
*/
|
2006-07-06 21:48:36 +02:00
|
|
|
|
2006-06-15 21:34:10 +02:00
|
|
|
// TODO: rename to uixTrashSelectedMessages, be more consistent with
|
|
|
|
// SOGoMailObject.toolbar (trash AND delete button)
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
|
|
onclick = "uixDeleteSelectedMessages(this); return false;";
|
|
|
|
enabled = clientObject.isDeleteAndExpungeAllowed;
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tb-mail-delete-flat-24x24.png";
|
|
|
|
cssClass = "tbicon_delete"; label = "Delete";
|
|
|
|
}
|
|
|
|
,
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
/* TODO: enable when implemented
|
2006-07-06 21:48:36 +02:00
|
|
|
// TODO: enable when we know how to mark junk #971)
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
|
|
image = "tb-mail-junk-flat-24x24.png";
|
|
|
|
cssClass = "tbicon_junk"; label = "Junk";
|
|
|
|
}
|
|
|
|
,
|
2006-06-15 21:34:10 +02:00
|
|
|
*/
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
( // fourth group (folders)
|
|
|
|
{ link = "#"; onclick="return ctxFolderAdd(this)";
|
|
|
|
enabled = "clientObject.isCreateAllowed";
|
|
|
|
isSafe = NO;
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tbtb_folderadd.png";
|
|
|
|
cssClass = "tbicon_folderadd"; label = "Create";
|
|
|
|
}
|
|
|
|
,
|
2006-06-15 21:34:10 +02:00
|
|
|
{ link = "#"; onclick="return ctxFolderDelete(this)";
|
|
|
|
enabled = "clientObject.isCreateAllowed"; // TODO: correct?
|
|
|
|
isSafe = NO;
|
2006-07-06 21:48:36 +02:00
|
|
|
image = "tbtb_folderdel.png";
|
2006-06-15 21:34:10 +02:00
|
|
|
cssClass = "tbicon_folderdel"; label = "Delete"; },
|
|
|
|
),
|
|
|
|
|
2006-07-06 21:48:36 +02:00
|
|
|
/*
|
2006-06-15 21:34:10 +02:00
|
|
|
( // fourth group
|
2006-07-06 21:48:36 +02:00
|
|
|
//TODO: enable when we can print ( #1207)
|
|
|
|
// { link = "#"; cssClass = "tbicon_print"; label = "Print"; },
|
|
|
|
|
|
|
|
{
|
|
|
|
link = "#"; cssClass = "tbicon_stop"; label = "Stop"; },
|
|
|
|
)
|
|
|
|
*/
|
2006-06-15 21:34:10 +02:00
|
|
|
)
|