You are here

function legal_help in Legal 5

Same name and namespace in other branches
  1. 8 legal.module \legal_help()
  2. 6.8 legal.module \legal_help()
  3. 6.7 legal.module \legal_help()
  4. 7.2 legal.module \legal_help()
  5. 7 legal.module \legal_help()
  6. 2.0.x legal.module \legal_help()

File

./legal.module, line 3

Code

function legal_help($section = 'admin/help#legal') {
  $output = '';
  switch ($section) {
    case 'admin/help#legal':
      $output .= t('Display a Terms & Conditions statement on the registration page, require visitor to accept T&C to register.');
      $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('access control', 'admin/user/access'),
      ));
  }
  return $output;
}