You are here

function autologout_help in Automated Logout 7.4

Same name and namespace in other branches
  1. 8 autologout.module \autologout_help()
  2. 5 autologout.module \autologout_help()
  3. 6.4 autologout.module \autologout_help()
  4. 6 autologout.module \autologout_help()
  5. 6.2 autologout.module \autologout_help()
  6. 6.3 autologout.module \autologout_help()
  7. 7.2 autologout.module \autologout_help()

Implements hook_help().

File

./autologout.module, line 171
Used to automagically log out a user after a preset time.

Code

function autologout_help($path, $arg) {
  $seconds = _autologout_get_user_timeout();
  $message = NULL;
  switch ($path) {
    case 'admin/help#autologout':
      $message = '<p>' . t("This module allows you to force site users to be logged out after a given amount of time due to inactivity after first being presented with a confirmation dialog. Your current logout threshold is %seconds seconds.", array(
        '%seconds' => $seconds,
      )) . '</p>';
      break;
  }
  return $message;
}