5d45e64de9
Monotone-Parent: a94fdd73f46f13c408afc631567411d8f76242ba Monotone-Revision: 9a1990daa03b7969b33420752ca0d11ef89f8d64 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-07-06T19:48:36 Monotone-Branch: ca.inverse.sogo
87 lines
2.8 KiB
Perl
87 lines
2.8 KiB
Perl
( /* the toolbar groups -*-cperl-*- */
|
|
( /* first group */
|
|
{ link = "getMail";
|
|
image = "tb-mail-getmail-flat-24x24.png";
|
|
cssClass = "tbicon_getmail"; label = "Get Mail"; },
|
|
|
|
{ link = "#"; // "compose"; // target = "_blank";
|
|
isSafe = NO;
|
|
image = "tb-mail-write-flat-24x24.png";
|
|
onclick = "clickedCompose(this);return false;";
|
|
cssClass = "tbicon_compose"; label = "Write"; },
|
|
),
|
|
|
|
|
|
( // second group
|
|
{ link = "#"; isSafe = NO;
|
|
onclick="openMessageWindowsForSelection(this, 'reply'); return false;";
|
|
image = "tb-mail-reply-flat-24x24.png";
|
|
cssClass = "tbicon_reply"; label = "Reply"; },
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
onclick="openMessageWindowsForSelection(this, 'replyall'); return false;";
|
|
image = "tb-mail-replyall-flat-24x24.png";
|
|
cssClass = "tbicon_replyall"; label = "Reply All"; },
|
|
|
|
{ link = "#"; isSafe = NO;
|
|
onclick="openMessageWindowsForSelection(this, 'forward'); return false;";
|
|
image = "tb-mail-forward-flat-24x24.png";
|
|
cssClass = "tbicon_forward"; label = "Forward"; },
|
|
),
|
|
|
|
|
|
( // third group
|
|
/* TODO: maybe this should be a default or get enabled with no trash writes
|
|
{ link = "expunge"; isSafe = NO;
|
|
enabled = clientObject.isDeleteAndExpungeAllowed;
|
|
image = "tb-mail-delete-flat-24x24.png";
|
|
cssClass = "tbicon_delete"; label = "Expunge"; },
|
|
*/
|
|
|
|
// 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;
|
|
image = "tb-mail-delete-flat-24x24.png";
|
|
cssClass = "tbicon_delete"; label = "Delete";
|
|
}
|
|
,
|
|
|
|
/* TODO: enable when implemented
|
|
// 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";
|
|
}
|
|
,
|
|
*/
|
|
),
|
|
|
|
|
|
( // fourth group (folders)
|
|
{ link = "#"; onclick="return ctxFolderAdd(this)";
|
|
enabled = "clientObject.isCreateAllowed";
|
|
isSafe = NO;
|
|
image = "tbtb_folderadd.png";
|
|
cssClass = "tbicon_folderadd"; label = "Create";
|
|
}
|
|
,
|
|
{ link = "#"; onclick="return ctxFolderDelete(this)";
|
|
enabled = "clientObject.isCreateAllowed"; // TODO: correct?
|
|
isSafe = NO;
|
|
image = "tbtb_folderdel.png";
|
|
cssClass = "tbicon_folderdel"; label = "Delete"; },
|
|
),
|
|
|
|
/*
|
|
( // fourth group
|
|
//TODO: enable when we can print ( #1207)
|
|
// { link = "#"; cssClass = "tbicon_print"; label = "Print"; },
|
|
|
|
{
|
|
link = "#"; cssClass = "tbicon_stop"; label = "Stop"; },
|
|
)
|
|
*/
|
|
)
|