From c5e95baa9b6c7af9599055bbcfaa25b12e1a8445 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Thu, 19 Feb 2015 17:50:41 +0100 Subject: [PATCH] Small visual change to print-alerts.php - Prints a link to the device instead of just text. - Prints rule name instead of definition. Definition will appear if you hover the mouse over the rule name. --- html/includes/print-alerts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/includes/print-alerts.php b/html/includes/print-alerts.php index 57ee86d64e..2b521c1913 100644 --- a/html/includes/print-alerts.php +++ b/html/includes/print-alerts.php @@ -85,8 +85,8 @@ foreach( dbFetchRows($full_query, $param) as $alert ) { $orig_class = $extra; echo ""; echo "#".((int) $rulei++).""; - echo "".htmlentities($rule['rule']).""; - echo "".$alert['hostname'].""; + echo "".htmlentities($rule['name']).""; + echo "".$alert['hostname'].""; echo "".($alert['timestamp'] ? $alert['timestamp'] : "N/A").""; echo "".$rule['severity']; if($alert['state'] == 3) {