mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added ALTERNATE_INTERFACE config directive (defaults to false)
Alternate interface appears for non VoIP users when ALTERNATE_INTERFACE set to true This interface is a bit faster to operate (less popup windows) and makes more sense when not using the system to auto-dial Sponsored by Zimi
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
*/
|
||||
include ("config.inc.php");
|
||||
|
||||
|
||||
/**
|
||||
* Database file
|
||||
*/
|
||||
@@ -49,6 +50,14 @@ include ("functions/functions.xhtml.php");
|
||||
*/
|
||||
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-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js");
|
||||
|
||||
@@ -61,7 +70,6 @@ if (AUTO_LOGOUT_MINUTES !== false)
|
||||
|
||||
xhtml_head(T_("Respondent Selection - Project end"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js);
|
||||
|
||||
$operator_id = get_operator_id();
|
||||
$case_id = get_case_id($operator_id);
|
||||
$questionnaire_id = get_questionnaire_id($operator_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user