From 78ebc3ac276846f04e0445c31c56b2f07e34dbc3 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 7 Sep 2017 16:09:14 +1000 Subject: [PATCH] fixes --- booking.helper.inc | 8 ++++---- booking.regn_node.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/booking.helper.inc b/booking.helper.inc index 63e5183..e7ee29b 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -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)); diff --git a/booking.regn_node.inc b/booking.regn_node.inc index f9cd0ef..630e805 100644 --- a/booking.regn_node.inc +++ b/booking.regn_node.inc @@ -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'))));