Author |
|
jrquint Newbie
Joined: 26 February 2009 Location: United States
Online Status: Offline Posts: 10
|
Posted: 28 August 2010 at 12:37pm | IP Logged
|
|
|
Is there a way to disable users from changing the email address without disabling "Allow new users to
change email settings"?
PHP Webmail Pro v5
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 30 August 2010 at 3:04am | IP Logged
|
|
|
Try modifying webmail/js/settings/account-properties.js file (line ~589):
Code:
td.innerHTML = '* ' + Lang.MailEmail + ':';
WebMail.LangChanger.Register('innerHTML', td, 'MailEmail', ':', '* ');
td = tr.insertCell(1);
td.colSpan = 2;
inp = CreateChild(td, 'input', [['class', 'wm_input wm_settings_input'], ['type', 'text'], ['maxlength', '255']]); |
|
|
The last line should be appended with 'readonly' attribute as follows:
Code:
inp = CreateChild(td, 'input', [['class', 'wm_input wm_settings_input'], ['type', 'text'], ['maxlength', '255'], ['readonly', 'readonly']]); |
|
|
Be sure to clear web browser cache to apply changes.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|