From 8e3b8e75c6375821a2b5b52b3bb7f60fa4249d77 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Tue, 22 Aug 2017 21:40:58 +1000 Subject: [PATCH] add link to earlyaccess code in config page --- booking.admin.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/booking.admin.inc b/booking.admin.inc index 1f059ef..47be8e7 100644 --- a/booking.admin.inc +++ b/booking.admin.inc @@ -641,11 +641,12 @@ function booking_admin() { $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."), + '#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, '#maxlength' => 3, '#default_value' => variable_get('booking_earlyaccess_codes_count', '0'), - ); + ); $form['management'] = array( '#type' => 'fieldset',