Fix up studygroups update functions

This commit is contained in:
2014-06-19 09:37:18 +10:00
parent 781acbd9de
commit 478d093bb9
4 changed files with 70 additions and 20 deletions

View File

@@ -242,6 +242,13 @@ function booking_admin() {
'#maxlength' => 3,
'#default_value' => variable_get('booking_readinggroup_id','0'),
);
$form['misc']['booking_publish_readinggroups'] = array (
'#type' => 'radios',
'#title' => t('Display reading group colours on the Who\'s Coming page?'),
'#description' => t('Select whether to publish reading group colours.'),
'#options' => array (0 => t('No'), t('Yes')),
'#default_value' => variable_get('booking_publish_readinggroups', 0),
);
$form['misc']['booking_csv_exclude_fields'] = array (
'#type' => 'textfield',
'#title' => t('Fields to exclude from CSV report'),