diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-05 07:32:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-05 07:32:28 +0000 |
commit | 7e65fc22e57c42c126f7f957d73069cb1e84f47e (patch) | |
tree | a98322f02ec6975e810b69a1571c339efccb18f5 /usr | |
parent | ef8b343d4557873b013e1ecc7ed0f199547fa4be (diff) | |
download | pfsense-7e65fc22e57c42c126f7f957d73069cb1e84f47e.zip pfsense-7e65fc22e57c42c126f7f957d73069cb1e84f47e.tar.gz |
Break after each host / port or alias address.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_aliases.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php index 6f52816..770a7df 100755 --- a/usr/local/www/firewall_aliases.php +++ b/usr/local/www/firewall_aliases.php @@ -100,10 +100,20 @@ if ($_GET['act'] == "del") { <?=htmlspecialchars($alias['name']);?> </td> <td class="listr"> - <?=htmlspecialchars($alias['address']);?> + <?php + $address = htmlspecialchars($alias['address']); + $address = explode(" ", $address); + $isfirst = 0; + foreach ($address as $addy) { + if($isfirst == 1) echo "<br>"; + echo $addy; + $isfirst = 1; + } + ?> </td> <td class="listbg"> - <font color="#FFFFFF"><?=htmlspecialchars($alias['descr']);?> + <font color="#FFFFFF"> + <?=htmlspecialchars($alias['descr']);?> </td> <td valign="middle" nowrap class="list"> <a href="firewall_aliases_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a> <a href="firewall_aliases.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this alias? All elements that still use it will become invalid (e.g. filter rules)!')"><img src="x.gif" width="17" height="17" border="0"></a></td> |