[freeside-commits] freeside/httemplate/elements tr-textarea.html, 1.2, 1.3

Ivan,,, ivan at wavetail.420.am
Sat Oct 10 18:45:03 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv9946

Modified Files:
	tr-textarea.html 
Log Message:
new rows and cols options

Index: tr-textarea.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-textarea.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tr-textarea.html	10 Mar 2009 16:14:08 -0000	1.2
+++ tr-textarea.html	11 Oct 2009 01:45:01 -0000	1.3
@@ -4,6 +4,8 @@
 
     <TEXTAREA NAME          = "<% $opt{field} %>"
               ID            = "<% $opt{id} %>"
+              <% $rows %>
+              <% $cols %>
               <% $onchange %>
     ><% $curr_value |h %></TEXTAREA>
 
@@ -19,6 +21,9 @@
                  ? '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'};
 



More information about the freeside-commits mailing list