make html email links dynamic

This commit is contained in:
2017-09-12 15:07:42 +10:00
parent 557b99966d
commit d01be3b8a1
4 changed files with 89 additions and 112 deletions

View File

@@ -882,7 +882,7 @@ 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),
'variables' => array('subject' => NULL, 'body' => NULL, 'footer' => NULL, 'links' => NULL),
'path' => $theme_path,
'image_path' => drupal_get_path('module', 'booking'). '/images',
'template' => $template_file,