Remove events popup
This commit is contained in:
parent
e34b8abaca
commit
adc1b924da
|
@ -245,8 +245,8 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
|
||||||
|
|
||||||
foreach ( array_keys( $eventCounts ) as $i ) {
|
foreach ( array_keys( $eventCounts ) as $i ) {
|
||||||
?>
|
?>
|
||||||
<td class="colEvents"><?php echo makePopupLink( '?view='.ZM_WEB_EVENTS_VIEW.'&page=1'.$monitor['eventCounts'][$i]['filter']['query'], $eventsWindow, ZM_WEB_EVENTS_VIEW,
|
<td class="colEvents"><a <?php echo (canView('Events') ? 'href="?view='.ZM_WEB_EVENTS_VIEW.'&page=1'.$monitor['eventCounts'][$i]['filter']['query'].'">' : '') .
|
||||||
$monitor[$i.'Events'] . '<br/>' . human_filesize($monitor[$i.'EventDiskSpace']), canView( 'Events' ) ) ?></td>
|
$monitor[$i.'Events'] . '<br/>' . human_filesize($monitor[$i.'EventDiskSpace']) ?></a></td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -281,9 +281,8 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
|
||||||
parseFilter( $eventCounts[$i]['filter'] );
|
parseFilter( $eventCounts[$i]['filter'] );
|
||||||
?>
|
?>
|
||||||
<td class="colEvents">
|
<td class="colEvents">
|
||||||
<?php echo makePopupLink( '?view='.ZM_WEB_EVENTS_VIEW.'&page=1'.$eventCounts[$i]['filter']['query'], $eventsWindow, ZM_WEB_EVENTS_VIEW,
|
<a <?php echo (canView('Events') ? 'href="?view='.ZM_WEB_EVENTS_VIEW.'&page=1'.$eventCounts[$i]['filter']['query'].'">' : '') .
|
||||||
$eventCounts[$i]['totalevents'].'<br/>'.human_filesize($eventCounts[$i]['totaldiskspace']), canView( 'Events' ) ) ?>
|
$eventCounts[$i]['totalevents'].'<br/>'.human_filesize($eventCounts[$i]['totaldiskspace']) ?></a></td>
|
||||||
</td>
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -81,10 +81,6 @@ if ( !empty($page) ) {
|
||||||
$eventsSql .= ' limit 0, '.$limit;
|
$eventsSql .= ' limit 0, '.$limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$maxWidth = 0;
|
|
||||||
$maxHeight = 0;
|
|
||||||
$archived = false;
|
|
||||||
$unarchived = false;
|
|
||||||
$maxShortcuts = 5;
|
$maxShortcuts = 5;
|
||||||
$pagination = getPagination( $pages, $page, $maxShortcuts, $filterQuery.$sortQuery.'&limit='.$limit );
|
$pagination = getPagination( $pages, $page, $maxShortcuts, $filterQuery.$sortQuery.'&limit='.$limit );
|
||||||
|
|
||||||
|
@ -95,6 +91,7 @@ xhtmlHeaders(__FILE__, translate('Events') );
|
||||||
?>
|
?>
|
||||||
<body>
|
<body>
|
||||||
<div id="page">
|
<div id="page">
|
||||||
|
<?php echo getNavBarHTML() ?>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h2><?php echo sprintf( $CLANG['EventCount'], $nEvents, zmVlang( $VLANG['Event'], $nEvents ) ) ?></h2>
|
<h2><?php echo sprintf( $CLANG['EventCount'], $nEvents, zmVlang( $VLANG['Event'], $nEvents ) ) ?></h2>
|
||||||
<?php
|
<?php
|
||||||
|
@ -118,7 +115,7 @@ if ( $pages > 1 ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="#" onclick="closeWindows();"><?php echo translate('Close') ?></a>
|
<a href="#" onclick="window.history.back();"><?php echo translate('Back') ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
@ -132,7 +129,6 @@ if ( $pages > 1 ) {
|
||||||
<input type="hidden" name="limit" value="<?php echo $limit ?>"/>
|
<input type="hidden" name="limit" value="<?php echo $limit ?>"/>
|
||||||
<p id="controls">
|
<p id="controls">
|
||||||
<a id="refreshLink" href="#" onclick="location.reload(true);"><?php echo translate('Refresh') ?></a>
|
<a id="refreshLink" href="#" onclick="location.reload(true);"><?php echo translate('Refresh') ?></a>
|
||||||
<a id="filterLink" href="#" onclick="createPopup( '?view=filter&page=<?php echo $page ?><?php echo $filterQuery ?>', 'zmFilter', 'filter' );"><?php echo translate('ShowFilterWindow') ?></a>
|
|
||||||
<a id="timelineLink" href="#" onclick="createPopup( '?view=timeline<?php echo $filterQuery ?>', 'zmTimeline', 'timeline' );"><?php echo translate('ShowTimeline') ?></a>
|
<a id="timelineLink" href="#" onclick="createPopup( '?view=timeline<?php echo $filterQuery ?>', 'zmTimeline', 'timeline' );"><?php echo translate('ShowTimeline') ?></a>
|
||||||
</p>
|
</p>
|
||||||
<table id="contentTable" class="major">
|
<table id="contentTable" class="major">
|
||||||
|
|
Loading…
Reference in New Issue