using two new icons for open as text/html and not mime icons

This commit is contained in:
Ralf Becker 2014-02-19 08:01:37 +00:00
parent ac653d6c9a
commit f510e9d333

View File

@ -1172,7 +1172,7 @@ class mail_ui
'caption' => lang('Text mode'), 'caption' => lang('Text mode'),
'hint' => 'Open in Text mode', 'hint' => 'Open in Text mode',
'group' => ++$group, 'group' => ++$group,
'icon' => egw_vfs::mime_icon('text/plain'), 'icon' => 'textmode',
'onExecute' => 'javaScript:app.mail.mail_openAsText', 'onExecute' => 'javaScript:app.mail.mail_openAsText',
'allowOnMultiple' => false, 'allowOnMultiple' => false,
), ),
@ -1180,7 +1180,7 @@ class mail_ui
'caption' => lang('HTML mode'), 'caption' => lang('HTML mode'),
'hint' => 'Open in HTML mode', 'hint' => 'Open in HTML mode',
'group' => $group, 'group' => $group,
'icon' => egw_vfs::mime_icon('text/html'), 'icon' => 'htmlmode',
'onExecute' => 'javaScript:app.mail.mail_openAsHtml', 'onExecute' => 'javaScript:app.mail.mail_openAsHtml',
'allowOnMultiple' => false, 'allowOnMultiple' => false,
), ),