aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default')
-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>