diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php
index 5e5429609..833bf1caf 100644
--- a/web/skins/classic/views/console.php
+++ b/web/skins/classic/views/console.php
@@ -222,8 +222,19 @@ echo $Storage->Name();
{
?>
- ', $monitor_i > 0 ) ?>
- ', $monitor_i |
+' );
+ } else {
+ echo '
';
+ }
+ if ( $monitor_i' );
+ } else {
+ echo '
';
+ }
+?>
+
diff --git a/web/skins/classic/views/header.php b/web/skins/classic/views/header.php
index 05990ca7e..acd775d6c 100644
--- a/web/skins/classic/views/header.php
+++ b/web/skins/classic/views/header.php
@@ -36,7 +36,6 @@ $cycleCount = 0;
# Seems to me, we shouldn't need it, we could just test for
$minSequence = 0;
$maxSequence = 1;
-$seqIdList = array();
$monitors = dbFetchAll( "select * from Monitors order by Sequence asc" );
$displayMonitors = array();
for ( $i = 0; $i < count($monitors); $i++ )
@@ -80,29 +79,8 @@ for ( $i = 0; $i < count($monitors); $i++ )
if ( $maxHeight < $scaleHeight ) $maxHeight = $scaleHeight;
}
if ( $counts ) $monitors[$i] = array_merge( $monitors[$i], $counts );
- $seqIdList[] = $monitors[$i]['Id'];
$displayMonitors[] = $monitors[$i];
}
-$lastId = 0;
-$seqIdUpList = array();
-foreach ( $seqIdList as $seqId )
-{
- if ( !empty($lastId) )
- $seqIdUpList[$seqId] = $lastId;
- else
- $seqIdUpList[$seqId] = $seqId;
- $lastId = $seqId;
-}
-$lastId = 0;
-$seqIdDownList = array();
-foreach ( array_reverse($seqIdList) as $seqId )
-{
- if ( !empty($lastId) )
- $seqIdDownList[$seqId] = $lastId;
- else
- $seqIdDownList[$seqId] = $seqId;
- $lastId = $seqId;
-}
$cycleWidth = $maxWidth;
$cycleHeight = $maxHeight;