diff --git a/themes/danbooru/user.theme.php b/themes/danbooru/user.theme.php index 15f62894..d3e658a4 100644 --- a/themes/danbooru/user.theme.php +++ b/themes/danbooru/user.theme.php @@ -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; }