add earlyaccess code generation
This commit is contained in:
@@ -627,6 +627,14 @@ function booking_admin() {
|
||||
t('Yes')
|
||||
),
|
||||
'#default_value' => variable_get('booking_enable_earlyaccess_codes', 0)
|
||||
);
|
||||
$form['regn_options']['booking_earlyaccess_codes_count'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Number of early access codes'),
|
||||
'#description' => t("Set to the number of early access codes to generate. You will need to visit the configuration page to actually generate these codes."),
|
||||
'#size' => 3,
|
||||
'#maxlength' => 3,
|
||||
'#default_value' => variable_get('booking_earlyaccess_codes_count', '0'),
|
||||
);
|
||||
|
||||
$form['management'] = array(
|
||||
|
Reference in New Issue
Block a user