X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=7f2a1b2939bbb97cc9c798ab34673e99905f7ef6;hb=5a322e9cf2be599b4c6bcf3959178506dd5992be;hp=8011e76979958e336dfa0997ab91fa3eb6b417be;hpb=4b4b3ca9cb0b7336293b759549b78fc903a7d8c8;p=freeside.git
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi
index 8011e7697..7f2a1b293 100644
--- a/httemplate/config/config-view.cgi
+++ b/httemplate/config/config-view.cgi
@@ -1,80 +1,103 @@
-
-<%= 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 $section ( qw(required billing username password UI session
- 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') %>]
- <% } %>
- <% } %>
+% 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) %>
+ <% table("#cccccc", 2) %>
no type | |
-<%= encode_entities(join("\n", $conf->config($i->key) ) ) %> +<% encode_entities(join("\n", $conf->config($i->key) ) ) %> |
|
YES' : 'ff0000">NO' %> | +YES' : 'ff0000">NO' %> |
- <%= $conf->exists($i->key) ? $conf->config($i->key) : '' %> + <% $conf->exists($i->key) ? $conf->config($i->key) : '' %> | |
- <%= $conf->config($i->key) %>: - <%= &{ $i->option_sub }( $conf->config($i->key) ) %> + <% $conf->config($i->key) %>: + <% &{ $i->option_sub }( $conf->config($i->key) ) %> | |
- unknown type <%= $type %> + unknown type <% $type %> |