make song choice configurable option

This commit is contained in:
2017-08-18 10:28:51 +10:00
parent e324071ad9
commit 8bb01c00ee
2 changed files with 19 additions and 7 deletions

View File

@@ -565,6 +565,16 @@ function booking_admin() {
),
'#default_value' => variable_get('booking_enable_roommate', 0)
);
$form['regn_options']['booking_enable_songchoice'] = array(
'#type' => 'radios',
'#title' => t('Enable attendee to specify song choice?'),
'#description' => t('Select whether to include questions about song choice in the booking form.'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_enable_songchoice', 0)
);
$form['regn_options']['booking_enable_dietary'] = array(
'#type' => 'radios',
'#title' => t('Allow attendee to specify dietary requirements?'),