Merge pull request #62 from digital-gnome/storageareas-robotsmerge

Storageareas robotsmerge
This commit is contained in:
Isaac Connor 2017-12-07 21:50:09 -05:00 committed by GitHub
commit 3b5e70c51a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View File

@ -156,7 +156,7 @@ $statusData = array(
'permission' => 'Events',
'table' => 'Frames',
'limit' => 1,
'selector' => array( array( 'table' => 'Events', 'join' => 'Events.Id = Frames.EventId', 'selector'=>"Events.Id' ), 'Frames.FrameId" ),
'selector' => array( array( 'table' => 'Events', 'join' => 'Events.Id = Frames.EventId', 'selector'=>'Events.Id' ), 'Frames.FrameId' ),
'elements' => array(
//'Id' => array( 'sql' => 'Frames.FrameId' ),
'FrameId' => true,
@ -312,7 +312,7 @@ switch( $_REQUEST['layout'] ) {
case 'xml NOT CURRENTLY SUPPORTED' :
{
header("Content-type: application/xml" );
echo( '<?xml version="1.0' encoding='iso-8859-1"?>'.'\n' );
echo( '<?xml version="1.0" encoding="iso-8859-1"?>'.'\n' );
echo "<".strtolower($_REQUEST['entity']).">\n";
foreach ( $data as $key=>$value ) {
$key = strtolower( $key );

View File

@ -45,8 +45,11 @@ $scales = array(
'12.5' => '1/8x',
);
if (isset($_REQUEST['view']) && ($_REQUEST['view'] == 'montage'))
unset($scales['auto']); //Remove auto if we aren't using event view
if (isset($_REQUEST['view']) && ($_REQUEST['view'] == 'montage')) {
unset($scales['auto']); //Remove auto on montage, use everywhere else
} else {
unset($scales['']); //Remove fixed on everything but montage
}
$bandwidth_options = array(
'high' => translate('High'),

View File

@ -298,7 +298,7 @@ if ($reload == 'reload') ob_start();
echo ' ' . ZM_PATH_MAP .': '. getDiskPercent(ZM_PATH_MAP).'%';
?></li>
</ul>
</div> <!-- End .footer/reload -->
<!-- End .footer/reload --></div>
<?php
if ($reload == 'reload') return( ob_get_clean() );
?>