Index: legal.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/legal/legal.module,v
retrieving revision 1.22
diff -u -p -r1.22 legal.module
--- legal.module 8 Aug 2008 22:51:47 -0000 1.22
+++ legal.module 6 Oct 2008 15:32:08 -0000
@@ -13,8 +13,8 @@ function legal_help($path, $arg) {
$output .= t('When a user creates an account they are required to accept your Terms & Conditions to complete their registration.');
break;
case 'admin/settings/legal':
- $output .= t('Display a Terms & Conditions statement on the registration page, require visitor to accept the T&C to register. ');
- $output .= t("A !page displaying your T&C will be automatically created, access to this page can be set via the !access administration page.", array('!page' => l('page', 'legal'), '!access' => l('permissions', 'admin/user/permissions')));
+ $output .= t('Display a Terms & Conditions statement on the registration page, require visitor to accept the T&C to register.');
+ $output .= t('A page displaying your T&C will be automatically created, access to this page can be set via the permissions administration page.', array('@page' => url('legal'), '@access' => url('admin/user/permissions')));
}
return $output;
}
@@ -115,7 +115,7 @@ function legal_display_fields($condition
$form['legal']['conditions'] = array(
'#value' => ' ',
);
- $accept_label = t('Accept !terms of Use', array('!terms' => l('Terms & Conditions', 'legal')));
+ $accept_label = t('Accept Terms & Conditions of Use', array('@terms' => url('legal')));
break;
default: // scroll box (HTML)
@@ -278,7 +278,7 @@ function legal_preview($form, $form_valu
$form['legal']['conditions'] = array(
'#value' => ' ',
);
- $form['legal']['legal_accept']['#title'] = t('Accept !terms of Use', array('!terms' => l('Terms & Conditions', 'legal')));
+ $form['legal']['legal_accept']['#title'] = t('Accept Terms & Conditions of Use', array('@terms' => url('legal')));
break;
default: // scroll box (HTML)
$form['legal']['conditions'] = array(