X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=d40c4dc104bf5b745ee448e7df570bdb5a560071;hp=b041adaed967df6d9081991f29ebfcb04cdbc733;hb=daac302e231e2e09b84e771c0413b0f2119c52e8;hpb=a4c96748eb6eab29a70f3a944c6520283a635c78 diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index b041adaed..d40c4dc10 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -7,7 +7,20 @@ <% foreach my $section ( qw(required billing username password UI session shell mail radius apache BIND ), - '', 'depreciated') { %> + '', 'deprecated') { %> + + + <% foreach my $nav_section ( qw(required billing username password UI session + shell mail radius apache BIND + ), + '', 'deprecated') { %> + <% if ( $section eq $nav_section ) { %> + [<%= ucfirst($nav_section || 'unclassified') %>] + <% } else { %> + [<%= ucfirst($nav_section || 'unclassified') %>] + <% } %> + <% } %> +
<%= table("#cccccc", 2) %> @@ -24,7 +37,7 @@ my $n = 0; %> <% if ( $type eq '' ) { %> no type - <% } elsif ( $type eq 'textarea' ) { %> + <% } elsif ( $type eq 'textarea' || $type eq 'editlist' ) { %>
 <%= encode_entities(join("\n", $conf->config($i->key) ) ) %>
@@ -32,7 +45,7 @@
             
           <% } elsif ( $type eq 'checkbox' ) { %>
             YES' : 'ff0000">NO' %>
-          <% } elsif ( $type eq 'text' )  { %>
+          <% } elsif ( $type eq 'text' || $type eq 'select' )  { %>
             <%=  $conf->exists($i->key) ? $conf->config($i->key) : '' %>
           <% } else { %>