<% foreach my $nav_section ( qw(required billing username password UI session
- shell mail apache BIND
+ shell BIND
),
'', 'deprecated') { %>
<% if ( $section eq $nav_section ) { %>
@@ -36,19 +36,35 @@
<% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
my $n = 0; %>
<% if ( $type eq '' ) { %>
- no type |
+
+ no type |
+
<% } elsif ( $type eq 'textarea'
|| $type eq 'editlist'
|| $type eq 'selectmultiple' ) { %>
-
+ |
+
<%= encode_entities(join("\n", $conf->config($i->key) ) ) %>
- |
+
+
<% } elsif ( $type eq 'checkbox' ) { %>
- YES' : 'ff0000">NO' %> |
+
+ YES' : 'ff0000">NO' %> |
+
<% } elsif ( $type eq 'text' || $type eq 'select' ) { %>
- <%= $conf->exists($i->key) ? $conf->config($i->key) : '' %> |
+
+
+ <%= $conf->exists($i->key) ? $conf->config($i->key) : '' %>
+ |
+ <% } elsif ( $type eq 'select-sub' ) { %>
+
+
+ <%= $conf->config($i->key) %>:
+ <%= &{ $i->option_sub }( $conf->config($i->key) ) %>
+ |
+
<% } else { %>
unknown type <%= $type %>
|