start making csv import/export more dynamic

This commit is contained in:
2016-05-19 22:09:03 +10:00
parent d60ff7b10e
commit 9b431c6ee3
2 changed files with 24 additions and 0 deletions

View File

@@ -429,6 +429,7 @@ function booking_admin()
)
)
);
$form['regn_options']['booking_enable_skills'] = array(
'#type' => 'radios',
'#title' => t('Enable special skills information?'),
@@ -522,6 +523,16 @@ function booking_admin()
'#size' => 150,
'#maxlength' => 2000
);
$form['management']['booking_import_include_fields_dynamic'] = array(
'#type' => 'select',
'#multiple' => TRUE,
'#title' => t('Select database fields'),
'#description' => t('Select database fields to import from an uploaded CSV file. Ensure you hold down control/command when selecting multiple options.'),
'#options' => _booking_get_person_fields(),
'#default_value' => variable_get('booking_import_include_fields_dynamic', ''),
);
return system_settings_form($form);
}