diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-13 15:28:45 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-13 15:28:45 +0000 |
commit | cc1d7f7a798f9451dfb3a224df3a871e59a060d5 (patch) | |
tree | 7ebea9743650dbf2666f804cb17cbf6d8ab72f49 /mod/profile/views/default | |
parent | 9a0d66f6b02e8ef63051372b7ed64b5e3019a7b3 (diff) | |
download | elgg-cc1d7f7a798f9451dfb3a224df3a871e59a060d5.tar.gz elgg-cc1d7f7a798f9451dfb3a224df3a871e59a060d5.tar.bz2 |
ASSIGNED - # 2: Administration panel
http://trac.elgg.org/elgg/ticket/2
- Added ban template and delete
git-svn-id: https://code.elgg.org/elgg/trunk@913 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-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 |