diff options
author | ivan <ivan> | 2002-03-18 09:10:12 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-03-18 09:10:12 +0000 |
commit | daac302e231e2e09b84e771c0413b0f2119c52e8 (patch) | |
tree | bbe52639e866c9016ebe2d342308ee92de2532ab /httemplate/config/config-process.cgi | |
parent | 697dfd9ac2dfa36aa244e6d2d9f2e8f8a364a120 (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.cgi | 6 |
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++; |