2
0
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:
azammitdcarf
2011-10-05 04:29:41 +00:00
parent 4abd0c59ac
commit 16d775ec4b
25 changed files with 2022 additions and 13 deletions

View File

@@ -45,10 +45,16 @@ include ("functions/functions.xhtml.php");
*/
include("functions/functions.operator.php");
$db->StartTrans();
$operator_id = get_operator_id();
if (ALTERNATE_INTERFACE && !is_voip_enabled($operator_id))
{
include_once("waitnextcase_interface2.php");
die();
}
$db->StartTrans();
if (isset($_GET['endwork']))
{