Devices: Add window titles.

This commit is contained in:
Nate
2020-01-06 07:39:59 -07:00
parent 6a81e64b3a
commit 4edd21773a
8 changed files with 105 additions and 9 deletions

View File

@@ -55,7 +55,7 @@
}
//set the max php execution time
ini_set(max_execution_time,7200);
ini_set('max_execution_time',7200);
//get the http get values and set them as php variables
$action = check_str($_POST["action"]);
@@ -138,6 +138,7 @@
if (strlen($delimiter) > 0 && file_exists($_SESSION['file']) && $action != 'import') {
//form to match the fields to the column names
$document['title'] = $text['title-device_import'];
require_once "resources/header.php";
echo "<form action='device_imports.php' method='POST' enctype='multipart/form-data' name='frmUpload' onSubmit=''>\n";
@@ -238,6 +239,7 @@
if (file_exists($_SESSION['file']) && $action == 'import') {
//form to match the fields to the column names
//$document['title'] = $text['title-device_import'];
//require_once "resources/header.php";
//user selected fields
@@ -353,13 +355,14 @@
}
//include the header
$document['title'] = $text['title-device_import'];
require_once "resources/header.php";
//begin the content
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td valign='top' align='left' width='30%' nowrap='nowrap'>\n";
echo " <b>".$text['header-import']."</b><br />\n";
echo " <b>".$text['header-device_import']."</b><br />\n";
echo " ".$text['description-import']."\n";
echo " </td>\n";
echo " <td valign='top' width='70%' align='right'>\n";