r1178 better switch port layout
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 10 Oct 2007 07:13:20 +0000 (07:13 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 10 Oct 2007 07:13:20 +0000 (07:13 +0000)
inc/interface.php

index 8fff814..84b6c44 100644 (file)
@@ -2925,9 +2925,9 @@ function renderVLANMembership ($object_id = 0)
                                        echo "</tr>\n";
                                echo "<tr><th>" . ($portno + 1) . "-" . ($portno + PORTS_PER_ROW) . "</th>";
                        }
-                       echo "<td>${portname} ";
+                       echo "<td>${portname}<br>";
                        if ($vlanid == 'trunk')
-                               echo '[trunk]';
+                               echo '<select disabled multiple="multiple" size=1><option>[trunk]</option></select>';
                        else
                        {
                                echo "<input type=hidden name=portname_${portno} value='${portname}'>";