Add option for including age groups

This commit is contained in:
2016-07-03 23:47:03 +10:00
parent f2c6858634
commit e404501cda

View File

@@ -238,7 +238,13 @@ function booking_admin() {
'#options' => array(0 => t('No'), t('Yes')),
'#default_value' => variable_get('booking_friendly_csv_groupnames', 0),
);
$form['features']['booking_studygroup_csv_ages'] = array(
'#type' => 'radios',
'#title' => t('Include ages in study group CSV export?'),
'#description' => t('Select whether to inclde ages for attendees when exporting study groups to CSV.'),
'#options' => array(0 => t('No'), t('Yes')),
'#default_value' => variable_get('booking_studygroup_csv_ages', 0),
);
$form['misc'] = array(
'#type' => 'fieldset',
'#title' => 'Configuration Options'