projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
config
/
config-process.cgi
diff --git
a/httemplate/config/config-process.cgi
b/httemplate/config/config-process.cgi
index
c62a8c7
..
f1cbb18
100644
(file)
--- a/
httemplate/config/config-process.cgi
+++ b/
httemplate/config/config-process.cgi
@@
-25,7
+25,7
@@
% }
%
%} else {
% }
%
%} else {
-<& /elements/header.html, 'Configuration set' &>
+<& /elements/header
-popup
.html, 'Configuration set' &>
<SCRIPT TYPE="text/javascript">
% my $n = 0;
% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
<SCRIPT TYPE="text/javascript">
% my $n = 0;
% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
@@
-47,7
+47,7
@@
'</pre></font>';
% } elsif ( $type eq 'checkbox' ) {
'</pre></font>';
% } elsif ( $type eq 'checkbox' ) {
-% if ( $conf->
exists
($i->key, $agentnum) ) {
+% if ( $conf->
config_bool
($i->key, $agentnum) ) {
configCell.style.backgroundColor = '#00ff00';
configCell.innerHTML = 'YES';
% } else {
configCell.style.backgroundColor = '#00ff00';
configCell.innerHTML = 'YES';
% } else {
@@
-184,7
+184,7
@@
foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
}
# warn @touch;
$conf->touch($_, $agentnum) foreach @touch;
}
# warn @touch;
$conf->touch($_, $agentnum) foreach @touch;
-$conf->delete($_, $agentnum) foreach @delete;
+$conf->delete
_bool
($_, $agentnum) foreach @delete;
if (scalar(@error)) {
$cgi->param('error', join(' ', @error));
if (scalar(@error)) {
$cgi->param('error', join(' ', @error));