[freeside-commits] freeside/httemplate/edit part_svc.cgi, 1.68, 1.69

Ivan,,, ivan at wavetail.420.am
Mon Apr 19 21:29:14 PDT 2010


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

Modified Files:
	part_svc.cgi 
Log Message:
communigate (phase 2): add a textarea type to edit/part_svc so you can set it to a default or fixed trailer that's multi-line, RT#7514

Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_svc.cgi,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -w -d -r1.68 -r1.69
--- part_svc.cgi	23 Mar 2010 03:48:31 -0000	1.68
+++ part_svc.cgi	20 Apr 2010 04:29:12 -0000	1.69
@@ -300,6 +300,12 @@
 %          } #endif
 %          $html .= '</SELECT>';
 %
+%        } elsif ( $def->{type} eq 'textarea' ) {
+%
+%          $html .=
+%            qq!<TEXTAREA NAME="${layer}__${field}">!. encode_entities($value).
+%            '</TEXTAREA>';
+%
 %        } elsif ( $def->{type} eq 'select-svc_pbx.html' ) {
 %
 %          $html .= include('/elements/select-svc_pbx.html',



More information about the freeside-commits mailing list