r1275 + renderIPRange(): niftier allocation display
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 14 Nov 2007 16:04:42 +0000 (16:04 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 14 Nov 2007 16:04:42 +0000 (16:04 +0000)
inc/interface.php

index c0c29d73cbfd0aa74dee45989ce2f96553c63714..e54d752006502d4250aee23345ac6ee4dbe15cdb 100644 (file)
@@ -1725,7 +1725,9 @@ function renderIPRange ()
                                echo "<b>Reserved;</b> ";
                        foreach ($range['addrlist'][$ip]['references'] as $ref)
                        {
-                               echo "<a href='${root}?page=object&object_id=${ref['object_id']}'>${ref['object_name']}[${ref['name']}]</a>; ";
+                               echo "<a href='${root}?page=object&object_id=${ref['object_id']}'>";
+                               echo $ref['name'] . (empty ($ref['name']) ? '' : '@');
+                               echo "${ref['object_name']}</a>; ";
                        }
                        echo "</td></tr>\n";
                }