projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RADIUS group enhancements, overlimit_groups changes, etc. RT13432
[freeside.git]
/
httemplate
/
config
/
config-view.cgi
diff --git
a/httemplate/config/config-view.cgi
b/httemplate/config/config-view.cgi
index
08f6c10
..
e7cadbe
100644
(file)
--- a/
httemplate/config/config-view.cgi
+++ b/
httemplate/config/config-view.cgi
@@
-207,12
+207,20
@@
Click on a configuration value to change it.
<tr>
<td id="<% $agentnum.$i->key.$n %>" bgcolor="#ffffff">
<tr>
<td id="<% $agentnum.$i->key.$n %>" bgcolor="#ffffff">
+% if ( $i->multiple ) {
+ <% join('<BR>',
+ map { $_ . ": " . &{ $i->option_sub }($_) }
+ $conf->config($i->key,$agentnum)
+ )
+ %>
+% } else {
<% $conf->config($i->key, $agentnum) %>:
<% &{ $i->option_sub }( $conf->config($i->key, $agentnum) ) %>
<% $conf->config($i->key, $agentnum) %>:
<% &{ $i->option_sub }( $conf->config($i->key, $agentnum) ) %>
+% }
</td>
</tr>
</td>
</tr>
-% } elsif ( $type =~ /^select-(part_svc|part_pkg|pkg_class)$/ ) {
+% } elsif ( $type =~ /^select-(part_svc|part_pkg|pkg_class
|agent
)$/ ) {
%
% my $table = $1;
% my $namecol = $namecol{$table};
%
% my $table = $1;
% my $namecol = $namecol{$table};
@@
-318,6
+326,7
@@
my %namecol = (
'part_svc' => 'svc',
'part_pkg' => 'pkg',
'pkg_class' => 'classname',
'part_svc' => 'svc',
'part_pkg' => 'pkg',
'pkg_class' => 'classname',
+ 'agent' => 'agent',
);
</%once>
<%init>
);
</%once>
<%init>
@@
-349,7
+358,7
@@
my @config_items = grep { $page_agent ? $_->per_agent : 1 }
my @deleteable = qw( invoice_latexreturnaddress invoice_htmlreturnaddress );
my %deleteable = map { $_ => 1 } @deleteable;
my @deleteable = qw( invoice_latexreturnaddress invoice_htmlreturnaddress );
my %deleteable = map { $_ => 1 } @deleteable;
-my @sections = qw(required billing invoicing
UI self-service username password session shell BIND
);
+my @sections = qw(required billing invoicing
notification UI self-service ticketing username password session shell BIND telephony
);
push @sections, '', 'deprecated';
my %section_items = ();
push @sections, '', 'deprecated';
my %section_items = ();