make email generation more consistent

This commit is contained in:
2017-09-15 17:24:07 +10:00
parent d1f82c4ecb
commit 332dcabd52
2 changed files with 80 additions and 48 deletions

View File

@@ -20,7 +20,7 @@
$social_links = json_decode(variable_get('booking_mailtemplate_social_links'), TRUE);
//watchdog('booking_debug', "<pre>Mail template navigation links loaded\n@info</pre>", array('@info' => print_r($header_links, true)));
watchdog('booking_debug', "<pre>Mail template social links loaded\n@info</pre>", array('@info' => print_r($social_links, true)));
//watchdog('booking_debug', "<pre>Mail template social links loaded\n@info</pre>", array('@info' => print_r($social_links, true)));
$form['colors'] = array(
'#type' => 'fieldset',
@@ -193,7 +193,7 @@ function booking_mailtemplate_form_submit($form, &$form_state)
'booking_mailtemplate_header_image_url', 'booking_mailtemplate_header_link_url',
);
//'booking_mailtemplate_link_color',
//set all the values that are just using the builtin drupal variable definitions
foreach ($values as $key => $value) {
if (in_array($key, $colors_variable_list, FALSE)) {