HOWTO: Add a 'Change Password' button to SquirrelMail

We can't diagnose something we can't see.

Look here for more information.

Jeff

Edit: after writing this reply I see that the poster is not referring to a DirectAdmin system so it's unlikely I'll take the time to help him further as I'm not familiar with his setup.
 
Many users want a quick and easy way to change their Email password.

This patch allows you to change the login form of SquirrelMail so a 'Change Password' button appears.

Example:
webmail7ii.png


  1. cd /var/www/html/squirrelmail/src
  2. vi login.php
  3. Look for the following
    Code:
    <center>'. addSubmit(_("Login"))
  4. Replace the line with:
    Code:
    '<center>'. addSubmit(_("Login")) .'<INPUT TYPE=button VALUE="Change Password" onClick="window.location.href=\'http://' .  $_SERVER['HTTP_HOST'] . ':2222/CMD_CHANGE_EMAIL_PASSWORD\'"></center>',
  5. Save the file and exit.

Reload the Webmail system and you should be set. ;)
I did, it's not working with me. add plugin is errors can find scrip install. haizzz.
 
Back
Top