summaryrefslogtreecommitdiffstats
path: root/app/view/common/setting.modal.view.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-05-22 16:59:43 -0400
committerMalf Furious <m@lfurio.us>2016-05-22 16:59:43 -0400
commitabd11313d0a9f2b28d7b709fcbd98befd95db15c (patch)
tree152db15fb227134a48fa54d4696f0069bf651d62 /app/view/common/setting.modal.view.php
parentd431ef2954455ad38454d27f5be866061794b4bf (diff)
parent2d1e4242a87b54578e24546dabe1525a014da24e (diff)
downloadscrott-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.php16
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>&nbsp;</p>
+ <p>&nbsp;</p>
+
+ <a href="<?=$mod->ar()?>/deleteaccount" class="btn btn-danger btn-xs pull-right"><span class="glyphicon glyphicon-trash"></span> Delete Account</a>
+
+ <p>&nbsp;</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>&nbsp;</p>
+ <p>&nbsp;</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>