Dashboard: Fix issue with Ring Group Forward not saving changes.

Misc: Restore/Fix some missing/botched HTML tags.
This commit is contained in:
reliberate
2016-04-07 14:14:32 -06:00
parent 8af3c09276
commit 6a0465609f
5 changed files with 11 additions and 30 deletions

View File

@@ -173,7 +173,7 @@ else {
echo $text['description-call_center_agent_status']."<br /><br />\n";
echo "</td>\n";
echo "</tr>\n";
echo "</tr></table>\n";
echo "</table>\n";
$c = 0;
$row_style["0"] = "row_style0";
@@ -185,11 +185,11 @@ else {
echo "<th>".$text['label-agent']."</th>\n";
echo "<th>".$text['label-status']."</th>\n";
echo "<th>".$text['label-options']."</th>\n";
echo "<tr>\n";
echo "</tr>\n";
$x = 0;
foreach($agents as $row) {
$str = '';
$str .= "<tr >\n";
$str .= "<tr>\n";
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_name']."&nbsp;</td>\n";
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_status']."&nbsp;</td>\n";
$str .= " <td valign='middle' class='".$row_style[$c]."'>";

View File

@@ -121,7 +121,6 @@ else {
echo "</div>\n";
echo "<div style='float: right; margin-bottom: 10px;'>";
echo " <form method='get' action=''>\n";
echo " <table border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td style='vertical-align: top; white-space: nowrap;'>\n";
@@ -129,8 +128,10 @@ else {
echo " <input id='btn_viewall_callrouting' type='button' class='btn' value='".$text['button-view_all']."' onclick=\"document.location.href='".PROJECT_PATH."/app/calls/calls.php';\">";
}
if (!$is_included) {
echo " <form method='get' action=''>\n";
echo " <input type='text' class='txt' style='width: 150px' name='search' value='".$search."'>";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>";
echo " </form>\n";
if ($paging_controls_mini != '') {
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>\n";
}

View File

@@ -158,7 +158,7 @@ require_once "resources/paging.php";
if (!$is_included) {
echo th_order_by('ring_group_description', $text['label-description'], $order_by, $order);
}
echo "<tr>\n";
echo "</tr>\n";
$c = 0;
if ($result_count > 0) {
@@ -183,7 +183,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
}
echo "<tr>\n";
echo "</table>";
echo "<br>";