X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig.cgi;h=409869e11517619d081adc42878d8d8f92172618;hp=19775c7aa45b27ada50705b20266c8f612a748f8;hb=cec266740d89b82ce9075954928c5b336d0ec18e;hpb=e8dc13cd1af07846cd3015986f3a3fd34cdcdaea diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi index 19775c7aa..409869e11 100644 --- a/httemplate/config/config.cgi +++ b/httemplate/config/config.cgi @@ -1,14 +1,46 @@ <%= header('Edit Configuration', menubar( 'Main Menu' => $p ) ) %> + <% my $conf = new FS::Conf; my @config_items = $conf->config_items; %> -
+ <% foreach my $section ( qw(required billing username password UI session - shell mail radius apache BIND + shell BIND ), '', 'deprecated') { %> + + + <% foreach my $nav_section ( qw(required billing username password UI session + shell BIND + ), + '', 'deprecated') { %> + <% if ( $section eq $nav_section ) { %> + [<%= ucfirst($nav_section || 'unclassified') %>] + <% } else { %> + [<%= ucfirst($nav_section || 'unclassified') %>] + <% } %> + <% } %> +
<%= table("#cccccc", 2) %> @@ -25,21 +57,101 @@ <% if ( $type eq '' ) { %> no type <% } elsif ( $type eq 'textarea' ) { %> - + <% } elsif ( $type eq 'checkbox' ) { %> exists($i->key) ? ' CHECKED' : '' %>> <% } elsif ( $type eq 'text' ) { %> - <% } elsif ( $type eq 'select' ) { %> - > <% my %saw; foreach my $value ( "", @{$i->select_enum} ) { local($^W)=0; next if $saw{$value}++; %> -