* @copyright Australian Consortium for Social and Political Research Incorporated (ACSPRI) 2013 * @package queXS * @subpackage admin * @link http://www.acspri.org.au/ queXS was writen for ACSPRI * @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License (GPL) Version 2 * * */ /** * Configuration file */ include("../config.inc.php"); /** * Database file */ include ("../db.inc.php"); /** * XHTML functions */ include("../functions/functions.xhtml.php"); if (isset($_POST['update'])) { set_setting("bosh_service",$_POST['bosh']); set_setting("supervisor_xmpp",$_POST['supervisor']); $enable = false; if (isset($_POST['enable'])) $enable = true; set_setting("chat_enabled",$enable); } xhtml_head(T_("Supervisor chat"),true,false,array("../js/window.js")); print "

" . T_("Allow interviewers to chat with the supervisor over XMPP (Jabber). Required is a BOSH enabled XMPP/Jabber server. The operators and the supervisor will need XMPP/Jabber accounts.") . "

"; $e = get_setting("chat_enabled"); $checked = "checked='checked'"; if (empty($e)) $checked = ""; ?>

/>
"/>