Active Calls: Add Show All feature for Superadmin, basic view for Admin, refresh activity icon.

Registrations: Minor visual adjustments.
This commit is contained in:
Nate Jones
2015-05-01 06:35:40 +00:00
parent 2aa37f94ce
commit 09702ed59f
9 changed files with 216 additions and 127 deletions
+4 -12
View File
@@ -103,9 +103,6 @@ require_once "resources/check_auth.php";
window.attachEvent('onload', requestTime);
}
var record_count = 0;
var destination;
//refresh controls
function refresh_stop() {
clearInterval(interval_timer_id);
@@ -122,15 +119,10 @@ require_once "resources/check_auth.php";
</script>
<?php
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
echo " <tr class='border'>\n";
echo " <td align=\"left\">\n";
echo " <div id=\"ajax_reponse\"></div>\n";
echo " <div id=\"time_stamp\" style=\"visibility:hidden\">".date('Y-m-d-s')."</div>\n";
echo " </td>";
echo " </tr>";
echo "</table>";
<?php
echo "<div id='ajax_reponse'></div>\n";
echo "<div id='time_stamp' style='visibility:hidden'>".date('Y-m-d-s')."</div>\n";
echo "<br><br><br>";
//get the footer
require_once "resources/footer.php";
@@ -41,7 +41,7 @@ require_once "resources/check_auth.php";
$language = new text;
$text = $language->get();
//get the HTTP values asn set as variables
//get the HTTP values and set as variables
$sip_profile_name = trim($_REQUEST["profile"]);
$show = trim($_REQUEST["show"]);
if ($show != "all") { $show = ''; }
@@ -122,7 +122,7 @@ require_once "resources/check_auth.php";
}
//show the registrations
echo "<table width='100%' border='0' cellspacing='0' cellpadding='5'>\n";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
echo "<tr>\n";
echo "<td width='100%'>\n";
echo " <b>".$text['header-registrations'].": ".count($registrations)."</b>\n";
@@ -144,7 +144,7 @@ require_once "resources/check_auth.php";
echo "</table>\n";
echo "<br />\n";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='5'>\n";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
echo "<tr>\n";
echo " <th>".$text['label-user']."</th>\n";
echo " <th>".$text['label-agent']."</th>\n";