mirror of
https://github.com/webmin/webmin.git
synced 2026-06-22 12:10:28 +01:00
Fix incorrect ui_select callers
This commit is contained in:
@@ -214,7 +214,7 @@ if (@servs) {
|
||||
&ui_select("depend", $serv->{'depend'},
|
||||
[ [ "", " " ],
|
||||
map { [ $_->{'id'}, $_->{'desc'}.
|
||||
" (".&nice_remotes($_).")" ] }
|
||||
" (".&html_strip(&nice_remotes($_), " ").")" ] }
|
||||
sort { $a->{'desc'} cmp $b->{'desc'} } @servs ]),
|
||||
undef, \@tds);
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ print &ui_table_row($text{'log_filter'},
|
||||
&ui_select("filter", \@gotfilters, \@allfilters, 10, 1));
|
||||
|
||||
# Show destinations
|
||||
@alldestinations = map { [ $_->{'value'}, $_->{'value'}." (".&nice_destination_file($_).")" ] } &find("destination", $conf);
|
||||
@alldestinations = map { [ $_->{'value'}, $_->{'value'}." (".&html_strip(&nice_destination_file($_)).")" ] } &find("destination", $conf);
|
||||
@gotdestinations = map { $_->{'value'} } &find("destination",$log->{'members'});
|
||||
print &ui_table_row($text{'log_destination'},
|
||||
&ui_select("destination", \@gotdestinations, \@alldestinations, 10, 1));
|
||||
|
||||
Reference in New Issue
Block a user