Variables: Add window titles.

This commit is contained in:
Nate
2020-01-06 12:37:01 -07:00
parent fbc5b81426
commit f643154768
2 changed files with 20 additions and 45 deletions
+1 -6
View File
@@ -180,13 +180,8 @@
$token = $object->create($_SERVER['PHP_SELF']);
//include header
$document['title'] = $text['title-variable'];
require_once "resources/header.php";
if ($action == "add") {
$document['title'] = $text['title-var_add'];
}
if ($action == "update") {
$document['title'] = $text['title-var_edit'];
}
//show contents
echo "<form method='post' name='frm' action=''>\n";