diff options
| -rw-r--r-- | FS/FS/svc_domain.pm | 2 | ||||
| -rwxr-xr-x | httemplate/edit/part_svc.cgi | 6 | 
2 files changed, 8 insertions, 0 deletions
| diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index 2a24da427..c8af5a89a 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -211,6 +211,8 @@ sub table_info {        'trailer' => {          label => 'Mail trailer',          type  => 'textarea', +        disable_inventory => 1, +        disable_select    => 1,        },        'acct_def_cgp_language' => {                              label => 'Acct. default language', 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', | 
