summaryrefslogtreecommitdiff
path: root/httemplate/config/config.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2007-02-27 01:51:52 +0000
committerjeff <jeff>2007-02-27 01:51:52 +0000
commitfbfffdabe931d704aae420984058e61dc4196b01 (patch)
tree20b82398f278cb8a0aebd47e1beb433bba660e03 /httemplate/config/config.cgi
parent1d719ccff55b1a82208fdf44b6dcd2da96b3c42e (diff)
config goes in database
Diffstat (limited to 'httemplate/config/config.cgi')
-rw-r--r--httemplate/config/config.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
index 6c3a51aca..df9af47a6 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -21,7 +21,7 @@ function SafeOnsubmit() {
% my $conf = new FS::Conf; my @config_items = $conf->config_items;
-<form name="OneTrueForm" action="config-process.cgi" METHOD="POST" onSubmit="SafeOnsubmit()">
+<form name="OneTrueForm" action="config-process.cgi" METHOD="POST" enctype="multipart/form-data" onSubmit="SafeOnsubmit()">
% foreach my $section ( qw(required billing username password UI session
% shell BIND
% ),
@@ -61,6 +61,10 @@ function SafeOnsubmit() {
<font color="#ff0000">no type</font>
+% } elsif ( $type eq 'binary' ) {
+
+
+ Filename <input type="file" name="<% $i->key. $n %>">
% } elsif ( $type eq 'textarea' ) {