From 32c79f8d23a7f1f59c30a629fe67d048f92e0f9c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 18 Oct 2017 09:43:51 -0700 Subject: [PATCH] Add a disk space total to event list --- web/skins/classic/views/events.php | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/events.php b/web/skins/classic/views/events.php index ef900ff89..dc09f81cf 100644 --- a/web/skins/classic/views/events.php +++ b/web/skins/classic/views/events.php @@ -158,6 +158,8 @@ if ( $pagination ) { @@ -174,7 +176,8 @@ foreach ( $events as $event ) { + if ( ZM_WEB_EVENT_DISK_SPACE ) { +?> MonitorId(), 'zmMonitor'.$event- Id().'&fid=0', 'zmImage', array( 'image', reScale( $event->Width(), $scale ), reScale( $event->Height(), $scale ) ), $event->MaxScore() ) ?> DiskSpace(); ?> DiskSpace() ) ?> Path().'/snapshot.jpg' ); } ?> + + + + Totals: + + + + + +