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:
@@ -66,9 +66,18 @@ $questionnaire_id = get_questionnaire_id($operator_id);
|
||||
|
||||
print "<p class='rstext'>" . template_replace($_GET['message'],$operator_id,$case_id) . "</p>";
|
||||
|
||||
if (ALTERNATE_INTERFACE && !is_voip_enabled($operator_id))
|
||||
{
|
||||
?>
|
||||
<p class='rsoption'><a href="javascript:parent.location.href = 'index_interface2.php?outcome=32&endcase=endcase'"><? echo T_("End call with outcome: Quota filled"); ?></a></p>
|
||||
<?
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<p class='rsoption'><a href="javascript:parent.poptastic('call.php?defaultoutcome=32');"><? echo T_("End call with outcome: Quota filled"); ?></a></p>
|
||||
<?
|
||||
}
|
||||
|
||||
xhtml_foot();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user