X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=7516dabab4bf9c64e65800f3ec3583e8d4aa58b0;hb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;hp=0f6c99232f7796da0dc5b7ce62d86edb5e427a34;hpb=56a2965996454a0649d43ecbc062beda61106e21;p=freeside.git diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 0f6c99232..7516dabab 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -43,12 +43,16 @@ Click on a configuration value to change it.
- <% ucfirst($section || 'unclassified') %> configuration options + <% ucfirst($section || 'unclassified') %> +% if ( $curuser->option('show_confitem_counts') ) { + (<% scalar( @{ $section_items{$section} } ) %> items) +% } | |
---|---|
@@ -197,7 +203,7 @@ Click on a configuration value to change it. | |
@@ -206,12 +212,33 @@ Click on a configuration value to change it. | |
+ <% join( ' ', + map { + my $key = $_; + my $record = qsearchs($table, { $pkey => $key }); + $record ? "$key: ".$record->$namecol() : $key; + } @keys + ) + %> + |
+ |
unknown type <% $type %> |