projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
torrus, RT#10574
[freeside.git]
/
httemplate
/
elements
/
file-upload.html
diff --git
a/httemplate/elements/file-upload.html
b/httemplate/elements/file-upload.html
index
023bffb
..
034eaec
100644
(file)
--- 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) {
<INPUT TYPE="hidden" NAME="upload_fields" VALUE="<% join(',', @field) %>" />
% foreach (@field) {
+% if($param{'no_table'}) {
+ <% shift @label %> <INPUT TYPE="file" NAME="<% $_ %>" />
+% }
+% else {
<TR>
<TR>
- <TH><% shift @label %></TH>
+ <TH
ALIGN="<% $param{'label_align'} || 'right' %>"
><% shift @label %></TH>
<TD><INPUT TYPE="file" NAME="<% $_ %>" /></TD>
</TR>
<TD><INPUT TYPE="file" NAME="<% $_ %>" /></TD>
</TR>
+% }
% }
<DIV STYLE="display:<% $param{debug} ? 'visible' : 'none' %>">
% }
<DIV STYLE="display:<% $param{debug} ? 'visible' : 'none' %>">