Corrected browser title to display properly for Extension Edit and Add.
This commit is contained in:
parent
c96a2b0fd9
commit
aa013ee01f
|
|
@ -662,7 +662,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
|
|
||||||
//begin the page content
|
//begin the page content
|
||||||
require_once "includes/header.php";
|
require_once "includes/header.php";
|
||||||
|
if ($action == "update") {
|
||||||
$page["title"] = $text['title-extension-edit'];
|
$page["title"] = $text['title-extension-edit'];
|
||||||
|
}
|
||||||
|
else if ($action == "add") {
|
||||||
|
$page["title"] = $text['title-extension-add'];
|
||||||
|
}
|
||||||
|
|
||||||
echo "<script type=\"text/javascript\" language=\"JavaScript\">\n";
|
echo "<script type=\"text/javascript\" language=\"JavaScript\">\n";
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue