* @copyright Deakin University 2007,2008 * @package queXS * @subpackage user * @link http://www.deakin.edu.au/dcarf/ queXS was writen for DCARF - Deakin Computer Assisted Research Facility * @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License (GPL) Version 2 * * @todo integrate with users system: have a forwarding URL? * */ /** * Language file */ include_once("lang.inc.php"); /** * XHTML functions */ include_once("functions/functions.xhtml.php"); include_once("functions/functions.operator.php"); xhtml_head(T_("End of work")); if (isset($_GET['auto'])) { print "

" . T_("You have been automatically logged out of work due to inactivity") . "

"; } print "

" . T_("Work has ended. That is it") . "

"; if (ALLOW_OPERATOR_EXTENSION_SELECT && VOIP_ENABLED) { //unassign extension $operator_id = get_operator_id(); if (get_case_id($operator_id) == false && is_voip_enabled($operator_id)) { $sql = "UPDATE `extension` SET current_operator_id = NULL WHERE current_operator_id = $operator_id"; $rs = $db->Execute($sql); if ($rs) { print "

" . T_("You have been unassigned from your extension") ."

"; } } } print "

" . T_("Go back to work") . "

"; xhtml_foot(); ?>