diff options
Diffstat (limited to 'httemplate/config/config.cgi')
-rw-r--r-- | httemplate/config/config.cgi | 6 |
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' ) { |