diff options
author | ivan <ivan> | 2009-10-11 01:45:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-11 01:45:01 +0000 |
commit | 6dd0391446cc480edad04259b4e2f541c49c8ab8 (patch) | |
tree | 567409ecd5a8140bcab13e3bf6f540d69889341f /httemplate/elements | |
parent | 70e177c0844dea5069124f105294d4f6df88929e (diff) |
new rows and cols options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/tr-textarea.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/elements/tr-textarea.html b/httemplate/elements/tr-textarea.html index fb41ac38f..ae2ef81b6 100644 --- a/httemplate/elements/tr-textarea.html +++ b/httemplate/elements/tr-textarea.html @@ -4,6 +4,8 @@ <TEXTAREA NAME = "<% $opt{field} %>" ID = "<% $opt{id} %>" + <% $rows %> + <% $cols %> <% $onchange %> ><% $curr_value |h %></TEXTAREA> @@ -19,6 +21,9 @@ my $onchange = $opt{'onchange'} ? 'onChange="'. $opt{'onchange'}. '(this)"' : ''; +my $rows = $opt{'rows'} ? 'ROWS="'.$opt{'rows'}.'"' : ''; +my $cols = $opt{'cols'} ? 'COLS="'.$opt{'cols'}.'"' : ''; + my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; my $curr_value = $opt{'curr_value'}; |