mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 10:27:52 +02:00
Change captions of some toolbar actions in mail
This commit is contained in:
parent
41ed0218d4
commit
fd82fd2edc
@ -192,7 +192,7 @@ class mail_ui
|
|||||||
$sel_options['foldertree'] = $this->getFolderTree(false, null,false);
|
$sel_options['foldertree'] = $this->getFolderTree(false, null,false);
|
||||||
$unsubscribedFolders = $this->mail_bo->fetchUnSubscribedFolders();
|
$unsubscribedFolders = $this->mail_bo->fetchUnSubscribedFolders();
|
||||||
$allFolders = $this->mail_bo->getFolderObjects();
|
$allFolders = $this->mail_bo->getFolderObjects();
|
||||||
|
|
||||||
if (!is_array($content))
|
if (!is_array($content))
|
||||||
{
|
{
|
||||||
if ($profileId)
|
if ($profileId)
|
||||||
@ -993,14 +993,16 @@ class mail_ui
|
|||||||
'group' => $group,
|
'group' => $group,
|
||||||
'children' => array(
|
'children' => array(
|
||||||
'forwardinline' => array(
|
'forwardinline' => array(
|
||||||
'caption' => 'forward inline',
|
'caption' => 'forward',
|
||||||
'icon' => 'mail_forward',
|
'icon' => 'mail_forward',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
|
'hint' => 'forward inline',
|
||||||
'onExecute' => 'javaScript:app.mail.mail_compose',
|
'onExecute' => 'javaScript:app.mail.mail_compose',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
),
|
),
|
||||||
'forwardasattach' => array(
|
'forwardasattach' => array(
|
||||||
'caption' => 'forward as attachment',
|
'caption' => 'forward',
|
||||||
|
'hint' => 'forward as attachment',
|
||||||
'icon' => 'mail_forward',
|
'icon' => 'mail_forward',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'onExecute' => 'javaScript:app.mail.mail_compose',
|
'onExecute' => 'javaScript:app.mail.mail_compose',
|
||||||
@ -1008,8 +1010,9 @@ class mail_ui
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
'composeasnew' => array(
|
'composeasnew' => array(
|
||||||
'caption' => 'Compose as new',
|
'caption' => 'Compose',
|
||||||
'icon' => 'new',
|
'icon' => 'new',
|
||||||
|
'hint' => 'Compose as new',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'onExecute' => 'javaScript:app.mail.mail_compose',
|
'onExecute' => 'javaScript:app.mail.mail_compose',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
@ -1053,7 +1056,7 @@ class mail_ui
|
|||||||
'icon' => 'fileexport',
|
'icon' => 'fileexport',
|
||||||
'children' => array(
|
'children' => array(
|
||||||
'save2disk' => array(
|
'save2disk' => array(
|
||||||
'caption' => 'Save message to disk',
|
'caption' => 'Save to disk',
|
||||||
'hint' => 'Save message to disk',
|
'hint' => 'Save message to disk',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'icon' => 'fileexport',
|
'icon' => 'fileexport',
|
||||||
@ -1061,7 +1064,7 @@ class mail_ui
|
|||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
),
|
),
|
||||||
'save2filemanager' => array(
|
'save2filemanager' => array(
|
||||||
'caption' => 'Save to filemanager',
|
'caption' => 'Filemanager',
|
||||||
'hint' => 'Save message to filemanager',
|
'hint' => 'Save message to filemanager',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'icon' => 'filemanager/navbar',
|
'icon' => 'filemanager/navbar',
|
||||||
@ -1076,7 +1079,7 @@ class mail_ui
|
|||||||
'icon' => 'kmmsgread',
|
'icon' => 'kmmsgread',
|
||||||
'children' => array(
|
'children' => array(
|
||||||
'header' => array(
|
'header' => array(
|
||||||
'caption' => 'Header lines',
|
'caption' => 'Header',
|
||||||
'hint' => 'View header lines',
|
'hint' => 'View header lines',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'icon' => 'kmmsgread',
|
'icon' => 'kmmsgread',
|
||||||
@ -1084,7 +1087,7 @@ class mail_ui
|
|||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
),
|
),
|
||||||
'mailsource' => array(
|
'mailsource' => array(
|
||||||
'caption' => 'Mail Source',
|
'caption' => 'Source',
|
||||||
'hint' => 'View full Mail Source',
|
'hint' => 'View full Mail Source',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'icon' => 'fileexport',
|
'icon' => 'fileexport',
|
||||||
@ -1092,14 +1095,16 @@ class mail_ui
|
|||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
),
|
),
|
||||||
'openastext' => array(
|
'openastext' => array(
|
||||||
'caption' => lang('Open in Text mode'),
|
'caption' => lang('Text mode'),
|
||||||
|
'hint' => 'Open in Text mode',
|
||||||
'group' => ++$group,
|
'group' => ++$group,
|
||||||
'icon' => egw_vfs::mime_icon('text/plain'),
|
'icon' => egw_vfs::mime_icon('text/plain'),
|
||||||
'onExecute' => 'javaScript:app.mail.mail_openAsText',
|
'onExecute' => 'javaScript:app.mail.mail_openAsText',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
),
|
),
|
||||||
'openashtml' => array(
|
'openashtml' => array(
|
||||||
'caption' => lang('Open in HTML mode'),
|
'caption' => lang('HTML mode'),
|
||||||
|
'hint' => 'Open in HTML mode',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'icon' => egw_vfs::mime_icon('text/html'),
|
'icon' => egw_vfs::mime_icon('text/html'),
|
||||||
'onExecute' => 'javaScript:app.mail.mail_openAsHtml',
|
'onExecute' => 'javaScript:app.mail.mail_openAsHtml',
|
||||||
@ -1529,17 +1534,13 @@ unset($query['actions']);
|
|||||||
break;
|
break;
|
||||||
case 'flagged':
|
case 'flagged':
|
||||||
$actionsenabled[$act]=array(
|
$actionsenabled[$act]=array(
|
||||||
'group' => $group,
|
'group' => ++$group,
|
||||||
'caption' => 'Flagged',
|
'caption' => 'Flagged',
|
||||||
|
'hint' => 'Flagged / Unflagged',
|
||||||
'icon' => 'unread_flagged_small',
|
'icon' => 'unread_flagged_small',
|
||||||
'onExecute' => 'javaScript:app.mail.mail_flag',
|
'onExecute' => 'javaScript:app.mail.mail_flag',
|
||||||
);
|
);
|
||||||
$actionsenabled['unflagged']=array(
|
|
||||||
'group' => $group,
|
|
||||||
'caption' => 'Unflagged',
|
|
||||||
'icon' => 'read_flagged_small',
|
|
||||||
'onExecute' => 'javaScript:app.mail.mail_flag',
|
|
||||||
);
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (isset($actions[$act])) $actionsenabled[$act]=$actions[$act];
|
if (isset($actions[$act])) $actionsenabled[$act]=$actions[$act];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user