diff --git a/supervisor.php b/supervisor.php index 23e676f2..1afa36c3 100644 --- a/supervisor.php +++ b/supervisor.php @@ -58,6 +58,8 @@ $callstatus = is_on_call($operator_id); if ($callstatus == 3) //On a call { + print "
" T_("Please wait till you have ended this call to call the supervisor") . "
"; + /* if (is_voip_enabled($operator_id)) { if (isset($_GET['callsupervisor'])) @@ -79,13 +81,14 @@ if ($callstatus == 3) //On a call else { print ""; -// print "" . T_("Hangup when calling the supervisor") . "
"; + print "" . T_("Hangup when calling the supervisor") . "
"; } } else { print "" . T_("Try calling the supervisor") . "
"; } + */ } else if ($callstatus == 0 || $callstatus == 4 || $callstatus == 5) { @@ -110,7 +113,7 @@ else if ($callstatus == 0 || $callstatus == 4 || $callstatus == 5) else { print "" . T_("Click here to call the supervisor's phone. Otherwise close this window") . "
"; -// print ""; + print ""; } } else