On Thu, 21 Dec 2000, Brad Dameron wrote:

> On Wed, 20 Dec 2000, Bill Shupp wrote:
> 
> > On the subject of contrib.. you're welcome to include my vpopmail-changepass
> > hack for IMP if you want.  It allows IMP users to take advantage of the
> > changepass option in IMP, but with vpopmail.
> > 
> > It's at:
> > 
> > http://shupp.org/vpopmail-changepass-0.1.tar.gz
> > 
> > Bill Shupp
> 
> Hey Bill. Thanks for the addition. I was going to write something like
> this as well just hadn't gotten to it yet. Your way will work fine. I did
> however make some changes to the changepass.php3 file to make it look more
> like part of the IMP install. Here is the code:
> 
> Line 19:
> $header = "<html>\n<body bgcolor=#e9e9e9>\n$message <p>\n";
> 
> 
> Line 39:
> ?>
>   <CENTER>
>   <BR><BR><BR>
>   <B>Change password for <? echo $username?><br></B>
>   <form action=<? echo $PHP_SELF?> method=POST>
>   <table border=0>
>   <tr><td align=right><B>New Password:</td><td align=left><input 
> name=pass1 type=password></td></tr>
>   <tr><td align=right><B>Re-type Password:</td><td align=left><input
> name=pass2 type=password></td></tr>
>   <tr><td></td><td align=left>
>   <input name=username type=hidden value="<? echo $username?>">
>   <input name=SECRET_HTTP_REFERER type=hidden value="<? echo
> htmlspecialchars($HTTP_REFERER)?>">
>   <BR>
>   <input type=submit name=mode value="Change Password"></td></tr>
>   </table>
>   </CENTER>
> <?

Woops. I didn't include the complete new changes. My bad. Here they are:

line 19:
$header = "<html>\n<body bgcolor=#e9e9e9>\n$message <p>\n";

line 39:

?>
  <CENTER>
  <BR><BR><BR>
  <font size=2 face=Verdana>
  Change password for <B><? echo $username?><br></B>
  <form action=<? echo $PHP_SELF?> method=POST>
  <table border=0>
  <tr><td align=right><font size=2><B>New Password:</td><td
align=left><input name=pass1 type=password></td></tr>
  <tr><td align=right><font size=2><B>Re-type Password:</td><td
align=left><input name=pass2 type=password></td></tr>
  <tr><td></td><td align=left>
  </font>
  <input name=username type=hidden value="<? echo $username?>">
  <input name=SECRET_HTTP_REFERER type=hidden value="<? echo
htmlspecialchars($HTTP_REFERER)?>">
  <BR>
  <input type=submit name=mode value="Change Password"></td></tr>
  </table>
  </CENTER>
<?


--
Brad Dameron                                            [EMAIL PROTECTED]
Network Account Executive                               877-663-4349
TSCNet Online Services                                  www.tscnet.com

Reply via email to