diff options
Diffstat (limited to 'mod/profile/views/default/profile/userdetails.php')
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 160ff4abe..e0b6d676e 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -116,21 +116,6 @@ } // TODO: Add admin console options here - if (isadminloggedin()){ - if ($_SESSION['id']!=$vars['entity']->guid){ -?> - - <a href="<?php echo $vars['url']; ?>actions/admin/user/ban?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("ban"); ?></a> - - <a href="<?php echo $vars['url']; ?>actions/admin/user/delete?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("delete"); ?></a> - - <a href="<?php echo $vars['url']; ?>actions/admin/user/resetpassword?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("resetpassword"); ?></a> - - <?php if (!$vars['entity']->admin) { ?> <a href="<?php echo $vars['url']; ?>actions/admin/user/makeadmin?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("makeadmin"); ?></a> <?php } ?> - -<?php - } - } ?> </p> </div><!-- /#profile_info_wide --> |