[freeside-commits] freeside/httemplate/edit part_svc.cgi, 1.62.2.6, 1.62.2.7
Ivan,,,
ivan at wavetail.420.am
Mon Apr 19 21:29:19 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv32701/httemplate/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.62.2.6
retrieving revision 1.62.2.7
diff -u -w -d -r1.62.2.6 -r1.62.2.7
--- part_svc.cgi 23 Mar 2010 03:48:01 -0000 1.62.2.6
+++ part_svc.cgi 20 Apr 2010 04:29:17 -0000 1.62.2.7
@@ -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