X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig.cgi;h=409869e11517619d081adc42878d8d8f92172618;hp=56da0698a6028137786a5524342472b82135cae4;hb=cec266740d89b82ce9075954928c5b336d0ec18e;hpb=b6724f3cf6c4b77ab66d259920042f12e46cf924 diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi index 56da0698a..409869e11 100644 --- a/httemplate/config/config.cgi +++ b/httemplate/config/config.cgi @@ -1,13 +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) %> @@ -24,11 +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' || $type eq 'selectmultiple' ) { %> + + <% } elsif ( $type eq 'editlist' ) { %> + +
+ + +
+ <%= itable() %> + <% if ( defined $i->editlist_parts ) { %> + <% my $pnum=0; foreach my $part ( @{$i->editlist_parts} ) { %> + + <% if ( $part->{type} eq 'text' ) { %> + "> + <% } elsif ( $part->{type} eq 'immutable' ) { %> + <%= $part->{value} %>" value="<%= $part->{value} %>"> + <% } elsif ( $part->{type} eq 'select' ) { %> + + <% } else { %> + unknown type <%= $part->type %> + <% } %> + + <% $pnum++; } %> + <% } else { %> + + <% } %> + + <% } else { %> unknown type <%= $type %> <% } %> @@ -39,13 +162,15 @@ <% } %> -

-<% } %> +
+ + You may need to restart Apache and/or freeside-queued for configuration + changes to take effect.
-You may need to restart Apache and/or freeside-queued for configuration -changes to take effect.
+

+ +<% } %> -