Document (Window) Title: Update variable name to avoid conflict when paging is used.

This commit is contained in:
Nate Jones
2014-07-10 00:32:50 +00:00
parent 5b8414066f
commit e67aa0c638
80 changed files with 107 additions and 107 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ else {
}
require_once "resources/header.php";
$page["title"] = $text['title-apps'];
$document['title'] = $text['title-apps'];
require_once "resources/paging.php";
+2 -2
View File
@@ -112,10 +112,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-app-edit'];
$document['title'] = $text['title-app-edit'];
}
if ($action == "add") {
$page["title"] = $text['title-app-add'];
$document['title'] = $text['title-app-add'];
}
//pre-populate the form
+2 -2
View File
@@ -202,10 +202,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-database-edit'];
$document['title'] = $text['title-database-edit'];
}
if ($action == "add") {
$page["title"] = $text['title-database-add'];
$document['title'] = $text['title-database-add'];
}
//show the content
+1 -1
View File
@@ -41,7 +41,7 @@ else {
}
require_once "resources/header.php";
$page["title"] = $text['title-databases'];
$document['title'] = $text['title-databases'];
require_once "resources/paging.php";
@@ -162,10 +162,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-default_setting-edit'];
$document['title'] = $text['title-default_setting-edit'];
}
elseif ($action == "add") {
$page["title"] = $text['title-default_setting-add'];
$document['title'] = $text['title-default_setting-add'];
}
//show the content
+1 -1
View File
@@ -41,7 +41,7 @@ else {
}
require_once "resources/header.php";
$page["title"] = $text['title-default_settings'];
$document['title'] = $text['title-default_settings'];
require_once "resources/paging.php";
+2 -2
View File
@@ -551,10 +551,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-domain-edit'];
$document['title'] = $text['title-domain-edit'];
}
if ($action == "add") {
$page["title"] = $text['title-domain-add'];
$document['title'] = $text['title-domain-add'];
}
//show the content
+2 -2
View File
@@ -257,10 +257,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-domain_setting-edit'];
$document['title'] = $text['title-domain_setting-edit'];
}
elseif ($action == "add") {
$page["title"] = $text['title-domain_setting-add'];
$document['title'] = $text['title-domain_setting-add'];
}
//show the content
+1 -1
View File
@@ -94,7 +94,7 @@ else {
//includes
require_once "resources/header.php";
$page["title"] = $text['title-domains'];
$document['title'] = $text['title-domains'];
require_once "resources/paging.php";
+1 -1
View File
@@ -41,7 +41,7 @@ else {
}
require_once "resources/header.php";
$page["title"] = $text['title-menus'];
$document['title'] = $text['title-menus'];
require_once "resources/paging.php";
+2 -2
View File
@@ -157,10 +157,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//show the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-menu-edit'];
$document['title'] = $text['title-menu-edit'];
}
if ($action == "add") {
$page["title"] = $text['title-menu-add'];
$document['title'] = $text['title-menu-add'];
}
//show the content
+2 -2
View File
@@ -305,10 +305,10 @@ else {
//include the header
require_once "resources/header.php";
if ($action == "update") {
$page["title"] = $text['title-menu_item-edit'];
$document['title'] = $text['title-menu_item-edit'];
}
if ($action == "add") {
$page["title"] = $text['title-menu_item-add'];
$document['title'] = $text['title-menu_item-add'];
}
echo "<div align='center'>";
+1 -1
View File
@@ -59,7 +59,7 @@
}
require_once "resources/header.php";
$page["title"] = $text['title-upgrade_schema'];
$document['title'] = $text['title-upgrade_schema'];
$display_type = 'html'; //html, text
}
+1 -1
View File
@@ -67,7 +67,7 @@
// load header
require_once "resources/header.php";
$page["title"] = $text['title-user_dashboard'];
$document['title'] = $text['title-user_dashboard'];
echo "<br><b>".$text['header-user_dashboard']."</b><br>";
echo $text['description-user_dashboard'];
+1 -1
View File
@@ -42,7 +42,7 @@ else {
}
require_once "resources/header.php";
$page["title"] = $text['title-group_permissions'];
$document['title'] = $text['title-group_permissions'];
require_once "resources/paging.php";
+1 -1
View File
@@ -78,7 +78,7 @@ if (strlen($group_name) > 0) {
//include the header
include "resources/header.php";
$page["title"] = $text['title-group_add'];
$document['title'] = $text['title-group_add'];
//show the content
echo "<div align='center'>";
+1 -1
View File
@@ -64,7 +64,7 @@ else {
//include the header
require_once "resources/header.php";
$page["title"] = $text['title-group_members'];
$document['title'] = $text['title-group_members'];
//show the content
$c = 0;
+1 -1
View File
@@ -44,7 +44,7 @@ else {
//show the header
require_once "resources/header.php";
$page["title"] = $text['title-group_manager'];
$document['title'] = $text['title-group_manager'];
if (isset($_REQUEST["change"])) {
//get the values from the HTTP POST and save them as PHP variables
$change = check_str($_REQUEST["change"]);
+1 -1
View File
@@ -42,7 +42,7 @@ else {
//include the header
require_once "resources/header.php";
$page["title"] = $text['title-user_manager'];
$document['title'] = $text['title-user_manager'];
//show the user list
echo "<div align='center'>";
+1 -1
View File
@@ -198,7 +198,7 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") {
//show the header
require_once "resources/header.php";
$page["title"] = $text['title-user_add'];
$document['title'] = $text['title-user_add'];
//show the content
echo "<script>";
+1 -1
View File
@@ -369,7 +369,7 @@ else {
//include the header
require_once "resources/header.php";
$page["title"] = $text['title-user_edit'];
$document['title'] = $text['title-user_edit'];
//show the content
$table_width ='width="100%"';