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-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'>";