This commit is contained in:
Isaac Connor 2018-07-09 12:33:21 -04:00
parent afa31842b5
commit ba8dc2059d
3 changed files with 12 additions and 13 deletions

View File

@ -70,7 +70,7 @@ xhtmlHeaders(__FILE__, translate('CycleWatch') );
<?php echo $navbar = getNavBarHTML(); ?>
<div id="header">
<div id="headerButtons">
<?php if ( $mode == "stream" ) { ?>
<?php if ( $mode == 'stream' ) { ?>
<a href="?view=<?php echo $view ?>&amp;mode=still&amp;mid=<?php echo $monitor ? $monitor->Id() : '' ?>"><?php echo translate('Stills') ?></a>
<?php } else { ?>
<a href="?view=<?php echo $view ?>&amp;mode=stream&amp;mid=<?php echo $monitor ? $monitor->Id() : '' ?>"><?php echo translate('Stream') ?></a>

View File

@ -37,7 +37,6 @@ if ( ! visibleMonitor($mid) ) {
return;
}
$monitor = new Monitor($mid);
#Whether to show the controls button