X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-input-text.html;h=21279339e57193090675c0b9bc4d39068222c92f;hp=c8bec5ea6704ec21fcb64435c8306ffc9f181ed9;hb=b71b1576c68bc40ad26592b354feace37a029f0e;hpb=76f0b6117b31fb5886c99727c383c2281910e118 diff --git a/httemplate/elements/tr-input-text.html b/httemplate/elements/tr-input-text.html index c8bec5ea6..21279339e 100644 --- a/httemplate/elements/tr-input-text.html +++ b/httemplate/elements/tr-input-text.html @@ -1,18 +1,6 @@ <% include('tr-td-label.html', @_ ) %> - > - - <% $opt{'prefix'} %> - <% $maxlength %> - <% $align %> - <% $onchange %> - ><% $opt{'postfix'} %> - - + <% $cell_style %> ID="<% $opt{input_id} || $opt{id}.'_input0' %>"><% include('input-text.html', @_ ) %> @@ -20,25 +8,8 @@ my %opt = @_; -my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value}; - -my $onchange = $opt{'onchange'} - ? 'onChange="'. $opt{'onchange'}. '(this)"' - : ''; - -my $size = $opt{'size'} - ? 'SIZE="'. $opt{'size'}. '"' - : ''; - -my $maxlength = $opt{'maxlength'} - ? 'MAXLENGTH="'. $opt{'maxlength'}. '"' - : ''; - -my $align = $opt{'text-align'} - ? 'STYLE="text-align: '. $opt{'text-align'}. '"' - : ''; - +my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; -my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; +my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : '';