fix calls to getStreamHTML
This commit is contained in:
parent
adbb5f431d
commit
9f99d34807
|
@ -82,7 +82,7 @@ xhtmlHeaders(__FILE__, translate('CycleWatch') );
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="imageFeed">
|
<div id="imageFeed">
|
||||||
<?php echo getStreamHTML( $monitor, $scale, $mode ); ?>
|
<?php echo getStreamHTML( $monitor, array( 'scale'=>$scale, 'mode'=>$mode ) ); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -70,7 +70,7 @@ if ( canView( 'Control' ) && $monitor->Type() == 'Local' ) {
|
||||||
<div id="scaleControl"><?php echo translate('Scale') ?>: <?php echo buildSelect( "scale", $scales, "changeScale( this );" ); ?></div>
|
<div id="scaleControl"><?php echo translate('Scale') ?>: <?php echo buildSelect( "scale", $scales, "changeScale( this );" ); ?></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="imageFeed"><?php echo getStreamHTML( $monitor, $scale ); ?></div>
|
<div id="imageFeed"><?php echo getStreamHTML( $monitor, array('scale'=>$scale) ); ?></div>
|
||||||
<div id="monitorStatus">
|
<div id="monitorStatus">
|
||||||
<?php if ( canEdit( 'Monitors' ) ) { ?>
|
<?php if ( canEdit( 'Monitors' ) ) { ?>
|
||||||
<div id="enableDisableAlarms"><a id="enableAlarmsLink" href="#" onclick="cmdEnableAlarms(); return( false );" class="hidden"><?php echo translate('EnableAlarms') ?></a><a id="disableAlarmsLink" href="#" onclick="cmdDisableAlarms(); return( false );" class="hidden"><?php echo translate('DisableAlarms') ?></a></div>
|
<div id="enableDisableAlarms"><a id="enableAlarmsLink" href="#" onclick="cmdEnableAlarms(); return( false );" class="hidden"><?php echo translate('EnableAlarms') ?></a><a id="disableAlarmsLink" href="#" onclick="cmdDisableAlarms(); return( false );" class="hidden"><?php echo translate('DisableAlarms') ?></a></div>
|
||||||
|
|
|
@ -122,7 +122,7 @@ $connkey = generateConnKey();
|
||||||
$streamSrc = '';
|
$streamSrc = '';
|
||||||
$streamMode = '';
|
$streamMode = '';
|
||||||
# Have to do this here, because the .js.php references somethings figured out when generating the streamHTML
|
# Have to do this here, because the .js.php references somethings figured out when generating the streamHTML
|
||||||
$StreamHTML = getStreamHTML( $monitor, $scale );
|
$StreamHTML = getStreamHTML( $monitor, array('scale'=>$scale) );
|
||||||
|
|
||||||
xhtmlHeaders(__FILE__, translate('Zone') );
|
xhtmlHeaders(__FILE__, translate('Zone') );
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue