X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=ff7913d780571e1d517d108dfbbd5625ed9285aa;hb=dea2573bee84deb5e22196dda7580edaf0c27a42;hp=138ec4737069c8eb1bca5dcf8f362fef25fad8eb;hpb=e8dc13cd1af07846cd3015986f3a3fd34cdcdaea;p=freeside.git
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi
index 138ec4737..ff7913d78 100644
--- a/httemplate/config/config-view.cgi
+++ b/httemplate/config/config-view.cgi
@@ -1,49 +1,92 @@
-<%= header('View Configuration', menubar( 'Main Menu' => $p,
+<% include("/elements/header.html",'View Configuration', menubar( 'Main Menu' => $p,
'Edit Configuration' => 'config.cgi' ) ) %>
+% my $conf = new FS::Conf; my @config_items = $conf->config_items;
+% foreach my $section ( qw(required billing username password UI session
+% shell BIND
+% ),
+% '', 'deprecated') {
-<% my $conf = new FS::Conf; my @config_items = $conf->config_items; %>
+
+
+% foreach my $nav_section ( qw(required billing username password UI session
+% shell BIND
+% ),
+% '', 'deprecated') {
+% if ( $section eq $nav_section ) {
-<% foreach my $section ( qw(required billing username password UI session
- shell mail radius apache BIND
- ),
- '', 'deprecated') { %>
- <%= table("#cccccc", 2) %>
+ [<% ucfirst($nav_section || 'unclassified') %>]
+% } else {
+
+ [<% ucfirst($nav_section || 'unclassified') %>]
+% }
+% }
+
+
+ <% table("#cccccc", 2) %>
no type |
+% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) { +% my $n = 0; +% if ( $type eq '' ) { + + |
no type | +
-<%= encode_entities(join("\n", $conf->config($i->key) ) ) %> +<% encode_entities(join("\n", $conf->config($i->key) ) ) %>- |
YES' : 'ff0000">NO' %> |
<%= $conf->exists($i->key) ? $conf->config($i->key) : '' %> |
YES' : 'ff0000">NO' %> | +
+ <% $conf->exists($i->key) ? $conf->config($i->key) : '' %> + |
+ <% $conf->config($i->key) %>: + <% &{ $i->option_sub }( $conf->config($i->key) ) %> + | +
- unknown type <%= $type %> + unknown type <% $type %> |