function legal_help in Legal 6.7
Same name and namespace in other branches
- 8 legal.module \legal_help()
- 5 legal.module \legal_help()
- 6.8 legal.module \legal_help()
- 7.2 legal.module \legal_help()
- 7 legal.module \legal_help()
- 2.0.x legal.module \legal_help()
Implementation of hook_help().
File
- ./
legal.module, line 6
Code
function legal_help($path, $arg) {
$output = '';
switch ($path) {
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('permissions', 'admin/user/permissions'),
));
}
return $output;
}