From cac4c30b0cfe647d272b451612c0b59fefadf620 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Mar 2011 17:13:42 +0000 Subject: added owner icons to bookmarks git-svn-id: http://code.elgg.org/elgg/trunk@8590 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/views/default/object/bookmarks.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'mod/bookmarks/views/default/object/bookmarks.php') diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php index 8c5de61a4..71a75731f 100644 --- a/mod/bookmarks/views/default/object/bookmarks.php +++ b/mod/bookmarks/views/default/object/bookmarks.php @@ -13,6 +13,7 @@ if (!$bookmark) { } $owner = $bookmark->getOwnerEntity(); +$owner_icon = elgg_view_entity_icon($owner, 'tiny'); $container = $bookmark->getContainerEntity(); $categories = elgg_view('output/categories', $vars); @@ -62,13 +63,15 @@ if ($full && !elgg_in_context('gallery')) { 'subtitle' => $subtitle, 'tags' => $tags, ); - $bookmark_info = elgg_view('page/components/list/body', $params); + $list_body = elgg_view('page/components/list/body', $params); + $bookmark_info = elgg_view_image_block($owner_icon, $list_body); + $bookmark_icon = elgg_view_icon('bookmark'); echo << - $bookmark_icon

$link

+
+ $bookmark_icon$link $description
HTML; @@ -113,5 +116,6 @@ HTML; 'content' => $content, ); - echo elgg_view('page/components/list/body', $params); + $body = elgg_view('page/components/list/body', $params); + echo elgg_view_image_block($owner_icon, $body); } \ No newline at end of file -- cgit v1.2.3