diff options
author | Malf Furious <m@lfurio.us> | 2016-04-27 23:38:49 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-05-01 01:34:23 -0400 |
commit | 423fa09e3f524c8139d18c3e8652f542bcf2cd44 (patch) | |
tree | a457fe768bbfe35c19a38948a4a0e6c209e6d831 /app/view | |
parent | 0ad5c4d29ca5d4109a7fe33cdfc9b8e6b01ace6b (diff) | |
download | scrott-423fa09e3f524c8139d18c3e8652f542bcf2cd44.tar.gz scrott-423fa09e3f524c8139d18c3e8652f542bcf2cd44.zip |
Update form handler for common/setting-modal, user tab
Now supports file upload to replace the user's head image
Diffstat (limited to 'app/view')
-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 19bcf5c..1d7951a 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -27,7 +27,7 @@ <div class="tab-pane fade in active" id="settUserTab"> <p> </p> - <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-user" /> <div class="row"> @@ -65,7 +65,7 @@ <div class="collapse" id="inputUserImageCollapse"> <div class="form-group"> <label>User Image</label> - <input type="file" name="inputf[image]" /> + <input type="file" name="attachment" /> </div> </div> |