diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index c405e78a9..a2918b2a3 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -73,6 +73,19 @@ </p>
<?php
+ + // TODO: Add admin console options here + if (isadminloggedin()) + { +?> + <p> + <a href="<?php echo $vars['url']; ?>actions/admin/user/ban?guid=<?php echo $vars['entity']->guid; ?> ?>"><?php echo elgg_echo("ban"); ?></a> + </p> + <p> + <a href="<?php echo $vars['url']; ?>actions/admin/user/delete?guid=<?php echo $vars['entity']->guid; ?> ?>"><?php echo elgg_echo("delete"); ?></a> + </p> +<?php + } }
?>
\ No newline at end of file |