retire random facts
This commit is contained in:
@@ -923,7 +923,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
|||||||
'#default_value' => !empty($data->booking_room_mate1) ? $data->booking_room_mate1 : ''
|
'#default_value' => !empty($data->booking_room_mate1) ? $data->booking_room_mate1 : ''
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
$form['misc-areas']['booking_random_facts'] = array(
|
$form['misc-areas']['booking_random_facts'] = array(
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('List three random facts about yourself (optional).'),
|
'#title' => t('List three random facts about yourself (optional).'),
|
||||||
@@ -931,7 +931,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
|||||||
'#required' => FALSE,
|
'#required' => FALSE,
|
||||||
'#default_value' => !empty($data->booking_random_facts) ? $data->booking_random_facts : ''
|
'#default_value' => !empty($data->booking_random_facts) ? $data->booking_random_facts : ''
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
if (variable_get('booking_enable_songchoice', 0) == 1) {
|
if (variable_get('booking_enable_songchoice', 0) == 1) {
|
||||||
$form['misc-areas']['booking_song_choice'] = array(
|
$form['misc-areas']['booking_song_choice'] = array(
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
|
@@ -776,7 +776,7 @@ function booking_view($node, $view_mode) {
|
|||||||
$rows[] = array(t('Total Amount Due:'), t('!amount_paid', array('!amount_paid' => $node->booking_total_pay_reqd)));
|
$rows[] = array(t('Total Amount Due:'), t('!amount_paid', array('!amount_paid' => $node->booking_total_pay_reqd)));
|
||||||
$rows[] = array(t('Refund Due:'), t('!amount_due', array('!amount_due' => $node->booking_refund_due)));
|
$rows[] = array(t('Refund Due:'), t('!amount_due', array('!amount_due' => $node->booking_refund_due)));
|
||||||
$rows[] = array(t('Refund Processed:'), t('!ans', array('!ans' => ($node->booking_refund_processed == 'Y' ? 'Yes' : 'No'))));
|
$rows[] = array(t('Refund Processed:'), t('!ans', array('!ans' => ($node->booking_refund_processed == 'Y' ? 'Yes' : 'No'))));
|
||||||
$rows[] = array(t('Random Facts:'), t('!facts', array('!facts' => $node->booking_random_facts)));
|
//$rows[] = array(t('Random Facts:'), t('!facts', array('!facts' => $node->booking_random_facts)));
|
||||||
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)));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user