add registration email template test
This commit is contained in:
@@ -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))
|
||||
);
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user