Dashboard: Fix issue with Ring Group Forward not saving changes.
Misc: Restore/Fix some missing/botched HTML tags.
This commit is contained in:
parent
8af3c09276
commit
6a0465609f
|
|
@ -173,7 +173,7 @@ else {
|
||||||
echo $text['description-call_center_agent_status']."<br /><br />\n";
|
echo $text['description-call_center_agent_status']."<br /><br />\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "</tr></table>\n";
|
echo "</table>\n";
|
||||||
|
|
||||||
$c = 0;
|
$c = 0;
|
||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
|
|
@ -185,11 +185,11 @@ else {
|
||||||
echo "<th>".$text['label-agent']."</th>\n";
|
echo "<th>".$text['label-agent']."</th>\n";
|
||||||
echo "<th>".$text['label-status']."</th>\n";
|
echo "<th>".$text['label-status']."</th>\n";
|
||||||
echo "<th>".$text['label-options']."</th>\n";
|
echo "<th>".$text['label-options']."</th>\n";
|
||||||
echo "<tr>\n";
|
echo "</tr>\n";
|
||||||
$x = 0;
|
$x = 0;
|
||||||
foreach($agents as $row) {
|
foreach($agents as $row) {
|
||||||
$str = '';
|
$str = '';
|
||||||
$str .= "<tr >\n";
|
$str .= "<tr>\n";
|
||||||
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_name']." </td>\n";
|
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_name']." </td>\n";
|
||||||
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_status']." </td>\n";
|
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_status']." </td>\n";
|
||||||
$str .= " <td valign='middle' class='".$row_style[$c]."'>";
|
$str .= " <td valign='middle' class='".$row_style[$c]."'>";
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,6 @@ else {
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
||||||
echo "<div style='float: right; margin-bottom: 10px;'>";
|
echo "<div style='float: right; margin-bottom: 10px;'>";
|
||||||
echo " <form method='get' action=''>\n";
|
|
||||||
echo " <table border='0' cellpadding='0' cellspacing='0'>\n";
|
echo " <table border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td style='vertical-align: top; white-space: nowrap;'>\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';\">";
|
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) {
|
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='text' class='txt' style='width: 150px' name='search' value='".$search."'>";
|
||||||
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>";
|
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>";
|
||||||
|
echo " </form>\n";
|
||||||
if ($paging_controls_mini != '') {
|
if ($paging_controls_mini != '') {
|
||||||
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>\n";
|
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>\n";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@ require_once "resources/paging.php";
|
||||||
if (!$is_included) {
|
if (!$is_included) {
|
||||||
echo th_order_by('ring_group_description', $text['label-description'], $order_by, $order);
|
echo th_order_by('ring_group_description', $text['label-description'], $order_by, $order);
|
||||||
}
|
}
|
||||||
echo "<tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
$c = 0;
|
$c = 0;
|
||||||
if ($result_count > 0) {
|
if ($result_count > 0) {
|
||||||
|
|
@ -183,7 +183,6 @@ require_once "resources/paging.php";
|
||||||
unset($sql, $result, $row_count);
|
unset($sql, $result, $row_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<tr>\n";
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "<br>";
|
echo "<br>";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -382,7 +382,7 @@
|
||||||
if (is_uuid($voicemail_uuid)) {
|
if (is_uuid($voicemail_uuid)) {
|
||||||
$tr_link = "href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'";
|
$tr_link = "href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'";
|
||||||
$hud[$n]['html'] .= "<tr ".$tr_link." style='cursor: pointer;'>";
|
$hud[$n]['html'] .= "<tr ".$tr_link." style='cursor: pointer;'>";
|
||||||
$hud[$n]['html'] .= " <td class='".$row_style[$c]." hud_text'><a href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'>".$row['ext']."</td>";
|
$hud[$n]['html'] .= " <td class='".$row_style[$c]." hud_text'><a href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'>".$row['ext']."</a></td>";
|
||||||
$hud[$n]['html'] .= " <td class='".$row_style[$c]." hud_text' style='text-align: center;'>".$row['new']."</td>";
|
$hud[$n]['html'] .= " <td class='".$row_style[$c]." hud_text' style='text-align: center;'>".$row['new']."</td>";
|
||||||
$hud[$n]['html'] .= " <td class='".$row_style[$c]." hud_text' style='text-align: center;'>".$row['total']."</td>";
|
$hud[$n]['html'] .= " <td class='".$row_style[$c]." hud_text' style='text-align: center;'>".$row['total']."</td>";
|
||||||
$hud[$n]['html'] .= "</tr>";
|
$hud[$n]['html'] .= "</tr>";
|
||||||
|
|
|
||||||
|
|
@ -1921,17 +1921,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div id='footer' style='width: 100%; margin-bottom: 60px;'>
|
<div id='footer' style='width: 100%; margin-bottom: 60px;'>
|
||||||
<span class='footer'>
|
<span class='footer'><?php echo (isset($_SESSION['theme']['footer']['text'])) ? $_SESSION['theme']['footer']['text'] : "© ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved']; ?></span>
|
||||||
<?php
|
|
||||||
if (isset($_SESSION['theme']['footer']['text'])) {
|
|
||||||
echo $_SESSION['theme']['footer']['text'];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
echo " ";
|
|
||||||
echo "© ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved'];
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -1954,17 +1944,8 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 100%; height: 40px; vertical-align: bottom;'>
|
<td style='width: 100%; height: 40px; vertical-align: bottom;'>
|
||||||
<div id='footer' style='width: 100%;'><span class='footer'>
|
<div id='footer' style='width: 100%;'>
|
||||||
<?php
|
<span class='footer'><?php echo (isset($_SESSION['theme']['footer']['text'])) ? $_SESSION['theme']['footer']['text'] : "© ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved']; ?></span>
|
||||||
if (isset($_SESSION['theme']['footer']['text'])) {
|
|
||||||
echo $_SESSION['theme']['footer']['text'];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
echo " ";
|
|
||||||
echo "© ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved'];
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -1976,4 +1957,4 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue