Make app action icons colored again

This commit is contained in:
Hadi Nategh 2019-08-05 10:59:26 +02:00
parent 2fd64d4b58
commit 7d111ab58d
2 changed files with 7 additions and 7 deletions

View File

@ -165,7 +165,7 @@ class mail_compose
), ),
'to_infolog' => array( 'to_infolog' => array(
'caption' => 'Infolog', 'caption' => 'Infolog',
'icon' => 'to_infolog', 'icon' => 'infolog/navbar',
'group' => ++$group, 'group' => ++$group,
'checkbox' => true, 'checkbox' => true,
'hint' => 'check to save as infolog on send', 'hint' => 'check to save as infolog on send',
@ -174,7 +174,7 @@ class mail_compose
), ),
'to_tracker' => array( 'to_tracker' => array(
'caption' => 'Tracker', 'caption' => 'Tracker',
'icon' => 'to_tracker', 'icon' => 'tracker/navbar',
'group' => $group, 'group' => $group,
'checkbox' => true, 'checkbox' => true,
'hint' => 'check to save as tracker entry on send', 'hint' => 'check to save as tracker entry on send',
@ -183,7 +183,7 @@ class mail_compose
), ),
'to_calendar' => array( 'to_calendar' => array(
'caption' => 'Calendar', 'caption' => 'Calendar',
'icon' => 'to_calendar', 'icon' => 'calendar/navbar',
'group' => $group, 'group' => $group,
'checkbox' => true, 'checkbox' => true,
'hint' => 'check to save as calendar event on send', 'hint' => 'check to save as calendar event on send',

View File

@ -1242,7 +1242,7 @@ class mail_ui
'infolog' => array( 'infolog' => array(
'caption' => 'InfoLog', 'caption' => 'InfoLog',
'hint' => 'Save as InfoLog', 'hint' => 'Save as InfoLog',
'icon' => $GLOBALS['egw_info']['user']['preferences']['common']['template_set'] =='pixelegg' ? 'infolog' : 'infolog/navbar', 'icon' => 'infolog/navbar',
'group' => ++$group, 'group' => ++$group,
'onExecute' => 'javaScript:app.mail.mail_integrate', 'onExecute' => 'javaScript:app.mail.mail_integrate',
'popup' => Link::get_registry('infolog', 'add_popup'), 'popup' => Link::get_registry('infolog', 'add_popup'),
@ -1253,7 +1253,7 @@ class mail_ui
'caption' => 'Tracker', 'caption' => 'Tracker',
'hint' => 'Save as ticket', 'hint' => 'Save as ticket',
'group' => $group, 'group' => $group,
'icon' => $GLOBALS['egw_info']['user']['preferences']['common']['template_set'] =='pixelegg' ? 'tracker' : 'tracker/navbar', 'icon' => 'tracker/navbar',
'onExecute' => 'javaScript:app.mail.mail_integrate', 'onExecute' => 'javaScript:app.mail.mail_integrate',
'popup' => Link::get_registry('tracker', 'add_popup'), 'popup' => Link::get_registry('tracker', 'add_popup'),
'mail_import' => Api\Hooks::single(array('location' => 'mail_import'),'tracker'), 'mail_import' => Api\Hooks::single(array('location' => 'mail_import'),'tracker'),
@ -1262,7 +1262,7 @@ class mail_ui
'calendar' => array( 'calendar' => array(
'caption' => 'Calendar', 'caption' => 'Calendar',
'hint' => 'Save as Calendar', 'hint' => 'Save as Calendar',
'icon' => $GLOBALS['egw_info']['user']['preferences']['common']['template_set'] =='pixelegg' ? 'calendar' : 'calendar/navbar', 'icon' => 'calendar/navbar',
'group' => $group, 'group' => $group,
'onExecute' => 'javaScript:app.mail.mail_integrate', 'onExecute' => 'javaScript:app.mail.mail_integrate',
'popup' => Link::get_registry('calendar', 'add_popup'), 'popup' => Link::get_registry('calendar', 'add_popup'),
@ -1294,7 +1294,7 @@ class mail_ui
'caption' => 'Filemanager', 'caption' => 'Filemanager',
'hint' => 'Save to filemanager', 'hint' => 'Save to filemanager',
'group' => $group, 'group' => $group,
'icon' => $GLOBALS['egw_info']['user']['preferences']['common']['template_set'] =='pixelegg' ? 'filemanager' : 'filemanager/navbar', 'icon' => 'filemanager/navbar',
'onExecute' => 'javaScript:app.mail.mail_save2fm', 'onExecute' => 'javaScript:app.mail.mail_save2fm',
'allowOnMultiple' => true, 'allowOnMultiple' => true,
), ),