add freestyle text to node display
This commit is contained in:
@@ -780,6 +780,9 @@ function booking_view($node, $view_mode) {
|
|||||||
if (variable_get('booking_enable_songchoice', 0) == 1) {
|
if (variable_get('booking_enable_songchoice', 0) == 1) {
|
||||||
$rows[] = array(t('Song Choice:'), t('!song', array('!song' => $node->booking_song_choice)));
|
$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) {
|
if (variable_get('booking_enable_tshirts', 0) == 1) {
|
||||||
$rows[] = array(t('Hoodie Size:'), $node->booking_shirt_size);
|
$rows[] = array(t('Hoodie Size:'), $node->booking_shirt_size);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user