diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-05 17:13:42 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-05 17:13:42 +0000 |
commit | cac4c30b0cfe647d272b451612c0b59fefadf620 (patch) | |
tree | aafde0119ab627ec687573dd9c863bd4bab0c07d /mod | |
parent | 64c6eb54c9f413880f1b09c77914971124e3a4ab (diff) | |
download | elgg-cac4c30b0cfe647d272b451612c0b59fefadf620.tar.gz elgg-cac4c30b0cfe647d272b451612c0b59fefadf620.tar.bz2 |
added owner icons to bookmarks
git-svn-id: http://code.elgg.org/elgg/trunk@8590 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/bookmarks/views/default/object/bookmarks.php | 12 |
1 files changed, 8 insertions, 4 deletions
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 <<<HTML $header $bookmark_info -<div class="bookmark elgg-content"> - $bookmark_icon<h3 class="pbl">$link</h3> +<div class="bookmark elgg-content mts"> + $bookmark_icon<span class="elgg-heading-basic mbs">$link</span> $description </div> 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 |