Update the file names in call center.

This commit is contained in:
Mark Crane
2012-11-24 02:59:17 +00:00
parent c2f1d8eb54
commit 47de6ff375
12 changed files with 49 additions and 60 deletions
+11 -13
View File
@@ -51,8 +51,8 @@ require_once "includes/paging.php";
echo "<tr>\n";
echo "<td width='50%' align='left' nowrap='nowrap'><b>Call Center Agent List</b></td>\n";
echo "<td width='50%' align='right'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='v_call_center_agent_status.php'\" value='Status'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='v_call_center_queue.php'\" value='Back'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='call_center_agent_status.php'\" value='Status'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='call_center_queues.php'\" value='Back'>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
@@ -62,8 +62,7 @@ require_once "includes/paging.php";
echo "</tr>\n";
echo "</tr></table>\n";
$sql = "";
$sql .= "select * from v_call_center_agents ";
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by) == 0) {
$order_by = 'agent_name';
@@ -84,8 +83,7 @@ require_once "includes/paging.php";
list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
$sql = "";
$sql .= " select * from v_call_center_agents ";
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by) == 0) {
$order_by = 'agent_name';
@@ -122,7 +120,7 @@ require_once "includes/paging.php";
//echo th_order_by('agent_busy_delay_time', 'Busy Delay Time', $order_by, $order);
echo "<td align='right' width='42'>\n";
if (permission_exists('call_center_agents_add')) {
echo " <a href='v_call_center_agent_edit.php' alt='add'>$v_link_label_add</a>\n";
echo " <a href='call_center_agent_edit.php' alt='add'>$v_link_label_add</a>\n";
}
echo "</td>\n";
echo "<tr>\n";
@@ -144,13 +142,13 @@ require_once "includes/paging.php";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[agent_busy_delay_time]."&nbsp;</td>\n";
echo " <td valign='top' align='right'>\n";
if (permission_exists('call_center_agents_edit')) {
echo " <a href='v_call_center_agent_edit.php?id=".$row[call_center_agent_uuid]."' alt='edit'>$v_link_label_edit</a>\n";
echo " <a href='call_center_agent_edit.php?id=".$row[call_center_agent_uuid]."' alt='edit'>$v_link_label_edit</a>\n";
}
if (permission_exists('call_center_agents_delete')) {
echo " <a href='v_call_center_agent_delete.php?id=".$row[call_center_agent_uuid]."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
echo " <a href='call_center_agent_delete.php?id=".$row[call_center_agent_uuid]."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
}
//echo " <input type='button' class='btn' name='' alt='edit' onclick=\"window.location='v_call_center_agent_edit.php?id=".$row[call_center_agent_uuid]."'\" value='e'>\n";
//echo " <input type='button' class='btn' name='' alt='delete' onclick=\"if (confirm('Are you sure you want to delete this?')) { window.location='v_call_center_agent_delete.php?id=".$row[call_center_agent_uuid]."' }\" value='x'>\n";
//echo " <input type='button' class='btn' name='' alt='edit' onclick=\"window.location='call_center_agent_edit.php?id=".$row[call_center_agent_uuid]."'\" value='e'>\n";
//echo " <input type='button' class='btn' name='' alt='delete' onclick=\"if (confirm('Are you sure you want to delete this?')) { window.location='call_center_agent_delete.php?id=".$row[call_center_agent_uuid]."' }\" value='x'>\n";
echo " </td>\n";
echo "</tr>\n";
if ($c==0) { $c=1; } else { $c=0; }
@@ -166,7 +164,7 @@ require_once "includes/paging.php";
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
echo " <td width='33.3%' align='right'>\n";
if (permission_exists('call_center_agents_add')) {
echo " <a href='v_call_center_agent_edit.php' alt='add'>$v_link_label_add</a>\n";
echo " <a href='call_center_agent_edit.php' alt='add'>$v_link_label_add</a>\n";
}
echo " </td>\n";
echo " </tr>\n";
@@ -187,4 +185,4 @@ require_once "includes/paging.php";
//show the footer
require_once "includes/footer.php";
?>
?>