4 # acl_security_form(&options)
5 # Output HTML for editing security options for the pserver module
9 foreach $f (@features, 'setup', 'init') {
10 print "<tr>\n" if ($i%2 == 0);
11 print "<td><b>",$text{'acl_'.$f},"</b></td> <td>\n";
12 printf "<input type=radio name=%s value=1 %s> $text{'yes'}\n",
13 $f, $_[0]->{$f} ? 'checked' : '';
14 printf "<input type=radio name=%s value=0 %s> $text{'no'}</td>\n",
15 $f, $_[0]->{$f} ? '' : 'checked';
16 print "</tr>\n" if ($i++%2 == 1);
18 print "</tr>\n" if ($i%2 == 1);
21 # acl_security_save(&options)
22 # Parse the form for security options for the acl module
25 foreach $f (@features, 'setup', 'init') {
26 $_[0]->{$f} = $in{$f};