add db field for previous sw coun
This commit is contained in:
@@ -584,36 +584,6 @@ 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_freestyle'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Enable attendee to enter freestyle text'),
|
||||
'#description' => t('Select whether to include freestyle text field in the booking form.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_enable_freestyle', 0)
|
||||
);
|
||||
$form['regn_options']['booking_require_freestyle'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Require attendees to enter some freestyle text?'),
|
||||
'#description' => t('Select whether to require attendees to enter some freestyle text when they register. Doesn\'t have any effect if freestyle text is not enabled above.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_require_freestyle', 0)
|
||||
);
|
||||
$form['regn_options']['booking_enable_dietary'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Allow attendee to specify dietary requirements?'),
|
||||
@@ -686,18 +656,56 @@ function booking_admin() {
|
||||
'#maxlength' => 3,
|
||||
'#default_value' => variable_get('booking_earlyaccess_codes_count', '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_require_songchoice'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Require attendees to enter a song?'),
|
||||
'#description' => t('Select whether to require attendees to enter a song choice for the week when they register.'),
|
||||
'#description' => t('Select whether to require attendees to enter a song choice for the week when they register. Doesn\'t have any effect if song choice is not enabled above.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_require_songchoice', 0)
|
||||
);
|
||||
$form['regn_options']['booking_enable_freestyle'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Enable attendee to enter freestyle text'),
|
||||
'#description' => t('Select whether to include freestyle text field in the booking form.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_enable_freestyle', 0)
|
||||
);
|
||||
$form['regn_options']['booking_require_freestyle'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Require attendees to enter some freestyle text?'),
|
||||
'#description' => t('Select whether to require attendees to enter some freestyle text when they register. Doesn\'t have any effect if freestyle text is not enabled above.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_require_freestyle', 0)
|
||||
);
|
||||
$form['regn_options']['booking_enable_previous_studyweeks'] = array(
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Ask attendee to specify previous study weeks?'),
|
||||
'#description' => t('Select whether to ask the attendee how many study weeks they\'ve been to previously in the booking form.'),
|
||||
'#options' => array(
|
||||
0 => t('No'),
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_enable_previous_studyweeks', 0)
|
||||
);
|
||||
|
||||
$form['management'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Data Management Options',
|
||||
|
Reference in New Issue
Block a user