use xhtmlFooter instead of html since it now contains all the javascript

This commit is contained in:
Isaac Connor 2020-09-02 17:35:24 -04:00
parent f38692795e
commit fa780c5020
1 changed files with 3 additions and 6 deletions

View File

@ -131,6 +131,7 @@ function probeProfiles($device_ep, $soapversion, $username, $password) {
$focusWindow = true; $focusWindow = true;
xhtmlHeaders(__FILE__, translate('MonitorProbe')); xhtmlHeaders(__FILE__, translate('MonitorProbe'));
getBodyTopHTML();
if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) { if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) {
@ -160,7 +161,6 @@ if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) {
$cameras[0] = translate('NoDetectedCameras'); $cameras[0] = translate('NoDetectedCameras');
?> ?>
<body>
<div id="page"> <div id="page">
<div id="header"> <div id="header">
<h2><?php echo translate('MonitorProbe') ?></h2> <h2><?php echo translate('MonitorProbe') ?></h2>
@ -238,7 +238,6 @@ if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) {
</form> </form>
</div> </div>
</div> </div>
</body>
<?php <?php
//==== STEP 2 ============================================================ //==== STEP 2 ============================================================
@ -288,7 +287,6 @@ if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) {
$profiles[0] = translate('NoDetectedProfiles'); $profiles[0] = translate('NoDetectedProfiles');
?> ?>
<body>
<div id="page"> <div id="page">
<div id="header"> <div id="header">
<h2><?php echo translate('ProfileProbe') ?></h2> <h2><?php echo translate('ProfileProbe') ?></h2>
@ -313,8 +311,7 @@ if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) {
</form> </form>
</div> </div>
</div> </div>
</body>
<?php <?php
} // end if step 1 or 2 } // end if step 1 or 2
?> ?>
</html> <?php xhtmlFooter() ?>