add link to earlyaccess code in config page
This commit is contained in:
@@ -641,11 +641,12 @@ function booking_admin() {
|
|||||||
$form['regn_options']['booking_earlyaccess_codes_count'] = array(
|
$form['regn_options']['booking_earlyaccess_codes_count'] = array(
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Number of early access codes'),
|
'#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."),
|
'#description' => t("Set to the number of early access codes to generate. You will need to visit the !configuration to actually generate these codes.",
|
||||||
|
array('!configuration' => l('Configuration Page', 'admin/config/booking/earlyaccess'))),
|
||||||
'#size' => 3,
|
'#size' => 3,
|
||||||
'#maxlength' => 3,
|
'#maxlength' => 3,
|
||||||
'#default_value' => variable_get('booking_earlyaccess_codes_count', '0'),
|
'#default_value' => variable_get('booking_earlyaccess_codes_count', '0'),
|
||||||
);
|
);
|
||||||
|
|
||||||
$form['management'] = array(
|
$form['management'] = array(
|
||||||
'#type' => 'fieldset',
|
'#type' => 'fieldset',
|
||||||
|
Reference in New Issue
Block a user