Active Calls: Removed broken Transfer, Park and Record options in favor the Operator Panel (Park functionality to eventually be added to the OP).

Operator Panel: Only superadmin group can view debug info.
This commit is contained in:
Nate Jones
2015-04-30 02:55:35 +00:00
parent f80e2c5d3c
commit 4d2b8ba5f2
5 changed files with 76 additions and 138 deletions
+2 -2
View File
@@ -372,7 +372,7 @@ foreach ($activity as $extension => $ext) {
$block .= " </tr>";
$block .= "</table>";
if (isset($_GET['debug'])) {
if (if_group("superadmin") && isset($_GET['debug'])) {
$block .= "<span style='font-size: 10px;'>";
$block .= "From ID<br>&nbsp;&nbsp;&nbsp;&nbsp;<strong style='color: maroon'>".$extension."</strong><br>";
$block .= "uuid<br>&nbsp;&nbsp;&nbsp;&nbsp;<strong style='color: ".($call_identifier == $ext['uuid'] ? 'blue' : 'black').";'>".$ext['uuid']."</strong><br>";
@@ -430,7 +430,7 @@ else {
}
echo "<br><br>";
if (isset($_GET['debug'])) {
if (if_group("superadmin") && isset($_GET['debug'])) {
echo '$activity<br>';
echo "<textarea style='width: 100%; height: 600px; overflow: scroll;' onfocus='refresh_stop();' onblur='refresh_start();'>";
print_r($activity);