Remove v_ from the links.

This commit is contained in:
Mark Crane
2012-11-24 00:49:57 +00:00
parent 04cff1e628
commit d85bdf925b
2 changed files with 4 additions and 5 deletions

View File

@@ -32,7 +32,7 @@
$apps[$x]['menu'][0]['uuid'] = '148ea42a-3711-3d64-181b-07a6a3c3ed60';
$apps[$x]['menu'][0]['parent_uuid'] = '02194288-6d56-6d3e-0b1a-d53a2bc10788';
$apps[$x]['menu'][0]['category'] = 'internal';
$apps[$x]['menu'][0]['path'] = '/app/settings/v_settings_edit.php';
$apps[$x]['menu'][0]['path'] = '/app/settings/settings_edit.php';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
//permission details

View File

@@ -35,8 +35,7 @@ else {
}
//get the number of rows in v_extensions
$sql = "";
$sql .= " select count(*) as num_rows from v_settings ";
$sql = " select count(*) as num_rows from v_settings ";
$prep_statement = $db->prepare(check_sql($sql));
$num_rows = 0;
if ($prep_statement) {
@@ -152,7 +151,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
save_setting_xml();
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_settings_edit.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=settings_edit.php\">\n";
echo "<div align='center'>\n";
echo "Add Complete\n";
echo "</div>\n";
@@ -178,7 +177,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
save_setting_xml();
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_settings_edit.php\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=settings_edit.php\">\n";
echo "<div align='center'>\n";
echo "Update Complete\n";
echo "</div>\n";