Handle hostnames with upper-case letters
[webmin.git] / proftpd / mod_readme.pl
1 # mod_readme.pl
2
3 sub mod_readme_directives
4 {
5 local $rv = [
6         [ 'DisplayReadme', 0, 2, 'virtual anon global', 1.20 ]
7         ];
8 return &make_directives($rv, $_[0], "mod_readme");
9 }
10
11 sub edit_DisplayReadme
12 {
13 return (1, $text{'mod_readme_display'},
14         &opt_input($_[0]->{'value'}, "DisplayReadme", $text{'mod_readme_none'},
15                    15));
16 }
17 sub save_DisplayReadme
18 {
19 return &parse_opt("DisplayReadme", '^\S+$', $text{'mod_readme_edisplay'});
20 }