You are here

function restrict_by_ip_help in Restrict Login or Role Access by IP Address 7.3

Same name and namespace in other branches
  1. 8.4 restrict_by_ip.module \restrict_by_ip_help()
  2. 5 restrict_by_ip.module \restrict_by_ip_help()
  3. 6.3 restrict_by_ip.module \restrict_by_ip_help()
  4. 6 restrict_by_ip.module \restrict_by_ip_help()
  5. 6.2 restrict_by_ip.module \restrict_by_ip_help()

Implementation of hook_help()

File

./restrict_by_ip.module, line 12
Allows the admin to select which ip addresses role or a user can login from for this site Some of the code below is taken from the cck_ipaddress_module

Code

function restrict_by_ip_help($section) {
  $output = '';
  switch ($section) {
    case 'admin/help#restrict_by_ip':
      $output = '<p>The site administrator can limit a user to only be able to login from certain IP Addresses or ranges of IP Addresses using CIDR notation. Individual roles may also be limited to a those from specified IP addresses and rangers.</p>';
      break;
  }
  return $output;
}