forked from extern/egroupware
Shift Allow External Images pref in mail preferences into the bottom, makes the prefs easier to read
This commit is contained in:
parent
658e84e59f
commit
77c424a2ff
@ -238,29 +238,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',
|
||||||
@ -325,6 +302,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'),
|
||||||
|
Loading…
Reference in New Issue
Block a user