diff --git a/web/skins/classic/views/events.php b/web/skins/classic/views/events.php index 2d2b2b0cf..06f4ef905 100644 --- a/web/skins/classic/views/events.php +++ b/web/skins/classic/views/events.php @@ -149,6 +149,7 @@ while ( $event_row = dbFetchNext($results) ) { + @@ -186,30 +187,36 @@ while ( $event_row = dbFetchNext($results) ) { Archived() ) ? ' class="archived"' : '' ?>> '.$event->Id() ?> - '.validHtmlStr($event->Name()).($event->Archived()?'*':'') ?>
-Emailed() ) - echo 'Emailed '; -?> - - Archived() ) ? 'Yes' : 'No' ?> - MonitorId(), 'zmMonitor'.$event->MonitorId(), 'monitor', $event->MonitorName(), canEdit( 'Monitors' ) ) ?> - Id(), 'zmEventDetail', 'eventdetail', validHtmlStr($event->Cause()), canEdit( 'Events' ), 'title="'.htmlspecialchars($event->Notes()).'"' ) ?> - Notes() ) { -# if notes include detection objects, then link it to objdetect.jpg - if ( strpos($event->Notes(), 'detected:') !== false ) { -# make a link - echo makePopupLink( '?view=image&eid='.$event->Id().'&fid=objdetect', 'zmImage', - array('image', reScale($event->Width(), $scale), reScale($event->Height(), $scale)), - '
'.$event->Notes().'
'); - } else if ( $event->Notes() != 'Forced Web: ' ) { - echo '
'.$event->Notes().'
'; - } - } -?> + + '.validHtmlStr($event->Name()).($event->Archived()?'*':'') ?> + Archived() ) ? translate('Archived') : ''; + $emailed = ( $event->Emailed() ) ? translate('Emailed') : ''; + echo '
'.$emailed.' '.$archived.'
'; + ?> + + Archived() ) ? 'Yes' : 'No' ?> + Emailed() ) ? 'Yes' : 'No' ?> + MonitorId(), 'zmMonitor'.$event->MonitorId(), 'monitor', $event->MonitorName(), canEdit( 'Monitors' ) ) ?> + + Id(), 'zmEventDetail', 'eventdetail', validHtmlStr($event->Cause()), canEdit( 'Events' ), 'title="'.htmlspecialchars($event->Notes()).'"' ) ?> + Notes() ) { + # if notes include detection objects, then link it to objdetect.jpg + if ( strpos($event->Notes(), 'detected:') !== false ) { + # make a link + echo makePopupLink( '?view=image&eid='.$event->Id().'&fid=objdetect', 'zmImage', + array('image', reScale($event->Width(), $scale), reScale($event->Height(), $scale)), + '
'.$event->Notes().'
'); + } else if ( $event->Notes() != 'Forced Web: ' ) { + echo '
'.$event->Notes().'
'; + } + } + ?> + + StartTime())) ?> EndTime()) ) ?> Length() ) ?> diff --git a/web/skins/classic/views/js/events.js b/web/skins/classic/views/js/events.js index 52d23959e..e80a0556b 100644 --- a/web/skins/classic/views/js/events.js +++ b/web/skins/classic/views/js/events.js @@ -40,6 +40,7 @@ function initPage() { $j('#eventTable').bootstrapTable(); table.bootstrapTable('hideColumn', 'Archived'); + table.bootstrapTable('hideColumn', 'Emailed'); table.on('check.bs.table uncheck.bs.table ' + 'check-all.bs.table uncheck-all.bs.table', function() {