\n";
print " $text{'serv_from'} | \n";
printf " %s\n",
$q->{'only_from'} ? '' : 'checked', $text{'serv_from_def'};
printf " %s \n",
$q->{'only_from'} ? 'checked' : '', $text{'serv_from_sel'};
print " | \n";
print "$text{'serv_access'} | \n";
printf " %s\n",
$q->{'no_access'} ? '' : 'checked', $text{'serv_access_def'};
printf " %s \n",
$q->{'no_access'} ? 'checked' : '', $text{'serv_access_sel'};
print " | \n";
print "
| \n";
$lt = $q->{'log_type'}->[0] eq 'SYSLOG' ? 1 :
$q->{'log_type'}->[0] eq 'FILE' ? 2 : 0;
print " $text{'defs_log'} | \n";
printf " %s \n",
$lt == 0 ? 'checked' : '', $text{'defs_log_def'};
printf " %s\n",
$lt == 1 ? 'checked' : '', $text{'defs_facility'};
%sconfig = &foreign_config("syslog");
&foreign_require("syslog", "syslog-lib.pl");
print " $text{'defs_level'}\n";
print " \n";
printf " %s\n",
$lt == 2 ? 'checked' : '', $text{'defs_file'};
printf " %s \n",
$lt == 2 ? $q->{'log_type'}->[1] : '', &file_chooser_button("file");
printf " %s \n",
$text{'defs_soft'}, $lt == 2 ? $q->{'log_type'}->[2] : '';
printf " %s | \n",
$text{'defs_hard'}, $lt == 2 ? $q->{'log_type'}->[3] : '';
print " $text{'defs_success'} | \n";
print " | \n";
print "$text{'defs_failure'} | \n";
print " | \n";
print " |