diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-27 11:10:37 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-27 11:10:37 +0000 |
commit | b649c933a9cfbaf4909030d2f7454fea29086a3a (patch) | |
tree | a40bd399ea3f32317732bc79c77aa1d8b2e8f888 | |
parent | 7e38b291b7014bf90f9210e3fadc0cc1da9c6afc (diff) | |
download | elgg-b649c933a9cfbaf4909030d2f7454fea29086a3a.tar.gz elgg-b649c933a9cfbaf4909030d2f7454fea29086a3a.tar.bz2 |
Minor fix to the icon code
git-svn-id: https://code.elgg.org/elgg/trunk@1168 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/profile/views/default/profile/icon.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php index 156016b32..9b991374b 100644 --- a/mod/profile/views/default/profile/icon.php +++ b/mod/profile/views/default/profile/icon.php @@ -53,7 +53,12 @@ <a href="<?php echo $vars['entity']->getURL(); ?>"><h3><?php echo $vars['entity']->name; ?></h3></a>
<?php
- echo elgg_view('profile/menu/actions',$vars);
+ $actions = elgg_view('profile/menu/actions',$vars);
+ if (!empty($actions)) {
+
+ echo "<div class=\"item_line\">{$actions}</div>";
+
+ }
if ($vars['entity']->getGUID() == $vars['user']->getGUID()) {
echo elgg_view('profile/menu/linksownpage',$vars);
} else {
|