initial work on early access codes

This commit is contained in:
2017-06-26 21:55:10 +10:00
parent 3af311609c
commit e332a35fa0
7 changed files with 87 additions and 44 deletions

View File

@@ -607,6 +607,17 @@ function booking_admin() {
)
)
);
$form['regn_options']['booking_enable_earlyaccess_codes'] = array(
'#type' => 'radios',
'#title' => t('Allow early access to registration form with unique code?'),
'#description' => t('Select whether to enable the feature that will allow early registrations with a unique code. Note this feature is still under development.'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_enable_earlyaccess_codes', 0)
);
$form['management'] = array(
'#type' => 'fieldset',