Remove the v_ from the links in call broadcast.

This commit is contained in:
Mark Crane
2012-11-24 00:24:54 +00:00
parent dd4828ed0f
commit cada64d125
4 changed files with 12 additions and 13 deletions

View File

@@ -34,7 +34,7 @@
$apps[$x]['menu'][0]['category'] = 'internal';
$apps[$x]['menu'][0]['groups'][] = 'admin';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
$apps[$x]['menu'][0]['path'] = '/app/call_broadcast/v_call_broadcast.php';
$apps[$x]['menu'][0]['path'] = '/app/call_broadcast/call_broadcast.php';
//permission details
$apps[$x]['permissions'][0]['name'] = 'call_broadcast_view';

View File

@@ -101,7 +101,7 @@ else {
//echo th_order_by('recordingid', 'Recording', $order_by, $order);
echo "<td align='right' width='42'>\n";
if (permission_exists('call_broadcast_add')) {
echo " <a href='v_call_broadcast_edit.php' alt='add'>$v_link_label_add</a>\n";
echo " <a href='call_broadcast_edit.php' alt='add'>$v_link_label_add</a>\n";
}
echo "</td>\n";
echo "<tr>\n";
@@ -115,10 +115,10 @@ else {
echo " <td valign='top' class='".$row_style[$c]."'>".$row['broadcast_description']."&nbsp;</td>\n";
echo " <td valign='top' align='right'>\n";
if (permission_exists('call_broadcast_edit')) {
echo " <a href='v_call_broadcast_edit.php?id=".$row['call_broadcast_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
echo " <a href='call_broadcast_edit.php?id=".$row['call_broadcast_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
}
if (permission_exists('call_broadcast_delete')) {
echo " <a href='v_call_broadcast_delete.php?id=".$row['call_broadcast_uuid']."' alt='delete' onclick=\"return confirm('".$text['confirm-delete-info']."')\">$v_link_label_delete</a>\n";
echo " <a href='call_broadcast_delete.php?id=".$row['call_broadcast_uuid']."' alt='delete' onclick=\"return confirm('".$text['confirm-delete-info']."')\">$v_link_label_delete</a>\n";
}
echo " </td>\n";
echo "</tr>\n";
@@ -136,7 +136,7 @@ else {
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
echo " <td width='33.3%' align='right'>\n";
if (permission_exists('call_broadcast_add')) {
echo " <a href='v_call_broadcast_edit.php' alt='add'>$v_link_label_add</a>\n";
echo " <a href='call_broadcast_edit.php' alt='add'>$v_link_label_add</a>\n";
}
echo " </td>\n";
echo " </tr>\n";

View File

@@ -57,7 +57,7 @@ else {
//redirect the user
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_call_broadcast.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_broadcast.php\">\n";
echo "<div align='center'>\n";
echo "".$text['confirm-delete']."\n";
echo "</div>\n";

View File

@@ -142,7 +142,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_call_broadcast.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_broadcast.php\">\n";
echo "<div align='center'>\n";
echo "".$text['confirm-add']."\n";
echo "</div>\n";
@@ -178,7 +178,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_call_broadcast.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_broadcast.php\">\n";
echo "<div align='center'>\n";
echo "".$text['confirm-update']."\n";
echo "</div>\n";
@@ -191,8 +191,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$call_broadcast_uuid = $_GET["id"];
$sql = "";
$sql .= "select * from v_call_broadcasts ";
$sql = "select * from v_call_broadcasts ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and call_broadcast_uuid = '$call_broadcast_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
@@ -232,7 +231,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' align='left' nowrap='nowrap'><b>".$text['label-call-broadcast']."</b></td>\n";
echo "<td width='70%' align='right'>\n";
echo " <input type='button' class='btn' name='back' alt='back' onclick=\"window.location='v_call_broadcast.php'\" value='".$text['button-back']."'>\n";
echo " <input type='button' class='btn' name='back' alt='back' onclick=\"window.location='call_broadcast.php'\" value='".$text['button-back']."'>\n";
echo "</td>\n";
echo "</tr>\n";
@@ -385,7 +384,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='call_broadcast_uuid' value='$call_broadcast_uuid'>\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_call_broadcast_send.php?call_broadcast_uuid=$call_broadcast_uuid'\" value='".$text['button-send']."'>\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='call_broadcast_send.php?call_broadcast_uuid=$call_broadcast_uuid'\" value='".$text['button-send']."'>\n";
}
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
@@ -408,7 +407,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</tr>\n";
echo "</table>\n";
echo "<form method='get' name='frm' action='v_call_broadcast_send.php'>\n";
echo "<form method='get' name='frm' action='call_broadcast_send.php'>\n";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";