diff options
author | Malf Furious <m@lfurio.us> | 2016-05-22 16:27:55 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-05-22 16:27:55 -0400 |
commit | 04cf93366774e7c1a9070013af866380c5f5ad95 (patch) | |
tree | 3cc3c49d492121f1a0e6284bf3207f4ff53b7298 /app/view/common/setting.modal.view.php | |
parent | c2137095e8b176affa3e97af579a70d394eeb7c1 (diff) | |
download | scrott-04cf93366774e7c1a9070013af866380c5f5ad95.tar.gz scrott-04cf93366774e7c1a9070013af866380c5f5ad95.zip |
Add delete account button to all users panels
Added button for admins to remove any user account
Diffstat (limited to 'app/view/common/setting.modal.view.php')
-rw-r--r-- | app/view/common/setting.modal.view.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 845f4ed..60b0ba5 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -293,6 +293,17 @@ <button type="submit" class="btn btn-success pull-right">Save</button> </form> + + <p> </p> + <p> </p> + + <form method="post" action="<?=$mod->ap()?>"> + <input type="hidden" name="input[action]" value="common-setting-allusers-deluser" /> + <input type="hidden" name="input[guid]" value="<?=$user->guid?>" /> + <button type="submit" class="btn btn-danger btn-xs pull-right" onclick="return assertConfirm()"> + <span class="glyphicon glyphicon-trash"></span> Delete Account + </button> + </form> </div> </div> </div> |