require 'spam-lib.pl';
# acl_security_form(&options)
# Output HTML for editing security options for the spam module
sub acl_security_form
{
print "
| $text{'acl_avail'} | \n";
print " |
\n";
print " | $text{'acl_file'} | \n";
print "",&ui_opt_textbox("file", $_[0]->{'file'}, 40, $text{'acl_filedef'}),
" |
\n";
}
# acl_security_save(&options)
# Parse the form for security options for the cron module
sub acl_security_save
{
$_[0]->{'avail'} = join(",", split(/\0/, $in{'avail'}));
$_[0]->{'file'} = $in{'file_def'} ? undef : $in{'file'};
}