Changeset 3065
- Timestamp:
- 11/13/06 16:20:53 (2 years ago)
- Files:
-
- freepbx/branches/2.2 (modified) (1 prop)
- freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/functions.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.2
- Property svnmerge-integrated changed from /freepbx/trunk:1-2993,2995-3033,3039-3040 to /freepbx/trunk:1-2993,2995-3033,3039-3040,3064
freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/functions.inc.php
r3045 r3065 1094 1094 // then add directdid to the insert command. 1095 1095 // 1096 // Clean replace any <> with () in display name - should have javascript stopping this but ... 1097 // 1096 1098 $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-]/" ,"", trim($directdid)); 1099 $name = preg_replace(array('/</','/>/'), array('(',')'), trim($name)); 1097 1100 1098 1101 //insert into users table … … 2320 2323 $currentcomponent->addjsfunc('onsubmit()', "\treturn checkBlankUserPwd();\n", 9); 2321 2324 } 2322 $currentcomponent->addguielem($section, new gui_textbox('name', $name, 'Display Name', 'The caller id name for calls from this user will be set to this name. ', '!isCallerID()', $msgInvalidOutboundCID, false));2325 $currentcomponent->addguielem($section, new gui_textbox('name', $name, 'Display Name', 'The caller id name for calls from this user will be set to this name. Only enter the name, NOT the number.', '!isCallerID()', $msgInvalidOutboundCID, false)); 2323 2326 2324 2327 $section = 'Extension Options';
