diff --git a/web/skins/classic/views/js/watch.js b/web/skins/classic/views/js/watch.js index eceb994cc..76cf6c9a5 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -792,6 +792,9 @@ function initPage() { if ( window.history.length == 1 ) { $j('#closeControl').html(''); } + document.querySelectorAll('select[name="scale"]').forEach(function (el) { + el.onchange = window['changeScale']; + }); } else if ( monitorRefresh > 0 ) { setInterval(reloadWebSite, monitorRefresh*1000); } diff --git a/web/skins/classic/views/watch.php b/web/skins/classic/views/watch.php index 4d2fa93d5..82e16645d 100644 --- a/web/skins/classic/views/watch.php +++ b/web/skins/classic/views/watch.php @@ -25,7 +25,7 @@ if ( !canView('Stream') ) { return; } -if ( ! isset($_REQUEST['mid']) ) { +if ( !isset($_REQUEST['mid']) ) { $view = 'error'; return; } @@ -58,7 +58,7 @@ noCacheHeaders(); $popup = ((isset($_REQUEST['popup'])) && ($_REQUEST['popup'] == 1)); -xhtmlHeaders( __FILE__, $monitor->Name().' - '.translate('Feed') ); +xhtmlHeaders(__FILE__, $monitor->Name().' - '.translate('Feed')); ?>
@@ -69,11 +69,11 @@ xhtmlHeaders( __FILE__, $monitor->Name().' - '.translate('Feed') ); Type() == 'Local' ) { ?> -
Id(), 'zmSettings'.$monitor->Id(), 'settings', translate('Settings'), true, 'id="settingsLink"' ) ?>
+
Id(), 'zmSettings'.$monitor->Id(), 'settings', translate('Settings'), true, 'id="settingsLink"') ?>
-
:
+
:
@@ -89,25 +89,21 @@ if ( $streamMode == 'jpeg' ) { echo 'title="Click to zoom, shift click to pan, ctrl click to zoom out"'; } ?> ->$scale) ); ?> +>$scale)); ?> Type() != 'WebSite' ) { ?>
- - + +
-
- - + +
Type() != 'WebSite' ?>
- +