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
+8 -10
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 Queue</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.php'\" value='Agents'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='v_call_center_tier.php'\" value='Tiers'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='call_center_agents.php'\" value='Agents'>\n";
echo " <input type='button' class='btn' name='' alt='add' onclick=\"window.location='call_center_tiers.php'\" value='Tiers'>\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_queues ";
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by) == 0) {
$order_by = 'queue_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_queues ";
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by) == 0) {
$order_by = 'queue_name';
@@ -125,7 +123,7 @@ require_once "includes/paging.php";
echo th_order_by('queue_description', 'Description', $order_by, $order);
echo "<td align='right' width='42'>\n";
if (permission_exists('call_center_queues_add')) {
echo " <a href='v_call_center_queue_edit.php' alt='add'>$v_link_label_add</a>\n";
echo " <a href='call_center_queue_edit.php' alt='add'>$v_link_label_add</a>\n";
}
echo "</td>\n";
echo "<tr>\n";
@@ -150,10 +148,10 @@ require_once "includes/paging.php";
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_description]."&nbsp;</td>\n";
echo " <td valign='top' align='right'>\n";
if (permission_exists('call_center_queues_edit')) {
echo " <a href='v_call_center_queue_edit.php?id=".$row[call_center_queue_uuid]."' alt='edit'>$v_link_label_edit</a>\n";
echo " <a href='call_center_queue_edit.php?id=".$row[call_center_queue_uuid]."' alt='edit'>$v_link_label_edit</a>\n";
}
if (permission_exists('call_center_queues_delete')) {
echo " <a href='v_call_center_queue_delete.php?id=".$row[call_center_queue_uuid]."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
echo " <a href='call_center_queue_delete.php?id=".$row[call_center_queue_uuid]."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
}
echo " </td>\n";
echo "</tr>\n";
@@ -170,7 +168,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_queues_add')) {
echo " <a href='v_call_center_queue_edit.php' alt='add'>$v_link_label_add</a>\n";
echo " <a href='call_center_queue_edit.php' alt='add'>$v_link_label_add</a>\n";
}
echo " </td>\n";
echo " </tr>\n";