Dragon-Knight/templates/changepassword.php
Jamin Blount 27eb6c15a7 v1.1.0
### 1.1.0 (2.27.2004) ###
### Thanks to Miker, Yop, Mantagnana & Maebius for bug reports & feature
ideas. :)
- Added option to verify registration emails.
- Added options to turn off display of news/online/babblebox in towns.
- Added gameurl and adminemail fields to control table.
- Added ability to ban a user without deleting the account.
- Added rules for passwords (alphanumeric, maxlength=10).
- Added page where users can change their passwords.
- Added a page for lost passwords.
- Fixed bugs in users.php to use doquery() instead of mysql_query().
- Fixed bug in installer program when creating the admin user account.
- Changed the way towns and spells are handled in the user account.
- Removed some deprecated code from the onlinechar() function.
2017-02-05 10:58:20 -06:00

14 lines
883 B
PHP

<?php
$template = <<<THEVERYENDOFYOU
<form action="users.php?do=changepassword" method="post">
<table width="100%">
<tr><td colspan="2">Use the form below to change your password. All fields are required. New passwords must be 10 alphanumeric characters or less.</td></tr>
<tr><td width="20%">Username:</td><td><input type="text" name="username" size="30" maxlength="30" /></td></tr>
<tr><td>Old Password:</td><td><input type="password" name="oldpass" size="20" /></td></tr>
<tr><td>New Password:</td><td><input type="password" name="newpass1" size="20" maxlength="10" /></td></tr>
<tr><td>Verify New Password:</td><td><input type="password" name="newpass2" size="20" maxlength="10" /><br /><br /><br /></td></tr>
<tr><td colspan="2"><input type="submit" name="submit" value="Submit" /> <input type="reset" name="reset" value="Reset" /></td></tr>
</table>
</form>
THEVERYENDOFYOU;
?>