
require 'syslog-lib.pl';

# acl_security_form(&options)
# Output HTML for editing security options for the syslog module
sub acl_security_form
{
print "<tr> <td><b>$text{'acl_noedit'}</b></td>\n";
printf "<td><input type=radio name=noedit value=1 %s> %s\n",
	$_[0]->{'noedit'} ? "checked" : "", $text{'yes'};
printf "<input type=radio name=noedit value=0 %s> %s</td> </tr>\n",
	$_[0]->{'noedit'} ? "" : "checked", $text{'no'};
}

# acl_security_save(&options)
# Parse the form for security options for the syslog module
sub acl_security_save
{
$_[0]->{'noedit'} = $in{'noedit'};
}

