1 and canEdit( 'System' ) ? 1 : 0; if ( $running == null ) $running = daemonCheck(); $eventCounts = array( array( 'title' => translate('Events'), 'filter' => array( 'Query' => array ( 'terms' => array() ) ), 'total' => 0, ), array( 'title' => translate('Hour'), 'filter' => array( 'Query' => array( 'terms' => array( array( 'attr' => 'DateTime', 'op' => '>=', 'val' => '-1 hour' ), ) ) ), 'total' => 0, ), array( 'title' => translate('Day'), 'filter' => array( 'Query' => array( 'terms' => array( array( 'attr' => 'DateTime', 'op' => '>=', 'val' => '-1 day' ), ) ) ), 'total' => 0, ), array( 'title' => translate('Week'), 'filter' => array( 'Query' => array( 'terms' => array( array( 'attr' => 'DateTime', 'op' => '>=', 'val' => '-7 day' ), ) ) ), 'total' => 0, ), array( 'title' => translate('Month'), 'filter' => array( 'Query' => array( 'terms' => array( array( 'attr' => 'DateTime', 'op' => '>=', 'val' => '-1 month' ), ) ) ), 'total' => 0, ), array( 'title' => translate('Archived'), 'filter' => array( 'Query' => array( 'terms' => array( array( 'attr' => 'Archived', 'op' => '=', 'val' => '1' ), ) ) ), 'total' => 0, ), ); $navbar = getNavBarHTML(); noCacheHeaders(); $eventsView = ZM_WEB_EVENTS_VIEW; $eventsWindow = 'zm'.ucfirst(ZM_WEB_EVENTS_VIEW); $left_columns = 3; if ( count($servers) ) $left_columns += 1; if ( ZM_WEB_ID_ON_CONSOLE ) $left_columns += 1; if ( $show_storage_areas ) $left_columns += 1; xhtmlHeaders( __FILE__, translate('Console') ); ?>