| 3 |
// $Id$ |
// $Id$ |
| 4 |
// ----------------------------------------------------------------------------- |
// ----------------------------------------------------------------------------- |
| 5 |
// $Log$ |
// $Log$ |
| 6 |
|
// Revision 1.2 2002/12/03 16:47:22 joko |
| 7 |
|
// - function preLogout() |
| 8 |
|
// + function preLogout($autologout = 0) |
| 9 |
|
// + function hadTimeout() |
| 10 |
|
// |
| 11 |
// Revision 1.1 2002/11/12 05:42:31 joko |
// Revision 1.1 2002/11/12 05:42:31 joko |
| 12 |
// + initial checkin |
// + initial checkin |
| 13 |
// |
// |
| 237 |
|
|
| 238 |
} |
} |
| 239 |
|
|
| 240 |
function preLogout() { |
function preLogout($autologout = 0) { |
| 241 |
global $site; |
global $site; |
| 242 |
$this->state[status] = ''; |
$this->state[status] = ''; |
| 243 |
|
$this->state[autologout] = $autologout; |
| 244 |
$this->_saveState(); |
$this->_saveState(); |
| 245 |
} |
} |
| 246 |
|
|
| 306 |
return $this->state[postvars][$var]; |
return $this->state[postvars][$var]; |
| 307 |
} |
} |
| 308 |
|
|
| 309 |
|
function hadTimeout() { |
| 310 |
|
if ($this->state[autologout]) { return 1; } |
| 311 |
|
} |
| 312 |
|
|
| 313 |
} |
} |
| 314 |
|
|