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