Merge pull request #485 from Rosiak/master

Small visual change to print-alerts.php
This commit is contained in:
Neil Lathwood 2015-02-19 17:29:09 +00:00
commit 60560d1a3d

View File

@ -85,8 +85,8 @@ foreach( dbFetchRows($full_query, $param) as $alert ) {
$orig_class = $extra;
echo "<tr class='".$extra."' id='row_".$alert['id']."'>";
echo "<td><i>#".((int) $rulei++)."</i></td>";
echo "<td><i>".htmlentities($rule['rule'])."</i></td>";
echo "<td>".$alert['hostname']."</td>";
echo "<td><i title=\"".htmlentities($rule['rule'])."\">".htmlentities($rule['name'])."</i></td>";
echo "<td><a href=\"device/device=".$alert['device_id']."\">".$alert['hostname']."</a></td>";
echo "<td>".($alert['timestamp'] ? $alert['timestamp'] : "N/A")."</td>";
echo "<td>".$rule['severity'];
if($alert['state'] == 3) {