Allow user to be able to modify list of trusted domains for external images

This commit is contained in:
Hadi Nategh 2017-01-12 12:35:14 +01:00
parent 2707b1da0b
commit 2df0dfaa1c

View File

@ -215,6 +215,14 @@ class mail_hooks
'default' => 2, 'default' => 2,
'forced' => 1, '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',