test meta tokens
This commit is contained in:
@@ -1630,6 +1630,16 @@ function _booking_studygroup_email_summary($node) {
|
||||
if (!empty($node->$sessionid)) {
|
||||
//$rows[] = t($studygroup->booking_studygroup_descrip . ": Group " . $node->$sessionid . ", " . _booking_studygroup_role_lookup($node->$roleid));
|
||||
|
||||
$tokens = array(
|
||||
'studygroup-descrip' => $studygroup->booking_studygroup_descrip,
|
||||
'studygroup-weekday' => $studygroup->booking_studygroup_weekday,
|
||||
'studygroup-explan' => $studygroup->booking_studygroup_explanation,
|
||||
'studygroup-role' => _booking_studygroup_role_lookup($node->$roleid),
|
||||
);
|
||||
|
||||
$li_text = variable_get('booking_studygroup_summary_li_text', '');
|
||||
$rows[] = token_replace($li_text, $tokens);
|
||||
/*
|
||||
// Add some boldness if we're using html email
|
||||
if(variable_get('booking_enable_html_mail', 0) == 1) {
|
||||
$rows[] = t('<b>!role</b> for group <b>!descrip</b>, which will occur on <b>!weekday</b>. <b>!explan</b>', array(
|
||||
@@ -1644,6 +1654,7 @@ function _booking_studygroup_email_summary($node) {
|
||||
'!explan' => $studygroup->booking_studygroup_explanation, '!role' => _booking_studygroup_role_lookup($node->$roleid),
|
||||
));
|
||||
}
|
||||
*/
|
||||
} // End checking for empty studygroup session
|
||||
} // End foreach loop
|
||||
|
||||
|
Reference in New Issue
Block a user