"Change e-mail" was missing in the danbooru theme.
This commit is contained in:
parent
fcf2ed252f
commit
acb2a923a0
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue