From 09ee53a7c9bbb16772b6db52da8b4f4f70338616 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Tue, 4 Mar 2014 12:57:08 -0500 Subject: Fix "even/odd" table row class assigns in widget -- they were backwards. --- config/suricata/suricata_alerts.widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/suricata') diff --git a/config/suricata/suricata_alerts.widget.php b/config/suricata/suricata_alerts.widget.php index 9ba502f7..370c6e96 100644 --- a/config/suricata/suricata_alerts.widget.php +++ b/config/suricata/suricata_alerts.widget.php @@ -191,7 +191,7 @@ var suri_nentries = ; $counter=0; if (is_array($suricata_alerts)) { foreach ($suricata_alerts as $alert) { - $evenRowClass = $counter % 2 ? " listMRodd" : " listMReven"; + $evenRowClass = $counter % 2 ? " listMReven" : " listMRodd"; echo(" " . $alert['instanceid'] . " " . $alert['dateonly'] . "
" . $alert['timeonly'] . " " . $alert['src'] . ":" . $alert['srcport'] . "
" . $alert['dst'] . ":" . $alert['dstport'] . " -- cgit v1.2.3