add freestyle text to node display

This commit is contained in:
2017-08-29 22:49:42 +10:00
parent 79b2b0e505
commit e3fee20b7d

View File

@@ -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);
}