From e3fee20b7d80620be46a536f6354a11c0fd2234d Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Tue, 29 Aug 2017 22:49:42 +1000 Subject: [PATCH] add freestyle text to node display --- booking.regn_node.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/booking.regn_node.inc b/booking.regn_node.inc index 1942e0a..5835702 100644 --- a/booking.regn_node.inc +++ b/booking.regn_node.inc @@ -780,6 +780,9 @@ function booking_view($node, $view_mode) { if (variable_get('booking_enable_songchoice', 0) == 1) { $rows[] = array(t('Song Choice:'), t('!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))); + } if (variable_get('booking_enable_tshirts', 0) == 1) { $rows[] = array(t('Hoodie Size:'), $node->booking_shirt_size); }