Minor UI tweaks for Ubuntu 10.10
authorJamie Cameron <jcameron@webmin.com>
Sat, 12 Feb 2011 18:24:52 +0000 (10:24 -0800)
committerJamie Cameron <jcameron@webmin.com>
Sat, 12 Feb 2011 18:24:52 +0000 (10:24 -0800)
net/linux-lib.pl
net/net-lib.pl

index 61bd852..25f5c00 100755 (executable)
@@ -488,7 +488,7 @@ sub order_input
 {
 my @o = split(/\s+/, $_[0]->{'order'});
 @o = map { s/nis\+/nisplus/; s/yp/nis/; $_; } @o;
-my @opts = ( [ "files", "Hosts" ], [ "dns", "DNS" ], [ "nis", "NIS" ],
+my @opts = ( [ "files", "Hosts file" ], [ "dns", "DNS" ], [ "nis", "NIS" ],
             [ "nisplus", "NIS+" ], [ "ldap", "LDAP" ], [ "db", "DB" ],
             [ "mdns4", "Multicast DNS" ] );
 if (&indexof("mdns4_minimal", @o) >= 0) {
index 1b1d5f4..0025881 100755 (executable)
@@ -397,7 +397,7 @@ else {
        my @o = split(/\s+/, $value);
        for(my $i = 0; $i<scalar(@o)+2; $i++) {
                $rv .= &ui_select($name."_".$i, $o[$i],
-                                 [ [ "", "&nbsp;" ], @$opts ], 1, 0, 1);
+                                 [ [ "", "&nbsp;" ], @$opts ], 1, 0, 1)."<br>";
                }
        return $rv;
        }