X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=9a0006792cc99fd32b80c4a5f04e25e769c81dd3;hp=138ec4737069c8eb1bca5dcf8f362fef25fad8eb;hb=8f6a34b553a7ca9b7fc9c9cf5802ce418e3a5296;hpb=e8dc13cd1af07846cd3015986f3a3fd34cdcdaea diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 138ec4737..9a0006792 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 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) %> @@ -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 %>