summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2010-04-20 04:29:17 +0000
committerivan <ivan>2010-04-20 04:29:17 +0000
commitc8053393ccf26d91bedabeb28111493afe7d0931 (patch)
treed1a35dd8cdf006a4ef7d18d75b47916847ca19f8 /httemplate
parent99c7d450aa6246fcd79cd1a536a688bc70ac4fc9 (diff)
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
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/part_svc.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 98ed9fec1..6fe015ab5 100755
--- a/httemplate/edit/part_svc.cgi
+++ b/httemplate/edit/part_svc.cgi
@@ -300,6 +300,12 @@ that field.
% } #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',