"Change e-mail" was missing in the danbooru theme.

This commit is contained in:
Zach Hall 2010-01-31 15:34:54 -08:00 committed by Shish
parent fcf2ed252f
commit acb2a923a0

View file

@ -115,6 +115,14 @@ class CustomUserPageTheme extends UserPageTheme {
<tr><td colspan='2'><input type='Submit' value='Change Password'></td></tr>
</table>
</form>
<p><form action='".make_link("user_admin/change_email")."' method='POST'>
<input type='hidden' name='id' value='{$duser->id}'>
<table style='width: 300px;'>
<tr><th colspan='2'>Change Email</th></tr>
<tr><td>Address</td><td><input type='text' name='address' value='".html_escape($duser->email)."'></td></tr>
<tr><td colspan='2'><input type='Submit' value='Set'></td></tr>
</table>
</form></p>
";
return $html;
}