piler/webui/view/theme/default/templates/user/remove.tpl
Remi S 6567a0decd This commit wraps up:
-Better Navbar formatting
-AJAX delete confirmation
-Enhanced validation feedback on admin pages
2013-08-07 13:05:03 -04:00

16 lines
622 B
Smarty

<div>
<?php if($confirmed){ ?>
<div class="alert alert-success"><?php print $x; ?>.</div>
<p><a href="index.php?route=user/list"><i class="icon-circle-arrow-left"></i>&nbsp;<?php print $text_back; ?></a></p>
<?php } else { ?>
<p><a href="index.php?route=user/edit&amp;uid=<?php print $uid; ?>"><i class="icon-circle-arrow-left"></i>&nbsp;<?php print $text_back; ?></a> | <a href="index.php?route=user/remove&amp;uid=<?php print $uid; ?>&amp;user=<?php print $user; ?>&amp;confirmed=1"><i class="icon-remove-sign"></i>&nbsp;<?php print $text_remove_this_user; ?>: <?php print $user; ?></a></p>
<?php } ?>
</div>