Index: legal.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/legal/legal.module,v
retrieving revision 1.15.2.8
diff -u -p -r1.15.2.8 legal.module
--- legal.module 8 Aug 2008 22:38:15 -0000 1.15.2.8
+++ legal.module 10 Nov 2008 19:06:32 -0000
@@ -95,7 +95,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 of Use', array('!terms' => l('Terms & Conditions', 'legal', array('target' => '_blank'))));
break;
default: // scroll box (HTML)
@@ -254,10 +254,11 @@ function legal_preview($form, $form_valu
$form['legal']['legal_accept']['#title'] = t('Accept Terms & Conditions of Use');
break;
case 3: // Page Link
$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 of Use', array('!terms' => l('Terms & Conditions', 'legal', array('target' => '_blank'))));
break;
default: // scroll box (HTML)
$form['legal']['conditions'] = array(