% my $n = 0;
% foreach my $type (@types) {
% if ( $type eq '' ) {
no type
% } elsif ( $type eq 'image' ) {
<% $conf->exists($key, $agentnum)
? 'Current image '.
' '
: ''
%>
New image filename ">
% } elsif ( $type eq 'binary' ) {
Filename ">
% } elsif ( $type eq 'textarea' ) {
% } elsif ( $type eq 'checkbox' ) {
" type="checkbox" value="1"
<% $conf->exists($key, $agentnum) ? 'CHECKED' : '' %> >
% } elsif ( $type eq 'text' ) {
" type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' |h %>">
% } elsif ( $type eq 'select' || $type eq 'selectmultiple' ) {
% } elsif ( $type eq 'select-sub' ) {
% } elsif ( $type eq 'editlist' ) {
%
()">
<% itable() %> |