fixes
This commit is contained in:
@@ -1322,7 +1322,7 @@ function _booking_details_email_summary($node) {
|
||||
$earlyaccess_query = db_query("SELECT booking_earlyaccess_code FROM {booking_earlyaccess_codes} where cid = :code",
|
||||
array(':code' => $node->booking_earlyaccess_code_id))
|
||||
->fetchObject();
|
||||
$rows[] = array(t('Early Access Code:'), t('!code', array('!code' => $earlyaccess_query->booking_earlyaccess_code)));
|
||||
$rows[] = t('Early Access Code: !code', array('!code' => $earlyaccess_query->booking_earlyaccess_code));
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1349,13 +1349,13 @@ function _booking_details_email_summary($node) {
|
||||
}
|
||||
|
||||
if (variable_get('booking_enable_songchoice', 0) == 1) {
|
||||
$rows[] = array(t('Song Choice:'), t('!song', array('!song' => $node->booking_song_choice)));
|
||||
$rows[] = t('Song Choice: !song', array('!song' => $node->booking_song_choice));
|
||||
}
|
||||
if (variable_get('booking_enable_freestyle', 0) == 1) {
|
||||
$rows[] = array(t('Freestyle:'), t('!song', array('!song' => $node->booking_freestyle_text)));
|
||||
$rows[] = t('Freestyle: !text', array('!text' => $node->booking_freestyle_text));
|
||||
}
|
||||
if (variable_get('booking_enable_tshirts', 0) == 1) {
|
||||
$rows[] = array(t('Hoodie Size:'), $node->booking_shirt_size);
|
||||
$rows[] = t('Hoodie Size: !size', array('!size' => $node->booking_shirt_size));
|
||||
}
|
||||
|
||||
$rows[] = t('Emergency Contact Name: !contact', array('!contact' => $node->booking_guardian_name));
|
||||
|
@@ -784,7 +784,7 @@ function booking_view($node, $view_mode) {
|
||||
$rows[] = array(t('Freestyle:'), t('!song', array('!song' => $node->booking_freestyle_text)));
|
||||
}
|
||||
if (variable_get('booking_enable_tshirts', 0) == 1) {
|
||||
$rows[] = array(t('Hoodie Size:'), $node->booking_shirt_size);
|
||||
$rows[] = array(t('Hoodie Size:'), t('!size', array('!size' => $node->booking_shirt_size)));
|
||||
}
|
||||
$rows[] = array(t('Ecclesia:'), t('!ecclesia', array('!ecclesia' => $node->booking_ecclesia)));
|
||||
$rows[] = array(t('Baptised:'), t('!ans', array('!ans' => ($node->booking_baptised == 'Y' ? 'Yes' : 'No'))));
|
||||
|
Reference in New Issue
Block a user