add link to earlyaccess code in config page

This commit is contained in:
2017-08-22 21:40:58 +10:00
parent cf8736d43b
commit 8e3b8e75c6

View File

@@ -641,7 +641,8 @@ 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'),