You are here

function autologout_help in Automated Logout 6

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.2 autologout.module \autologout_help()
  5. 6.3 autologout.module \autologout_help()
  6. 7.2 autologout.module \autologout_help()
  7. 7.4 autologout.module \autologout_help()

Implementation of hook_help().

File

./autologout.module, line 175
Used to automagically log out a user after a preset time, AjK May 2006

Code

function autologout_help($path, $arg) {
  switch ($path) {
    case 'admin/build/block/configure':
      if ($arg[4] == 'autologout' && $arg[5] == 0) {
        return 'The Automated Logout block will only display if you have ' . l('Javascript Countdown Timer', 'http://drupal.org/project/countdowntimer') . ' 6.x-2.1 or later installed.';
      }
      break;
  }
}