diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-05-21 22:00:03 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-05-21 22:00:03 -0400 |
commit | e80695def53d0c55a0c79108f3d207a938249786 (patch) | |
tree | df78a799070a3b0e06e01cb7ece6f308f739fe43 /config/snort/snort_blocked.php | |
parent | ad421389225db7840529319149db6f59dee4e8b9 (diff) | |
download | pfsense-packages-e80695def53d0c55a0c79108f3d207a938249786.tar.gz pfsense-packages-e80695def53d0c55a0c79108f3d207a938249786.tar.bz2 pfsense-packages-e80695def53d0c55a0c79108f3d207a938249786.zip |
HTML edits to fix table layout in Firefox and Chrome.
Diffstat (limited to 'config/snort/snort_blocked.php')
-rw-r--r-- | config/snort/snort_blocked.php | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index a726e9ad..6feca97b 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -184,11 +184,17 @@ if ($pconfig['brefresh'] == 'on') <tr> <td colspan="2"> <table id="sortabletable1" style="table-layout: fixed;" class="sortable" width="100%" border="0" cellpadding="2" cellspacing="0"> + <colgroup> + <col width="5%" align="center" axis="number"> + <col width="15%" align="center" axis="string"> + <col width="70%" align="left" axis="string"> + <col width="10%" align="center"> + </colgroup> <thead> - <th class='listhdr' width="5%" class="listhdrr" align="center" axis="number">#</th> - <th class='listhdr' width="15%" class="listhdrr" align="center" axis="string"><?php echo gettext("IP"); ?></th> - <th class='listhdr' width="70%" class="listhdrr" axis="string"><?php echo gettext("Alert Description"); ?></th> - <th class='listhdr' width="10%" class="listhdrr" align="center"><?php echo gettext("Remove"); ?></th> + <th class="listhdrr" axis="number">#</th> + <th class="listhdrr" axis="string"><?php echo gettext("IP"); ?></th> + <th class="listhdrr" axis="string"><?php echo gettext("Alert Description"); ?></th> + <th class="listhdrr"><?php echo gettext("Remove"); ?></th> </thead> <tbody> <?php @@ -245,10 +251,10 @@ if ($pconfig['brefresh'] == 'on') /* use one echo to do the magic*/ echo "<tr> - <td width='5%' align=\"center\" valign=\"middle\" class=\"listr\">{$counter}</td> - <td width='15%' valign=\"middle\" class=\"listr\">{$blocked_ip}</td> - <td width='70%' valign=\"middle\" class=\"listr\">{$blocked_desc}</td> - <td width='10%' align=\"center\" valign=\"middle\" class=\"listr\"><a href='snort_blocked.php?todelete=" . trim(urlencode($blocked_ip)) . "'> + <td align=\"center\" valign=\"middle\" class=\"listr\">{$counter}</td> + <td valign=\"middle\" class=\"listr\">{$blocked_ip}</td> + <td valign=\"middle\" class=\"listr\">{$blocked_desc}</td> + <td align=\"center\" valign=\"middle\" class=\"listr\"><a href='snort_blocked.php?todelete=" . trim(urlencode($blocked_ip)) . "'> <img title=\"" . gettext("Delete host from Blocked Table") . "\" border=\"0\" name='todelete' id='todelete' alt=\"Delete host from Blocked Table\" src=\"../themes/{$g['theme']}/images/icons/icon_x.gif\"></a></td> </tr>\n"; } |