add registration email template test

This commit is contained in:
2017-06-27 17:28:49 +10:00
parent 8fcb858f2e
commit 25f0a2af03
7 changed files with 383 additions and 7 deletions

View File

@@ -820,7 +820,6 @@ function booking_node_access($node, $op, $account) {
}
/**
* Implementation of hook_theme().
*/
@@ -834,15 +833,15 @@ function booking_theme($existing, $type, $theme, $path) {
'path' => drupal_get_path('module', 'booking'). '/theme',
'template' => 'mimemail-message' // extension of .tpl.php automatically added
),
'booking_htmlmail_registration_mail' => array(
'variables' => array('subject' => NULL, 'body' => NULL),
'path' => drupal_get_path('module', 'booking'). '/theme',
'image_path' => drupal_get_path('module', 'booking'). '/images',
'template' => 'mimemail-message-registration_mail' // extension of .tpl.php automatically added
),
);
}
return array(); //will raise fatal error if void
/*
return array(
'booking_details' => array('arguments' => array('node' => NULL)),
//'booking_price_admin' => array('arguments' => array('form' => NULL))
);
*/
}
/**