HOWTO: Add a ‘Change Password’ button to SquirrelMail.
Posted by adminJul 31
This patch allows you to change the login form of SquirrelMail so a ‘Change Password‘ button appears.
Example: http://img363.imageshack.us/img363/2343/webmail7ii.png
[list=1][*]cd /var/www/html/squirrelmail/src[*]vi login.php[*]Look for the following
<center>’. addSubmit(_(“Login”))
[*]Replace the line with:
‘<center>’. addSubmit(_(“Login”)) .’<INPUT TYPE=button VALUE=”Change Password” onClick=”window.location.href=\’http://’ . $_SERVER['HTTP_HOST'] . ‘:2222/CMD_CHANGE_EMAIL_PASSWORD\’”></center>’,
[*]Save the file and exit.
Reload the Webmail system and you should be set. 
No comments
You must be logged in to post a comment.