* @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 * */ /** * Configuration file */ include ("config.inc.php"); /** * Database file */ include ("db.inc.php"); /** * Authentication */ include ("auth-interviewer.php"); /** * XHTML functions */ include ("functions/functions.xhtml.php"); /** * Operator functions */ include ("functions/functions.operator.php"); $operator_id = get_operator_id(); //check for alternate interface if (ALTERNATE_INTERFACE && !is_voip_enabled($operator_id)) { include_once("rs_project_end_interface2.php"); die(); } $js = array("js/popup.js","include/jquery/jquery-1.4.2.min.js","include/jquery-ui/jquery-ui.min.js"); if (AUTO_LOGOUT_MINUTES !== false) { $js[] = "js/childnap.js"; } xhtml_head(T_("Respondent Selection - Project end"),true,array("css/rs.css","include/jquery-ui/jquery-ui.min.css"), $js); $case_id = get_case_id($operator_id); $questionnaire_id = get_questionnaire_id($operator_id); //display introduction text $sql = "SELECT rs_project_end FROM questionnaire WHERE questionnaire_id = '$questionnaire_id'"; $r = $db->GetRow($sql); print "
" . template_replace($r['rs_project_end'],$operator_id,$case_id) . "
"; if (!is_voip_enabled($operator_id) && AUTO_COMPLETE_OUTCOME) { end_call($operator_id,10); print "" . T_("Call automatically ended with outcome: Complete") . "
"; } else { ?>