diff options
author | Malf Furious <m@lfurio.us> | 2016-05-22 16:59:43 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-05-22 16:59:43 -0400 |
commit | abd11313d0a9f2b28d7b709fcbd98befd95db15c (patch) | |
tree | 152db15fb227134a48fa54d4696f0069bf651d62 /app/view/common/setting.modal.view.php | |
parent | d431ef2954455ad38454d27f5be866061794b4bf (diff) | |
parent | 2d1e4242a87b54578e24546dabe1525a014da24e (diff) | |
download | scrott-abd11313d0a9f2b28d7b709fcbd98befd95db15c.tar.gz scrott-abd11313d0a9f2b28d7b709fcbd98befd95db15c.zip |
Merge branch 'feature/user-removal' into dev
Diffstat (limited to '')
-rw-r--r-- | app/view/common/setting.modal.view.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index e43f723..60b0ba5 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -108,6 +108,11 @@ </form> <p> </p> + <p> </p> + + <a href="<?=$mod->ar()?>/deleteaccount" class="btn btn-danger btn-xs pull-right"><span class="glyphicon glyphicon-trash"></span> Delete Account</a> + + <p> </p> </div> <?php if ($mod->getCurrentUser()->admin == 1) { ?> @@ -288,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> |