mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-09 01:58:44 +00:00
Remove v_ from the links in the php files.
This commit is contained in:
@@ -120,7 +120,7 @@ if (strlen($_GET["a"]) > 0) {
|
||||
$tmp_module_header .= "<th>Enabled</th>\n";
|
||||
//$tmp_module_header .= "<th>Default Enabled</th>\n";
|
||||
$tmp_module_header .= "<td align='right' width='42'>\n";
|
||||
$tmp_module_header .= " <a href='v_modules_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
$tmp_module_header .= " <a href='modules_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
$tmp_module_header .= "</td>\n";
|
||||
$tmp_module_header .= "<tr>\n";
|
||||
|
||||
@@ -138,7 +138,7 @@ if (strlen($_GET["a"]) > 0) {
|
||||
echo " <td width='33.3%' align='center' nowrap> </td>\n";
|
||||
echo " <td width='33.3%' align='right'>\n";
|
||||
if (permission_exists('modules_add')) {
|
||||
echo " <a href='v_modules_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
echo " <a href='modules_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
@@ -160,7 +160,7 @@ if (strlen($_GET["a"]) > 0) {
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row["module_description"]." </td>\n";
|
||||
if ($mod->active($row["module_name"])) {
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>Running</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='v_modules.php?a=stop&m=".$row["module_name"]."' alt='stop'>Stop</a></td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='modules.php?a=stop&m=".$row["module_name"]."' alt='stop'>Stop</a></td>\n";
|
||||
}
|
||||
else {
|
||||
if ($row['module_enabled']=="true") {
|
||||
@@ -169,16 +169,16 @@ if (strlen($_GET["a"]) > 0) {
|
||||
else {
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>Stopped $notice</td>\n";
|
||||
}
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='v_modules.php?a=start&m=".$row["module_name"]."' alt='start'>Start</a></td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='modules.php?a=start&m=".$row["module_name"]."' alt='start'>Start</a></td>\n";
|
||||
}
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row["module_enabled"]."</td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row["module_default_enabled"]."</td>\n";
|
||||
echo " <td valign='top' align='right'>\n";
|
||||
if (permission_exists('modules_edit')) {
|
||||
echo " <a href='v_modules_edit.php?id=".$row["module_uuid"]."' alt='edit'>$v_link_label_edit</a>\n";
|
||||
echo " <a href='modules_edit.php?id=".$row["module_uuid"]."' alt='edit'>$v_link_label_edit</a>\n";
|
||||
}
|
||||
if (permission_exists('modules_delete')) {
|
||||
echo " <a href='v_modules_delete.php?id=".$row["module_uuid"]."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
|
||||
echo " <a href='modules_delete.php?id=".$row["module_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";
|
||||
@@ -197,7 +197,7 @@ if (strlen($_GET["a"]) > 0) {
|
||||
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
||||
echo " <td width='33.3%' align='right'>\n";
|
||||
if (permission_exists('modules_add')) {
|
||||
echo " <a href='v_modules_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
echo " <a href='modules_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
@@ -39,8 +39,7 @@ if (count($_GET)>0) {
|
||||
}
|
||||
|
||||
if (strlen($id)>0) {
|
||||
$sql = "";
|
||||
$sql .= "delete from v_modules ";
|
||||
$sql = "delete from v_modules ";
|
||||
$sql .= "where module_uuid = '$id' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
@@ -48,7 +47,7 @@ if (strlen($id)>0) {
|
||||
}
|
||||
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_modules.php\">\n";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=modules.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Delete Complete\n";
|
||||
echo "</div>\n";
|
||||
|
||||
@@ -110,7 +110,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
save_module_xml();
|
||||
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_modules.php\">\n";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=modules.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Add Complete\n";
|
||||
echo "</div>\n";
|
||||
@@ -133,7 +133,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
save_module_xml();
|
||||
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_modules.php\">\n";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=modules.php\">\n";
|
||||
echo "<div align='center'>\n";
|
||||
echo "Update Complete\n";
|
||||
echo "</div>\n";
|
||||
@@ -146,8 +146,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
//pre-populate the form
|
||||
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
|
||||
$module_uuid = $_GET["id"];
|
||||
$sql = "";
|
||||
$sql .= "select * from v_modules ";
|
||||
$sql = "select * from v_modules ";
|
||||
$sql .= "where module_uuid = '$module_uuid' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
@@ -186,7 +185,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
if ($action == "update") {
|
||||
echo "<td align='left' width='30%' nowrap><b>Module Update</b></td>\n";
|
||||
}
|
||||
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_modules.php'\" value='Back'></td>\n";
|
||||
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='modules.php'\" value='Back'></td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user