diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/file-upload.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/elements/file-upload.html b/httemplate/elements/file-upload.html index 7e2eeefcd..034eaec38 100644 --- a/httemplate/elements/file-upload.html +++ b/httemplate/elements/file-upload.html @@ -54,10 +54,15 @@ <INPUT TYPE="hidden" NAME="upload_fields" VALUE="<% join(',', @field) %>" /> % foreach (@field) { +% if($param{'no_table'}) { + <% shift @label %> <INPUT TYPE="file" NAME="<% $_ %>" /> +% } +% else { <TR> <TH ALIGN="<% $param{'label_align'} || 'right' %>"><% shift @label %></TH> <TD><INPUT TYPE="file" NAME="<% $_ %>" /></TD> </TR> +% } % } <DIV STYLE="display:<% $param{debug} ? 'visible' : 'none' %>"> |