This commit is contained in:
2015-03-04 16:24:50 +11:00
parent 1a9778d387
commit 43d4954d9b

View File

@@ -144,8 +144,9 @@ function booking_admin() {
$form['features']['booking_readinggroup_id'] = array ( $form['features']['booking_readinggroup_id'] = array (
'#type' => 'textfield', '#type' => 'textfield',
'#title' => t('Studygroup ID for the reading group'), '#title' => t('Studygroup ID for the reading group'),
'#description' => t("Set the ID for the studygroup that corresponds with the reading group. Set to zero if reading groups aren't in use. " '#description' => t("Set the ID for the studygroup that corresponds with the reading group. "
. " This option is only applicable if study groups are enabled. If in doubt, leave as zero."), . " This option is only applicable if study groups are enabled. Set to zero if reading groups aren't in use. "
. " If in doubt, leave as zero."),
'#size' => 3, '#size' => 3,
'#maxlength' => 3, '#maxlength' => 3,
'#default_value' => variable_get('booking_readinggroup_id','0'), '#default_value' => variable_get('booking_readinggroup_id','0'),
@@ -238,13 +239,6 @@ function booking_admin() {
'#options' => array (0 => t('No'), t('Yes')), '#options' => array (0 => t('No'), t('Yes')),
'#default_value' => variable_get('booking_enable_medicare', 1), '#default_value' => variable_get('booking_enable_medicare', 1),
); );
$form['regn_options']['booking_enable_tshirts'] = array (
'#type' => 'radios',
'#title' => t('Enable sizing information?'),
'#description' => t('Select whether to include clothe sizing in the booking form.'),
'#options' => array (0 => t('No'), t('Yes')),
'#default_value' => variable_get('booking_enable_tshirts', 0),
);
$form['regn_options']['booking_tshirts_text_definition'] = array ( $form['regn_options']['booking_tshirts_text_definition'] = array (
'#type' => 'textfield', '#type' => 'textfield',
'#title' => t('Clothes Sizing Text Definition'), '#title' => t('Clothes Sizing Text Definition'),
@@ -253,6 +247,14 @@ function booking_admin() {
'#size' => 150, '#size' => 150,
'#maxlength' => 2000, '#maxlength' => 2000,
); );
$form['regn_options']['booking_enable_tshirts'] = array (
'#type' => 'radios',
'#title' => t('Enable sizing information?'),
'#description' => t('Select whether to include clothe sizing in the booking form.'),
'#options' => array (0 => t('No'), t('Yes')),
'#default_value' => variable_get('booking_enable_tshirts', 0),
);
$form['regn_options']['booking_enable_passport'] = array ( $form['regn_options']['booking_enable_passport'] = array (
'#type' => 'radios', '#type' => 'radios',
'#title' => t('Enable passport information?'), '#title' => t('Enable passport information?'),