tidy up some disused code

This commit is contained in:
2016-08-10 15:14:00 +10:00
parent af648cce84
commit d906c2e220
2 changed files with 5 additions and 36 deletions

View File

@@ -186,7 +186,8 @@ function booking_admin() {
'#collapsible' => TRUE,
//'#collapsed' => TRUE,
);
$explanation_text = t('<p>Register an account at stripe.com and visit <a href="https://dashboard.stripe.com/account/apikeys">the API keys page</a>, then copy your API keys here.</p>');
$explanation_text = t('<p>Verify your country supports stripe at <a href="https://stripe.com/global">the stripe website</a>.</p>' .
'<p>Register an account at stripe.com and visit <a href="https://dashboard.stripe.com/account/apikeys">the API keys page</a>, then copy your API keys here.</p>');
$form['stripe']['explanation-text'] = array(
'#type' => 'container',
'#children' => $explanation_text,
@@ -455,17 +456,6 @@ function booking_admin() {
)
);
$form['regn_options']['booking_dependant_children_text'] = array(
'#type' => 'radios',
'#title' => t('Ask whether a couple has dependant children attending?'),
'#description' => t('Select whether to ask about dependant children of married couples in the registration form'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_ask_dependant_children', 0)
);
$form['regn_options']['booking_enable_medicare'] = array(
'#type' => 'radios',
'#title' => t('Enable Medicare requirement?'),
@@ -507,7 +497,7 @@ function booking_admin() {
$form['regn_options']['booking_enable_passport'] = array(
'#type' => 'radios',
'#title' => t('Enable passport information?'),
'#title' => t('Enable passport information? (DEPRECATED)'),
'#description' => t('Select whether to include passport details in the booking form.'),
'#options' => array(
0 => t('No'),