From 3504c1d8f5f0bfc1f09d5d0a5782073adeacecc3 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 21 Jul 2016 15:02:01 -0400 Subject: [PATCH] Add Id to the title for each monitor --- web/skins/classic/views/montage.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/skins/classic/views/montage.php b/web/skins/classic/views/montage.php index 2fa91b167..45f93d0f8 100644 --- a/web/skins/classic/views/montage.php +++ b/web/skins/classic/views/montage.php @@ -20,13 +20,13 @@ if ( !canView( 'Stream' ) ) { - $view = "error"; + $view = 'error'; return; } require_once( 'includes/Monitor.php' ); -$groupSql = ""; +$groupSql = ''; if ( !empty($_REQUEST['group']) ) { $row = dbFetchOne( 'select * from Groups where Id = ?', NULL, array($_REQUEST['group']) ); $sql = "select * from Monitors where Function != 'None' and find_in_set( Id, '".$row['MonitorIds']."' ) order by Sequence"; @@ -37,7 +37,6 @@ if ( !empty($_REQUEST['group']) ) { $showControl = false; $monitors = array(); - foreach( dbFetchAll( $sql ) as $row ) { if ( !visibleMonitor( $row['Id'] ) ) { continue; @@ -101,7 +100,7 @@ foreach ( $monitors as $monitor ) { $connkey = $monitor->connKey(); // Minor hack ?> -
+
Scale() ); ?>