summaryrefslogtreecommitdiff
path: root/httemplate/config/config-process.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-03-18 09:10:12 +0000
committerivan <ivan>2002-03-18 09:10:12 +0000
commitdaac302e231e2e09b84e771c0413b0f2119c52e8 (patch)
treebbe52639e866c9016ebe2d342308ee92de2532ab /httemplate/config/config-process.cgi
parent697dfd9ac2dfa36aa244e6d2d9f2e8f8a364a120 (diff)
new config value `defaultrecords', documentation, javascript config file editor
Diffstat (limited to 'httemplate/config/config-process.cgi')
-rw-r--r--httemplate/config/config-process.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/config/config-process.cgi b/httemplate/config/config-process.cgi
index a296abfe4..38d9af0db 100644
--- a/httemplate/config/config-process.cgi
+++ b/httemplate/config/config-process.cgi
@@ -32,6 +32,12 @@
} else {
$conf->delete($i->key);
}
+ } elsif ( $type eq 'editlist' || $type eq 'selectmultiple' ) {
+ if ( scalar(@{[ $cgi->param($i->key. $n) ]}) ) {
+ $conf->set($i->key, join("\n", $cgi->param($i->key. $n) ));
+ } else {
+ $conf->delete($i->key);
+ }
} else {
}
$n++;