projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE...
[freeside.git]
/
httemplate
/
elements
/
select.html
diff --git
a/httemplate/elements/select.html
b/httemplate/elements/select.html
index
efcf27b
..
9dd4aec
100644
(file)
--- a/
httemplate/elements/select.html
+++ b/
httemplate/elements/select.html
@@
-4,9
+4,12
@@
ID = "<% $opt{id} %>"
previousValue = "<% $curr_value %>"
previousText = "<% $labels->{$curr_value} || $curr_value %>"
ID = "<% $opt{id} %>"
previousValue = "<% $curr_value %>"
previousText = "<% $labels->{$curr_value} || $curr_value %>"
+ <% $multiple %>
+ <% $size %>
<% $style %>
<% $opt{disabled} %>
<% $onchange %>
<% $style %>
<% $opt{disabled} %>
<% $onchange %>
+ <% $opt{'element_etc'} %>
>
% if ( $opt{options} ) {
>
% if ( $opt{options} ) {
@@
-38,7
+41,7
@@
%
% }
%
% }
-</SELECT>
+</SELECT>
<% $opt{'post_field_label'} %>
% }
<%init>
% }
<%init>
@@
-71,5
+74,8
@@
my @style = ref($opt{'style'})
my $style = scalar(@style) ? 'STYLE="'. join(';', @style). '"' : '';
my $style = scalar(@style) ? 'STYLE="'. join(';', @style). '"' : '';
+my $size = $opt{'size'} ? 'SIZE='.$opt{'size'} : '';
+
+my $multiple = $opt{'multiple'} ? 'MULTIPLE' : '';
</%init>
</%init>