[+] 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
+3
View File
@@ -90,6 +90,9 @@ class HelperOptionsCore extends Helper
$field['required'] = isset($field['required']) ? $field['required'] : $this->required;
if ($field['type'] == 'color')
$this->context->controller->addJS(_PS_JS_DIR_.'jquery/plugins/jquery.colorpicker.js');
// Cast options values if specified
if ($field['type'] == 'select' && isset($field['cast']))
foreach ($field['list'] as $option_key => $option)