pull/1463/head
Isaac Connor 2016-05-06 15:53:19 -04:00
parent 905b69a394
commit 52b4e98e5a
2 changed files with 4 additions and 4 deletions

View File

@ -174,8 +174,6 @@ function getNavBarHTML() {
$cycleWidth = $maxWidth;
$cycleHeight = $maxHeight;
$eventsView = ZM_WEB_EVENTS_VIEW;
$eventsWindow = 'zm'.ucfirst(ZM_WEB_EVENTS_VIEW);
$versionClass = (ZM_DYN_DB_VERSION&&(ZM_DYN_DB_VERSION!=ZM_VERSION))?'errorText':'';

View File

@ -82,7 +82,7 @@ $displayMonitors = NULL;
$navbar = getNavBarHTML();
$zoneCount = 0;
for( $i = 0; $i < count($displayMonitors); $i += 1 ) { {
for( $i = 0; $i < count($displayMonitors); $i += 1 ) {
$monitor = $displayMonitors[$i];
$monitor['zmc'] = zmcStatus( $monitor );
$monitor['zma'] = zmaStatus( $monitor );
@ -97,7 +97,7 @@ for( $i = 0; $i < count($displayMonitors); $i += 1 ) { {
$sql = "select ".join($counts,", ")." from Events as E where MonitorId = ?";
$counts = dbFetchOne( $sql, NULL, array($monitor['Id']) );
if ( $counts ) $displayMonitors[$i] = array_merge( $monitor, $counts );
for ( $i = 0; $j < count($eventCounts); $j++ ) {
for ( $j = 0; $j < count($eventCounts); $j++ ) {
$eventCounts[$j]['total'] += $monitor['EventCount'.$j];
}
$zoneCount += $monitor['ZoneCount'];
@ -107,6 +107,8 @@ noCacheHeaders();
$seqUpFile = getSkinFile( 'graphics/seq-u.gif' );
$seqDownFile = getSkinFile( 'graphics/seq-d.gif' );
$eventsView = ZM_WEB_EVENTS_VIEW;
$eventsWindow = 'zm'.ucfirst(ZM_WEB_EVENTS_VIEW);
xhtmlHeaders( __FILE__, translate('Console') );
?>