Update calls_active_inc.php
This commit is contained in:
parent
6ced89ca28
commit
20cdd28bc3
|
|
@ -165,9 +165,9 @@
|
||||||
foreach ($row as $key => $value) {
|
foreach ($row as $key => $value) {
|
||||||
$$key = $value;
|
$$key = $value;
|
||||||
}
|
}
|
||||||
if (if_group("superadmin") && isset($_REQUEST['debug'])) {
|
//if (if_group("superadmin") && isset($_REQUEST['debug'])) {
|
||||||
echo "<tr><td colspan='20'><pre>".print_r($row, true)."</pre></td></tr>";
|
// echo "<tr><td colspan='20'><pre>".print_r(escape($row), true)."</pre></td></tr>";
|
||||||
}
|
//}
|
||||||
|
|
||||||
//get the sip profile
|
//get the sip profile
|
||||||
$name_array = explode("/", $name);
|
$name_array = explode("/", $name);
|
||||||
|
|
@ -196,21 +196,21 @@
|
||||||
|
|
||||||
//send the html
|
//send the html
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$sip_profile." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($sip_profile)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$created." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".$escape(created)." </td>\n";
|
||||||
if ($show == 'all') {
|
if ($show == 'all') {
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$domain_name." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($domain_name)." </td>\n";
|
||||||
}
|
}
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$tmp_number." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($tmp_number)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".escape($cid_name)." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($cid_name)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".escape($cid_num)." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($cid_num)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$dest." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($dest)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".((strlen($application) > 0) ? $application.":".$application_data : null)." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".((strlen($application) > 0) ? escape($application).":".escape($application_data) : null)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$read_codec.":".$read_rate." / ".$write_codec.":".$write_rate." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($read_codec).":".escape($read_rate)." / ".escape($write_codec).":".escape($write_rate)." </td>\n";
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$secure." </td>\n";
|
echo "<td valign='top' class='".$row_style[$c]."'>".escape($secure)." </td>\n";
|
||||||
echo "<td class='list_control_icons' style='width: 25px; text-align: left;'><a href='javascript:void(0);' alt='".$text['label-hangup']."' onclick=\"hangup(escape('".$uuid."'));\">".$v_link_label_delete."</a></td>\n";
|
echo "<td class='list_control_icons' style='width: 25px; text-align: left;'><a href='javascript:void(0);' alt='".$text['label-hangup']."' onclick=\"hangup(escape('".escape($uuid)."'));\">".$v_link_label_delete."</a></td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
//alternate the row style
|
//alternate the row style
|
||||||
$c = ($c) ? 0 : 1;
|
$c = ($c) ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue