X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=bafe5a8e7d7dd108c212417fbd84e82df4a98ced;hp=225c2950709e0c409ac65f4938fbd05dd81b48c8;hb=e1ef1693e6942bbf82ee088f782d871a3b5eefee;hpb=eca2a638625ac22a64b9807d9c4c7ee9a5090ebb diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 225c29507..bafe5a8e7 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -5,9 +5,22 @@ <% 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 mail apache BIND ), - '', 'depreciated') { %> + '', 'deprecated') { %> + + + <% foreach my $nav_section ( qw(required billing username password UI session + shell mail apache BIND + ), + '', 'deprecated') { %> + <% if ( $section eq $nav_section ) { %> + [<%= ucfirst($nav_section || 'unclassified') %>] + <% } else { %> + [<%= ucfirst($nav_section || 'unclassified') %>] + <% } %> + <% } %> +
<%= table("#cccccc", 2) %> @@ -24,7 +37,9 @@ my $n = 0; %> <% if ( $type eq '' ) { %> no type - <% } elsif ( $type eq 'textarea' ) { %> + <% } elsif ( $type eq 'textarea' + || $type eq 'editlist' + || $type eq 'selectmultiple' ) { %>
 <%= encode_entities(join("\n", $conf->config($i->key) ) ) %>
@@ -33,7 +48,7 @@
           <% } elsif ( $type eq 'checkbox' ) { %>
             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) : '' %>
           <% } else { %>
             
               unknown type <%= $type %>