mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
17 lines
439 B
Perl
Executable File
17 lines
439 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# edit_domain.cgi
|
|
# Edit an existing domain
|
|
|
|
require './sendmail-lib.pl';
|
|
require './domain-lib.pl';
|
|
&ReadParse();
|
|
$access{'domains'} || &error($text{'dform_ecannot'});
|
|
$conf = &get_sendmailcf();
|
|
@doms = &list_domains(&domains_file($conf));
|
|
|
|
&ui_print_header(undef, $text{'dform_edit'}, "");
|
|
&domain_form($doms[$in{'num'}]);
|
|
&ui_print_footer("list_domains.cgi", $text{'domains_return'},
|
|
"", $text{'index_return'});
|
|
|