X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select.html;h=cf1b3cc608ab0be1a5964b3626cb32000a867c08;hp=07b0a01d51140d047c2f24d68fe03427e02098e4;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=5e05724a635a22776f1b973f5d7e77989da4e048 diff --git a/httemplate/elements/tr-select.html b/httemplate/elements/tr-select.html index 07b0a01d5..cf1b3cc60 100644 --- a/httemplate/elements/tr-select.html +++ b/httemplate/elements/tr-select.html @@ -1,61 +1,22 @@ -<% include('tr-td-label.html', @_ ) %> +% unless ( $opt{'js_only'} ) { - > + <% include('tr-td-label.html', %opt ) %> - - - - - + <% include('select.html', %opt ) %> +% unless ( $opt{'js_only'} ) { + + +% } <%init> my %opt = @_; -my $onchange = $opt{'onchange'} - ? 'onChange="'. $opt{'onchange'}. '(this)"' - : ''; - -my $labels = $opt{'option_labels'} || $opt{'labels'}; - my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; -my $curr_value = $opt{'curr_value'}; +my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : '';