Add a ‘Change Password’ button to SquirrelMail

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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.

  1. cd /var/www/html/squirrelmail/src
  2. vi login.php
  3. Look for the following:
    <center>'. addSubmit(_("Login"))
  4. 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>',
  5. Save the file and exit.

Reload the Webmail system and you should be set.

Sqmail with change password button

 |  Print This Post Print This Post

Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post



Related Post:


Leave a Reply