From e37126c4d8a3eea4d27c855733a77cba026565c4 Mon Sep 17 00:00:00 2001
From: mark <mark>
Date: Wed, 16 Jun 2010 02:19:13 +0000
Subject: RT#5683: payment batch upload uses job queue and progressbar

---
 httemplate/elements/file-upload.html | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'httemplate/elements/file-upload.html')

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' %>">
-- 
cgit v1.2.1