Conference Centers: Add window titles.

This commit is contained in:
Nate 2020-01-06 11:14:01 -07:00
parent dc89979a1f
commit 60c4f4c2ee
4 changed files with 10 additions and 5 deletions

View File

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

View File

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

View File

@ -263,6 +263,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//if (strlen($enabled) == 0) { $msg .= "Please provide: Enabled<br>\n"; }
//if (strlen($description) == 0) { $msg .= "Please provide: Description<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
$document['title'] = $text['title-conference_room'];
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
@ -554,6 +555,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$token = $object->create($_SERVER['PHP_SELF']);
//show the header
$document['title'] = $text['title-conference_room'];
require_once "resources/header.php";
//show the content
@ -561,7 +563,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' valign='top' width='30%' nowrap='nowrap'><b>".$text['title-conference_rooms']."</b></td>\n";
echo "<td align='left' valign='top' width='30%' nowrap='nowrap'><b>".$text['title-conference_room']."</b></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='conference_rooms.php'\" value='".$text['button-back']."'>\n";
if (is_uuid($meeting_uuid)) {

View File

@ -28,6 +28,7 @@
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
require_once "resources/paging.php";
//check permissions
if (permission_exists('conference_room_view')) {
@ -42,10 +43,6 @@
$language = new text;
$text = $language->get();
//additional includes
require_once "resources/header.php";
require_once "resources/paging.php";
//get the meeting_uuid using the pin number
$search = preg_replace('{\D}', '', $_GET["search"]);
if (strlen($search) > 0) {
@ -155,6 +152,10 @@
$order_by = $_GET["order_by"];
$order = $_GET["order"];
//include header
$document['title'] = $text['title-conference_rooms'];
require_once "resources/header.php";
//show the content
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
echo " <tr>\n";