aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-04 17:21:07 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-04 17:21:07 +0000
commit09766458504109f8f2b4cde33ce2d428737e37d5 (patch)
tree8232417b8011bef582d67c22adce8c1b646f58fb /mod
parent6ba6619d00ec8fac3410dd8c93db7f6d1b08d619 (diff)
downloadelgg-09766458504109f8f2b4cde33ce2d428737e37d5.tar.gz
elgg-09766458504109f8f2b4cde33ce2d428737e37d5.tar.bz2
REmoved duplicate admin links
git-svn-id: https://code.elgg.org/elgg/trunk@1300 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/menu/actions.php19
1 files changed, 1 insertions, 18 deletions
diff --git a/mod/profile/views/default/profile/menu/actions.php b/mod/profile/views/default/profile/menu/actions.php
index c2b4112d4..f69ad1316 100644
--- a/mod/profile/views/default/profile/menu/actions.php
+++ b/mod/profile/views/default/profile/menu/actions.php
@@ -21,22 +21,5 @@
}
}
}
-
- if (isadminloggedin()){
- if ($_SESSION['user']->getGUID() != $vars['entity']->guid){
-?>
-
- <p class="user_menu_banuser"><a href="<?php echo $vars['url']; ?>actions/admin/user/ban?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("ban"); ?></a></p>
-
- <p class="user_menu_delete"><a href="<?php echo $vars['url']; ?>actions/admin/user/delete?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("delete"); ?></a></p>
-
- <p class="user_menu_resetpassword"><a href="<?php echo $vars['url']; ?>actions/admin/user/resetpassword?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("resetpassword"); ?></a></p>
-
- <?php if (!$vars['entity']->admin) { ?>
- <p class="user_menu_makeadmin"><a href="<?php echo $vars['url']; ?>actions/admin/user/makeadmin?guid=<?php echo $vars['entity']->guid; ?>"><?php echo elgg_echo("makeadmin"); ?></a></p>
- <?php } ?>
-
-<?php
- }
- }
+
?> \ No newline at end of file