Document (Window) Title: Update variable name to avoid conflict when paging is used.
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -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";
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'>";
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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'];
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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'>";
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
@@ -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'>";
|
||||
|
||||
@@ -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>";
|
||||
|
||||
@@ -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%"';
|
||||
|
||||
Reference in New Issue
Block a user