[+] Project: add the possibility to change the default color (#db3484)

Let the user set the default color in the mail with a color picker (configuration set in Back Office, Themes)
This commit is contained in:
Jonathan Danse
2012-12-03 16:11:43 +01:00
parent 037f0e6d3c
commit a88b23b16f
151 changed files with 1052 additions and 1028 deletions
@@ -176,6 +176,14 @@ class AdminThemesControllerCore extends AdminController
2 => $this->l('I want to enable it only on touchpads'),
3 => $this->l('I want to enable it on mobile and touchpad devices')
)
),
'PS_MAIL_COLOR' => array(
'title' => $this->l('Mail color'),
'desc' => $this->l('Mail will be highlighted in this color. HTML colors only (e.g.').' "lightblue", "#CC6600")',
'type' => 'color',
'name' => 'PS_MAIL_COLOR',
'size' => 30,
'value' => Configuration::get('PS_MAIL_COLOR')
)
),
'submit' => array('title' => $this->l('Save'), 'class' => 'button')