diff options
Diffstat (limited to 'httemplate/elements/tr-input-text.html')
-rw-r--r-- | httemplate/elements/tr-input-text.html | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/httemplate/elements/tr-input-text.html b/httemplate/elements/tr-input-text.html deleted file mode 100644 index c8bec5ea6..000000000 --- a/httemplate/elements/tr-input-text.html +++ /dev/null @@ -1,44 +0,0 @@ -<% include('tr-td-label.html', @_ ) %> - - <TD <% $style %>> - - <% $opt{'prefix'} %><INPUT TYPE = "<% $opt{type} || 'text' %>" - NAME = "<% $opt{field} %>" - ID = "<% $opt{id} %>" - VALUE = "<% $value |h %>" - <% $size %> - <% $maxlength %> - <% $align %> - <% $onchange %> - ><% $opt{'postfix'} %> - - </TD> - -</TR> - -<%init> - -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 $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; - -</%init> |