aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-snort/snort_alerts.widget.php
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-17 15:27:13 -0400
committerjim-p <jim@pingle.org>2009-10-17 15:28:01 -0400
commite9562289eb7346dc2782e8f2ffe0236878deedc7 (patch)
tree4b472ca931a4b5c821ad3beb38344f1ff80cad47 /config/widget-snort/snort_alerts.widget.php
parentb5faf7a8a7e083affce17a7b19755474a1b38cfb (diff)
downloadpfsense-packages-e9562289eb7346dc2782e8f2ffe0236878deedc7.tar.gz
pfsense-packages-e9562289eb7346dc2782e8f2ffe0236878deedc7.tar.bz2
pfsense-packages-e9562289eb7346dc2782e8f2ffe0236878deedc7.zip
Snort widget updates, courtesy of matrix200
Diffstat (limited to 'config/widget-snort/snort_alerts.widget.php')
-rw-r--r--config/widget-snort/snort_alerts.widget.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/config/widget-snort/snort_alerts.widget.php b/config/widget-snort/snort_alerts.widget.php
index 22bd1b69..aa416274 100644
--- a/config/widget-snort/snort_alerts.widget.php
+++ b/config/widget-snort/snort_alerts.widget.php
@@ -30,10 +30,9 @@ global $config, $g;
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr class="snort-alert-header">
- <td width="5%" class="widgetsubheader">Pri</td>
- <td width="5%" class="widgetsubheader">Category</td>
- <td width="45%" class="widgetsubheader">Src</td>
- <td width="45%" class="widgetsubheader">Dst</td>
+ <td width="30%" class="widgetsubheader" >Date</td>
+ <td width="40%" class="widgetsubheader">Src/Dst</td>
+ <td width="40%" class="widgetsubheader">Details</td>
</tr>
<?php $counter=0;
foreach ($snort_alerts as $alert) { ?>
@@ -56,10 +55,9 @@ global $config, $g;
?>
<tr class="snort-alert-entry" <?php echo $activerow; ?>>
- <td width="5%" class="listr"><?= $alert["priority"] ?></td>
- <td width="5%" class="listr"><?= $alert["category"] ?></td>
- <td width="45%" class="listr"><?= $alert["src"] ?></td>
- <td width="45%" class="listr"><?= $alert["dst"] ?></td>
+ <td width="30%" class="listr"><?= $alert['timeonly'] . ' ' . $alert['dateonly'] ?></td>
+ <td width="40%" class="listr"><?= $alert["src"] . '<br>' . $alert["dst"] ?></td>
+ <td width="40%" class="listr"><?= 'Pri : ' . $alert["priority"] . '<br>' . 'Cat : ' . $alert['category'] ?></td>
</tr>
<?php $counter++;
} ?>