Project

General

Profile

« Previous | Next » 

Revision 7e65fc22

Added by Scott Ullrich over 20 years ago

Break after each host / port or alias address.

View differences:

usr/local/www/firewall_aliases.php
100 100
    <?=htmlspecialchars($alias['name']);?>
101 101
  </td>
102 102
  <td class="listr">
103
    <?=htmlspecialchars($alias['address']);?>
103
      <?php
104
	$address = htmlspecialchars($alias['address']);
105
	$address = explode(" ", $address);
106
	$isfirst = 0;
107
	foreach ($address as $addy) {
108
		if($isfirst == 1) echo "<br>";
109
		echo $addy;
110
		$isfirst = 1;
111
	}
112
    ?>
104 113
  </td>
105 114
  <td class="listbg">
106
    <font color="#FFFFFF"><?=htmlspecialchars($alias['descr']);?>&nbsp;
115
    <font color="#FFFFFF">
116
    <?=htmlspecialchars($alias['descr']);?>&nbsp;
107 117
  </td>
108 118
  <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>
109 119
     &nbsp;<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>

Also available in: Unified diff