[freeside-commits] freeside/httemplate/config config.cgi, 1.33, 1.34 config-view.cgi, 1.35, 1.36 config-process.cgi, 1.20, 1.21
Ivan,,,
ivan at wavetail.420.am
Mon Nov 2 19:13:11 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/config
In directory wavetail.420.am:/tmp/cvs-serv21844/httemplate/config
Modified Files:
config.cgi config-view.cgi config-process.cgi
Log Message:
(start of) reconcile breakage from stale accounts, RT#6407
Index: config-process.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/config/config-process.cgi,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- config-process.cgi 25 Sep 2009 12:29:16 -0000 1.20
+++ config-process.cgi 3 Nov 2009 03:13:09 -0000 1.21
@@ -43,14 +43,15 @@
}
} elsif (
$type =~ /^(editlist|selectmultiple)$/
- or ( $type =~ /^select(-(sub|part_svc|part_pkg))?$/ || $i->multiple )
+ or ( $type =~ /^select(-(sub|part_svc|part_pkg|pkg_class))?$/
+ || $i->multiple )
) {
if ( scalar(@{[ $cgi->param($i->key.$n) ]}) ) {
$conf->set($i->key, join("\n", @{[ $cgi->param($i->key.$n) ]} ), $agentnum);
} else {
$conf->delete($i->key, $agentnum);
}
- } elsif ( $type =~ /^(text|select(-(sub|part_svc|part_pkg))?)$/ ) {
+ } elsif ( $type =~ /^(text|select(-(sub|part_svc|part_pkg|pkg_class))?)$/ ) {
if ( $cgi->param($i->key.$n) ne '' ) {
$conf->set($i->key, $cgi->param($i->key.$n), $agentnum);
} else {
@@ -104,7 +105,7 @@
% } elsif ( $type eq 'text' || $type eq 'select' ) {
configCell.innerHTML = <% $conf->exists($i->key, $agentnum) ? $conf->config($i->key, $agentnum) : '' |js_string %>;
-% } elsif ( $type =~ /^select-(part_svc|part_pkg)$/ && ! $i->multiple ) {
+% } elsif ( $type =~ /^select-(part_svc|part_pkg|pkg_class)$/ && ! $i->multiple ) {
configCell.innerHTML =
<% $conf->config($i->key, $agentnum) |js_string %>
%# + ': ' +
Index: config-view.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/config/config-view.cgi,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- config-view.cgi 25 Sep 2009 12:29:15 -0000 1.35
+++ config-view.cgi 3 Nov 2009 03:13:09 -0000 1.36
@@ -209,7 +209,7 @@
</td>
</tr>
-% } elsif ( $type =~ /^select-(part_svc|part_pkg)$/ ) {
+% } elsif ( $type =~ /^select-(part_svc|part_pkg|pkg_class)$/ ) {
% my @keys = $conf->config($i->key, $agentnum);
<tr>
Index: config.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/config/config.cgi,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- config.cgi 25 Sep 2009 12:29:15 -0000 1.33
+++ config.cgi 3 Nov 2009 03:13:08 -0000 1.34
@@ -308,7 +308,7 @@
my %confitems = map { $_->key => $_ } @config_items;
my %element_types = map { $_ => 1 } qw(
- select-part_svc select-part_pkg
+ select-part_svc select-part_pkg select-pkg_class
);
</%once>
More information about the freeside-commits
mailing list