Handle hostnames with upper-case letters
[webmin.git] / proftpd / mod_site.pl
1 # mod_site.pl
2
3 sub mod_site_directives
4 {
5 local $rv = [
6 #       [ 'AllowChmod', 0, 3, 'virtual directory anon limit ftpaccess global', 1.20 ]
7         ];
8 return &make_directives($rv, $_[0], "mod_site");
9 }
10
11 sub edit_AllowChmod
12 {
13 return (1, $text{'mod_site_chmod'},
14         &choice_input($_[0]->{'value'}, "AllowChmod", "",
15                       "$text{'yes'},on", "$text{'no'},off",
16                       "$text{'default'},"));
17 }
18 sub save_AllowChmod
19 {
20 return &parse_choice("AllowChmod", "");
21 }