mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Support search links
This commit is contained in:
12
servers/cgi_args.pl
Normal file
12
servers/cgi_args.pl
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
do 'servers-lib.pl';
|
||||
|
||||
sub cgi_args
|
||||
{
|
||||
my ($cgi) = @_;
|
||||
if ($cgi eq 'edit_serv.cgi' && $access{'edit'}) {
|
||||
my @servers = &list_servers();
|
||||
return @servers ? 'id='.&urlize($servers[0]->{'id'}) : 'none';
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
Reference in New Issue
Block a user