Display dependant children in node theme
This commit is contained in:
@@ -714,6 +714,11 @@ function booking_view($node, $view_mode) {
|
|||||||
$rows[] = array(t('Baptised:'), t('!ans', array('!ans' => ($node->booking_baptised == 'Y' ? 'Yes' : 'No'))));
|
$rows[] = array(t('Baptised:'), t('!ans', array('!ans' => ($node->booking_baptised == 'Y' ? 'Yes' : 'No'))));
|
||||||
$rows[] = array(t('Married:'), t('!ans', array('!ans' => ($node->booking_married == 'Y' ? 'Yes' : 'No'))));
|
$rows[] = array(t('Married:'), t('!ans', array('!ans' => ($node->booking_married == 'Y' ? 'Yes' : 'No'))));
|
||||||
|
|
||||||
|
if (variable_get('booking_ask_dependant_children', 0) == 1)
|
||||||
|
{
|
||||||
|
$rows[] = array(t('Bringing dependant children:'), t('!ans', array('!ans' => ($node->booking_dependant_children == 'Y' ? 'Yes' : 'No'))));
|
||||||
|
}
|
||||||
|
|
||||||
$rows[] = array(t('Linked Partner:'), t($partner_name));
|
$rows[] = array(t('Linked Partner:'), t($partner_name));
|
||||||
$rows[] = array(t('Linked Boyfriend/Girlfriend:'), t($bf_gf));
|
$rows[] = array(t('Linked Boyfriend/Girlfriend:'), t($bf_gf));
|
||||||
$rows[] = array(t('Emergency Contact Name:'), $node->booking_guardian_name);
|
$rows[] = array(t('Emergency Contact Name:'), $node->booking_guardian_name);
|
||||||
|
Reference in New Issue
Block a user