function theme_autologout_generic in Automated Logout 6.2
Same name and namespace in other branches
- 5 autologout.module \theme_autologout_generic()
 - 6 autologout.module \theme_autologout_generic()
 
A general theme function used when HTML is being inserted into a text string. Allows themers the oppertunity to alter html the module may want to output to suit their site/theme.
Parameters
integer $arg: A constant defining what string to return.
Return value
string The actual string.
1 theme call to theme_autologout_generic()
- autologout_admin_settings in ./
autologout.admin.inc  - Settings form for menu callback
 
File
- ./
autologout.module, line 474  - Used to automagically log out a user after a preset time, AjK May 2006
 
Code
function theme_autologout_generic($arg = 0) {
  switch ($arg) {
    case 0:
      return '<br/><b>' . t('Set-up your site policy by role:-') . '</b>';
    default:
      return '';
  }
}