do 'status-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the status module sub acl_security_form { print " $text{'acl_edit'} \n"; printf " $text{'yes'}\n", $_[0]->{'edit'} ? 'checked' : ''; printf " $text{'no'}\n", $_[0]->{'edit'} ? '' : 'checked'; print "$text{'acl_sched'} \n"; printf " $text{'yes'}\n", $_[0]->{'sched'} ? 'checked' : ''; printf " $text{'no'} \n", $_[0]->{'sched'} ? '' : 'checked'; } # acl_security_save(&options) # Parse the form for security options for the acl module sub acl_security_save { $_[0]->{'edit'} = $in{'edit'}; $_[0]->{'sched'} = $in{'sched'}; }