X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=bca1f160356c1c0411a8df18d09e383dbf5e1e82;hb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;hp=91ba33769aa7f9314b98f089479ea072b6bc19b7;hpb=e75e410d0cdc5ca62af1888c3cb75163ca22d2ad;p=freeside.git
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi
index 91ba33769..bca1f1603 100644
--- a/httemplate/config/config-view.cgi
+++ b/httemplate/config/config-view.cgi
@@ -1,6 +1,22 @@
-<% 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;
+<% include("/elements/header.html",
+ $title,
+ menubar(
+ 'Main Menu' => $p,
+ 'View all agents' => $p.'browse/agent.cgi',
+ )
+ )
+%>
+
+
+
+
+
+
+% if ($FS::UID::use_confcompat) {
+
+ CONFIGURATION NOT STORED IN DATABASE -- USING COMPATIBILITY MODE
+%}
+%
% foreach my $section ( qw(required billing username password UI session
% shell BIND
% ),
@@ -22,7 +38,7 @@
% }
- <% table("#cccccc", 2) %>
+ <% include('/elements/table.html', '#cccccc' ) %>
no type | |
-<% encode_entities(join("\n", $conf->config($i->key) ) ) %> +<% encode_entities(join("\n", $conf->config($i->key, $agentnum) ) ) %> |
|
YES' : 'ff0000">NO' %> | +YES' : 'ff0000">NO' %> |
- <% $conf->exists($i->key) ? $conf->config($i->key) : '' %> + <% $conf->exists($i->key, $agentnum) ? $conf->config($i->key, $agentnum) : '' %> | |
- <% $conf->config($i->key) %>: - <% &{ $i->option_sub }( $conf->config($i->key) ) %> + <% $conf->config($i->key, $agentnum) %>: + <% &{ $i->option_sub }( $conf->config($i->key, $agentnum) ) %> |