X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig.cgi;h=409869e11517619d081adc42878d8d8f92172618;hp=f640d0b5e56f27d2c22d9f013195c9832947fa09;hb=cec266740d89b82ce9075954928c5b336d0ec18e;hpb=ae23f6fe1ca915c995cfbf29bb39e7ed5e1cce2c diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi index f640d0b5e..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 ), - '', 'depreciated') { %> + '', '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}++; %> -