From 160be29a0dc62e79a4fb95d2ab8c0c7e5996760e Mon Sep 17 00:00:00 2001 From: cvs2git Date: Mon, 12 Aug 2002 06:17:10 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'BESTPRACTICAL'. --- httemplate/config/config-view.cgi | 64 --------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 httemplate/config/config-view.cgi (limited to 'httemplate/config/config-view.cgi') diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi deleted file mode 100644 index bafe5a8e7..000000000 --- a/httemplate/config/config-view.cgi +++ /dev/null @@ -1,64 +0,0 @@ - -<%= header('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 mail apache BIND - ), - '', 'deprecated') { %> - - - <% foreach my $nav_section ( qw(required billing username password UI session - shell mail apache BIND - ), - '', 'deprecated') { %> - <% if ( $section eq $nav_section ) { %> - [<%= ucfirst($nav_section || 'unclassified') %>] - <% } else { %> - [<%= ucfirst($nav_section || 'unclassified') %>] - <% } %> - <% } %> -
- <%= table("#cccccc", 2) %> - - - <%= ucfirst($section || 'unclassified') %> configuration options - - - <% foreach my $i (grep $_->section eq $section, @config_items) { %> - - - <%= $i->key %> - <%= $i->description %> - - - <% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) { - my $n = 0; %> - <% if ( $type eq '' ) { %> - - <% } elsif ( $type eq 'textarea' - || $type eq 'editlist' - || $type eq 'selectmultiple' ) { %> - - <% } elsif ( $type eq 'checkbox' ) { %> - - <% } elsif ( $type eq 'text' || $type eq 'select' ) { %> - - <% } else { %> - - <% } %> - <% $n++; } %> -
no type
-
-<%= encode_entities(join("\n", $conf->config($i->key) ) ) %>
-
-
YES' : 'ff0000">NO' %>
<%= $conf->exists($i->key) ? $conf->config($i->key) : '' %>
- unknown type <%= $type %> -
- - <% } %> -

-<% } %> - - -- cgit v1.2.1