diff options
-rwxr-xr-x | usr/local/www/firewall_aliases.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php index 9477306..c6a904f 100755 --- a/usr/local/www/firewall_aliases.php +++ b/usr/local/www/firewall_aliases.php @@ -224,8 +224,12 @@ include("head.inc"); echo $alias["url"] . "<br/>"; } if(is_array($alias["aliasurl"])) { - foreach($alias["aliasurl"] as $aliasurl) - echo $aliasurl . "<br/>"; + $aliasurls = implode(", ", array_slice($alias["aliasurl"], 0, 10)); + echo $aliasurls; + if(count($aliasurls) > 10) { + echo "...<br/>"; + } + echo "<br/>\n"; } $tmpaddr = explode(" ", $alias['address']); $addresses = implode(", ", array_slice($tmpaddr, 0, 10)); |