mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Sort nicer
This commit is contained in:
@@ -93,7 +93,7 @@ if (@addservers) {
|
||||
print "<form action=add.cgi><td>\n";
|
||||
print "<input type=submit name=add value='$text{'index_add'}'>\n";
|
||||
print "<select name=server>\n";
|
||||
foreach $s (@addservers) {
|
||||
foreach $s (sort { $a->{'host'} cmp $b->{'host'} } @addservers) {
|
||||
print "<option value=$s->{'id'}>",&server_name($s),"</option>\n";
|
||||
}
|
||||
print "</select>\n";
|
||||
|
||||
Reference in New Issue
Block a user