diff options
author | Malf Furious <m@lfurio.us> | 2016-04-30 16:18:24 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-05-01 01:34:23 -0400 |
commit | be1a82affdaa1e87015a0a49979e9230cdc61b4d (patch) | |
tree | 69ce67f561de08ce7ba4bcf706d7c3b742686507 /app/view/common/setting.modal.view.php | |
parent | ae7ab126733f1d2c59e327f6120a2bbe792b3476 (diff) | |
download | scrott-be1a82affdaa1e87015a0a49979e9230cdc61b4d.tar.gz scrott-be1a82affdaa1e87015a0a49979e9230cdc61b4d.zip |
Update form handler for common/setting-modal, all users tab
Now supports file upload to replace the user's head image
Diffstat (limited to '')
-rw-r--r-- | app/view/common/setting.modal.view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 1d7951a..369a789 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -219,7 +219,7 @@ <div class="panel-collapse collapse" id="common-setting-allusers-<?=$user->guid?>-collapse"> <div class="panel-body"> - <form method="post" action="<?=$mod->ap()?>"> + <form method="post" action="<?=$mod->ap()?>" enctype="multipart/form-data"> <input type="hidden" name="input[action]" value="common-setting-allusers-edituser" /> <input type="hidden" name="input[guid]" value="<?=$user->guid?>" /> @@ -254,7 +254,7 @@ <div class="collapse" id="input<?=$user->guid?>ImageCollapse"> <div class="form-group"> <label>User Image</label> - <input type="file" name="inputf[image]" /> + <input type="file" name="attachment" /> </div> </div> |