X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=59646896ef66026e72105aa8e9b9c86aa7ae347a;hb=b94ed29118969c5e2b50de7d3316c98d0c29e800;hp=51535d7624cdce999523fbe7437d28996b937f01;hpb=8800e519dc0e4b8eee4ab2cddc74d52c205bc536;p=freeside.git diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 51535d762..59646896e 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -16,6 +16,38 @@ Click on a configuration value to change it. % } % % } +% if ( @locales ) { +( +% if ( $locale ) { +% $cgi->delete('locale'); + global settings | +% } + +invoice language options: +
+- <% ucfirst($section || 'unclassified') %> configuration options + <% ucfirst($section || 'unclassified') %> +% if ( $curuser->option('show_confitem_counts') ) { + (<% scalar( @{ $section_items{$section} } ) %> items) +% } | |
---|---|
<% include('/elements/popup_link.html', - 'action' => 'config.cgi?key='. $i->key. - ';agentnum='. $agentnum, + 'action' => $action, 'width' => $width, 'height' => $height, 'actionlabel' => 'Enter configuration value', @@ -125,12 +161,12 @@ Click on a configuration value to change it. | |
<% $conf->exists($i->key, $agentnum)
- ? ' |
@@ -138,18 +174,19 @@ Click on a configuration value to change it.
|
<% $conf->exists($i->key, $agentnum) - ? qq!download! + ? 'download' : '' %> | |
<% $conf->exists($i->key, $agentnum) - ? qq!download! + ? 'download' : 'empty' %> | @@ -204,19 +241,35 @@ Click on a configuration value to change it.|
+% if ( $i->multiple ) {
+ <% join(' ', + map { $_ . ": " . &{ $i->option_sub }($_) } + $conf->config($i->key,$agentnum) + ) + %> +% } else { <% $conf->config($i->key, $agentnum) %>: <% &{ $i->option_sub }( $conf->config($i->key, $agentnum) ) %> +% } |
|
- <% join(' ', map { $_ # ': '. $svc, $pkg, whatever - } - @keys + <% join( ' ', + map { + my $key = $_; + my $record = qsearchs($table, { $pkey => $key }); + $record ? "$key: ".$record->$namecol() : $key; + } @keys ) %> |
@@ -301,10 +354,20 @@ Click on a configuration value to change it.