mailtemplate stored as json in variable table

This commit is contained in:
2017-09-15 15:00:28 +10:00
parent 19978d51f5
commit 8f1319c79a
4 changed files with 101 additions and 20 deletions

View File

@@ -895,9 +895,15 @@ function booking_theme($existing, $type, $theme, $path) {
'template' => 'mimemail-message' // extension of .tpl.php automatically added
),
'booking_htmlmail_registration_mail' => array(
'variables' => array('subject' => NULL, 'body' => NULL, 'footer' => NULL, 'links' => NULL),
'variables' => array('subject' => NULL,
'body' => NULL,
'footer' => NULL,
'colors' => NULL,
'header_links' => NULL,
'social_links' => NULL
),
'path' => $theme_path,
'image_path' => drupal_get_path('module', 'booking'). '/images',
//'image_path' => drupal_get_path('module', 'booking'). '/images',
'template' => $template_file,
),
);