function ip_login_help in IP Login 6.2
Same name and namespace in other branches
- 7.3 ip_login.module \ip_login_help()
- 7.2 ip_login.module \ip_login_help()
Implementation of hook_help().
File
- ./
ip_login.module, line 72 - Allow user login by IP addresses, ranges or wildcards.
Code
function ip_login_help($path, $arg) {
// @todo use t()
switch ($path) {
case 'admin/settings/ip_login':
$help = '<p>';
$help .= t("This module allows this site to automatically authenticate and login users arriving with a chosen IP address - optionally at certain pages only.") . '</p> <p>';
$help .= t('It also allows users with the <code>administer ip login</code> and <code>can log in as another user</code> <a href="@permissions-link">permissions</a> to log out and log in as another user, with other users being forced to stay logged in.', array(
'@permissions-link' => '/admin/user/permissions#module-ip_login',
));
$help .= '</p>';
$help .= ip_login_help_ranges();
return $help;
}
}