summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2010-03-12 21:56:32 +0000
committerivan <ivan>2010-03-12 21:56:32 +0000
commitb5bb1a07a26d5666cb059b5299a6ca2883f2153a (patch)
treeb555752587200ab89fb44483a2898970b890d1ef /httemplate
parentf433b4f187e484e8c40bdcebbeb5a5d51b3ae38e (diff)
add svc_phone-phone_name-max_length config, RT#7047
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/svc_phone.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi
index 4715ec146..b77d96233 100644
--- a/httemplate/edit/svc_phone.cgi
+++ b/httemplate/edit/svc_phone.cgi
@@ -44,7 +44,10 @@ push @fields, { field => 'pbxsvc',
},
'sip_password',
'pin',
- 'phone_name',
+ { field => 'phone_name',
+ type => 'text',
+ maxlength => $conf->config('svc_phone-phone_name-max_length'),
+ },
{ value => 'E911 Information',
type => 'tablebreak-tr-title',