Timeout User Plugin
-------------------

This automatically logs a user out if they're idle for a set
amount of minutes. We define 'idle' as having not refreshed
the right-hand frame.

[note]
This can be a problem if their being 'idle' means they're
typing an extended email, since it would be lost. However,
the QuickSave plugin 1.0+ with cookies turned on would save
their message, even across logout.
[/note]

This plugin should work with all previous versions of SM (at
least since they introduced plugins), though it'll work a
little bit better with 1.1.2 and beyond.

Please make sure to look over the configuration options in the
config.php file.  You may turn on/off users' ability to set 
their own timeout value, the default timeout value, as well as
users' ability to disable timeout functionality.

If there are problems please post to the squirrelmail-plugins
mailing list, or else notify Ray Black at allah@accessnode.net
or Paul Lesneiwski at pdontthink@angrynerds.com.


ChangeLog
-------------------
1.1.1 - (Pa55wa11 <dugan@passwall.com>)
      Minor fix for cases where a user chooses a timeout of "0" (zero)
      or invalid times risks locking themself out. Also adds feature
      for users to disable timeout on a per-user basis by choosing invalid
      timeout (timeouts equal to zero or less.) Added ref to config.php here.

1.1 - (Paul Lesneiwski <pdontthink@angrynerds.com>)
      Removed http calls that were being made with every page request
      and were causing entries to be made in httpd error logs and were
      also problematic for SSL-based installations.

1.0 - (Paul Lesneiwski <pdontthink@angrynerds.com>)
      Added compatibility with SquirrelMail v1.4.
      Added ability for users to select their own timeout values (admin 
         can block that feature if desired).
      New setup.php format for better overall SquirrelMail performance.

0.3 - (Paul Lesneiwski <pdontthink@angrynerds.com>)
      Fix for incorrect URL given when last page viewed was a plugin.
      E_ALL compatibility fix.
      Added compatibility with Plugin Updates plugin.

0.2 - Javascript-enabled browsers now have 'Sign Off' page target
    the _top frame. This is a cleaner and more comprehensive
    timeout than meta tags allowed for.

0.1.1 - Small bug fix for CVS/1.1.2+ users.

0.1 - Initial release.
    It could be a little cleaner, especially if I could figure out
    how to do a target=_top in the meta tag.
