diff options
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> |