Issue 598 switch to the user instead of sip-auth-user and leave the domain then remove the domain column to save some space
This commit is contained in:
@@ -166,9 +166,9 @@ require_once "resources/check_auth.php";
|
|||||||
|
|
||||||
echo "<table width='100%' border='0' cellspacing='0' cellpadding='5'>\n";
|
echo "<table width='100%' border='0' cellspacing='0' cellpadding='5'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
if (count($_SESSION["domains"]) > 1) {
|
//if (count($_SESSION["domains"]) > 1) {
|
||||||
echo " <th>".$text['label-domain']."</th>\n";
|
// echo " <th>".$text['label-domain']."</th>\n";
|
||||||
}
|
//}
|
||||||
//echo " <th>User</th>\n";
|
//echo " <th>User</th>\n";
|
||||||
//echo " <th class='vncell'>Caller ID</th>\n";
|
//echo " <th class='vncell'>Caller ID</th>\n";
|
||||||
echo " <th>".$text['label-user']."</th>\n";
|
echo " <th>".$text['label-user']."</th>\n";
|
||||||
@@ -196,13 +196,13 @@ require_once "resources/check_auth.php";
|
|||||||
|
|
||||||
//show the registrations
|
//show the registrations
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
if (count($_SESSION["domains"]) > 1) {
|
//if (count($_SESSION["domains"]) > 1) {
|
||||||
echo "<td class='".$row_style[$c]."'> ".$row['sip-auth-realm']." </td>\n";
|
// echo "<td class='".$row_style[$c]."'> ".$row['sip-auth-realm']." </td>\n";
|
||||||
}
|
//}
|
||||||
//<td class='".$row_style[$c]."'> ".$row['call-id']." </td>\n";
|
//<td class='".$row_style[$c]."'> ".$row['call-id']." </td>\n";
|
||||||
//echo " <td class='".$row_style[$c]."'> ".$row['user']." </td>\n";
|
echo " <td class='".$row_style[$c]."'> ".$row['user']." </td>\n";
|
||||||
//echo " <td class='".$row_style[$c]."'> ".$row['contact']." </td>\n";
|
//echo " <td class='".$row_style[$c]."'> ".$row['contact']." </td>\n";
|
||||||
echo " <td class='".$row_style[$c]."'> ".$row['sip-auth-user']." </td>\n";
|
//echo " <td class='".$row_style[$c]."'> ".$row['sip-auth-user']." </td>\n";
|
||||||
echo " <td class='".$row_style[$c]."'> ".htmlentities($row['agent'])." </td>\n";
|
echo " <td class='".$row_style[$c]."'> ".htmlentities($row['agent'])." </td>\n";
|
||||||
//echo " <td class='".$row_style[$c]."'> ".$row['host']." </td>\n";
|
//echo " <td class='".$row_style[$c]."'> ".$row['host']." </td>\n";
|
||||||
echo " <td class='".$row_style[$c]."'> <a href='http://".$row['network-ip']."' target='_blank'>".$row['network-ip']."</a> </td>\n";
|
echo " <td class='".$row_style[$c]."'> <a href='http://".$row['network-ip']."' target='_blank'>".$row['network-ip']."</a> </td>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user