aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-27 10:59:41 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-27 10:59:41 +0000
commit7e38b291b7014bf90f9210e3fadc0cc1da9c6afc (patch)
treeee151076b6bf0fb33e80e2a810c1324627e63278 /mod/profile
parent239c4150ea056bcd0632f3d96afb9ebaa84dfd97 (diff)
downloadelgg-7e38b291b7014bf90f9210e3fadc0cc1da9c6afc.tar.gz
elgg-7e38b291b7014bf90f9210e3fadc0cc1da9c6afc.tar.bz2
Fix to icon links, so they display actions too
git-svn-id: https://code.elgg.org/elgg/trunk@1167 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/views/default/profile/icon.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php
index 0fce6692f..156016b32 100644
--- a/mod/profile/views/default/profile/icon.php
+++ b/mod/profile/views/default/profile/icon.php
@@ -53,18 +53,13 @@
<a href="<?php echo $vars['entity']->getURL(); ?>"><h3><?php echo $vars['entity']->name; ?></h3></a>
<?php
- $links = elgg_view('profile/menu/actions',$vars);
+ echo elgg_view('profile/menu/actions',$vars);
if ($vars['entity']->getGUID() == $vars['user']->getGUID()) {
- $links .= elgg_view('profile/menu/linksownpage',$vars);
+ echo elgg_view('profile/menu/linksownpage',$vars);
} else {
- $links .= elgg_view('profile/menu/links',$vars);
+ echo elgg_view('profile/menu/links',$vars);
}
-
- $links = preg_replace('/\<p.*\>/','',$links);
- $links = preg_replace('/\<\/p.*\>/','',$links);
-
- echo $links;
-
+
?>
</div>