Shift Allow External Images pref in mail preferences into the bottom, makes the prefs easier to read

This commit is contained in:
Hadi Nategh 2018-07-17 10:52:27 +02:00
parent 19d598ad9b
commit dee750fb9c

View File

@ -237,29 +237,6 @@ class mail_hooks
'admin' => False, 'admin' => False,
'forced' => 'always_display', 'forced' => 'always_display',
), ),
'allowExternalIMGs' => array(
'type' => 'select',
'label' => 'Allow external images',
'help' => 'allow images from external sources in html emails',
'name' => 'allowExternalIMGs',
'values' => array(
0 => lang('Never'),
1 => lang('Always'),
2 => lang('Ask for permission')
),
'xmlrpc' => True,
'admin' => True,
'default' => 2,
'forced' => 1,
),
'allowExternalDomains' => array(
'type' => 'taglist',
'label' => 'Allow external images from listed domains',
'help' => 'allow images from listed domains in html emails',
'name' => 'allowExternalDomains',
'values' => $GLOBALS['egw_info']['user']['preferences']['mail']['allowExternalDomains'],
'no_sel_options' => true
),
'message_forwarding' => array( 'message_forwarding' => array(
'type' => 'select', 'type' => 'select',
'label' => 'how to forward messages', 'label' => 'how to forward messages',
@ -324,6 +301,29 @@ class mail_hooks
'default'=> 0, 'default'=> 0,
'admin' => False, 'admin' => False,
), ),
'allowExternalIMGs' => array(
'type' => 'select',
'label' => 'Allow external images',
'help' => 'allow images from external sources in html emails',
'name' => 'allowExternalIMGs',
'values' => array(
0 => lang('Never'),
1 => lang('Always'),
2 => lang('Ask for permission')
),
'xmlrpc' => True,
'admin' => True,
'default' => 2,
'forced' => 1,
),
'allowExternalDomains' => array(
'type' => 'taglist',
'label' => 'Allow external images from listed domains',
'help' => 'allow images from listed domains in html emails',
'name' => 'allowExternalDomains',
'values' => $GLOBALS['egw_info']['user']['preferences']['mail']['allowExternalDomains'],
'no_sel_options' => true
),
array( array(
'type' => 'section', 'type' => 'section',
'title' => lang('Configuration settings'), 'title' => lang('Configuration settings'),