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
+4 -5
View File
@@ -226,7 +226,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the user
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_call_center_agent.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_center_agents.php\">\n";
echo "<div align='center'>\n";
echo "Add Complete\n";
echo "</div>\n";
@@ -256,7 +256,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
save_call_center_xml();
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_call_center_agent.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_center_agents.php\">\n";
echo "<div align='center'>\n";
echo "Update Complete\n";
echo "</div>\n";
@@ -269,8 +269,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$call_center_agent_uuid = $_GET["id"];
$sql = "";
$sql .= "select * from v_call_center_agents ";
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and call_center_agent_uuid = '$call_center_agent_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
@@ -322,7 +321,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo "<td align='left' width='30%' nowrap='nowrap'><b>Call Center Agent Edit</b></td>\n";
}
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_call_center_agent.php'\" value='Back'></td>\n";
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='call_center_agents.php'\" value='Back'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td align='left' colspan='2'>\n";