X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=9a0006792cc99fd32b80c4a5f04e25e769c81dd3;hp=917cc7316cfc8df994041e19b655c0c20b543363;hb=8f6a34b553a7ca9b7fc9c9cf5802ce418e3a5296;hpb=697dfd9ac2dfa36aa244e6d2d9f2e8f8a364a120 diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 917cc7316..9a0006792 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -5,22 +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 mail radius apache BIND + shell BIND ), '', 'deprecated') { %> <% if ( $section eq $nav_section ) { %> [<%= ucfirst($nav_section || 'unclassified') %>] <% } else { %> - [<%= ucfirst($nav_section || 'unclassified') %>] + [<%= ucfirst($nav_section || 'unclassified') %>] <% } %> <% } %>
- <%= table("#cccccc", 2) %> @@ -37,7 +37,9 @@ my $n = 0; %> <% if ( $type eq '' ) { %> no type - <% } elsif ( $type eq 'textarea' || $type eq 'editlist' ) { %> + <% } elsif ( $type eq 'textarea' + || $type eq 'editlist' + || $type eq 'selectmultiple' ) { %>
 <%= encode_entities(join("\n", $conf->config($i->key) ) ) %>
@@ -46,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 %>