Finish adding schema updates to initial install function

This commit is contained in:
2014-11-16 19:56:16 +11:00
parent eab80a1fdf
commit 0d5245af30
4 changed files with 57 additions and 10 deletions

View File

@@ -178,11 +178,19 @@ function booking_admin() {
);
$form['misc']['booking_enable_tshirts'] = array (
'#type' => 'radios',
'#title' => t('Enable t-shirt information?'),
'#description' => t('Select whether to include tshirt sizing in the booking form.'),
'#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['misc']['booking_tshirts_text_definition'] = array (
'#type' => 'textfield',
'#title' => t('Clothes Sizing Text Definition'),
'#default_value' => variable_get('booking_tshirts_text_definition', 'Preferred t-shirt size'),
'#description' => 'Text to use on registration form to request clothing size (eg t-shirt or hoodie).',
'#size' => 150,
'#maxlength' => 2000,
);
$form['misc']['booking_enable_passport'] = array (
'#type' => 'radios',
'#title' => t('Enable passport information?'),