Access Controls: Add window titles.

This commit is contained in:
Nate 2020-01-06 12:11:08 -07:00
parent e58a10549c
commit 0d09799238
3 changed files with 4 additions and 2 deletions

View File

@ -167,6 +167,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$token = $object->create($_SERVER['PHP_SELF']);
//show the header
$document['title'] = $text['title-access_control'];
require_once "resources/header.php";
//show the content
@ -234,7 +235,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <input type='hidden' name='access_control_uuid' value='".escape($access_control_uuid)."'>\n";
}
echo " <input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
echo " <br><input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";

View File

@ -188,11 +188,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$token = $object->create($_SERVER['PHP_SELF']);
//show the header
$document['title'] = $text['title-access_control_node'];
require_once "resources/header.php";
//show the content
echo "<form method='post' name='frm' action=''>\n";
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-access_control_node']."</b><br><br></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";

View File

@ -112,6 +112,7 @@
$token = $object->create($_SERVER['PHP_SELF']);
//include the header
$document['title'] = $text['title-access_controls'];
require_once "resources/header.php";
//show the content