From 2ac6d8f4d1738d299dab4fc5ac0cd28f7c3c00b5 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 13 Apr 2010 16:07:52 +0000 Subject: Groups profile page tool widget boxes updated. git-svn-id: http://code.elgg.org/elgg/trunk@5716 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/bookmarks/group_bookmarks.php | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'mod/bookmarks/views') diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php index 2f677fb44..e4cdedeac 100755 --- a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php +++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php @@ -4,7 +4,7 @@ $bookmarks = elgg_get_entities(array('type' => 'object', 'subtype' => 'bookmarks', 'container_guids' => $vars['entity']->container_guid, 'limit' => 6)); -echo "

".elgg_echo('bookmarks:group')."

"; +echo "

".elgg_echo('bookmarks:group')."

"; if($bookmarks){ foreach($bookmarks as $b){ @@ -14,21 +14,25 @@ if($bookmarks){ //get the time $friendlytime = friendly_time($b->time_created); + + $info = "
" . elgg_view('profile/icon',array('entity' => $b->getOwnerEntity(), 'size' => 'tiny')) . "
"; - //get the bookmark title - $info = ""; + //get the bookmark entries body + $info .= "

address}\">{$b->title}

"; //get the user details - $info .= "

{$friendlytime} "; + $info .= "

{$friendlytime} "; //get the bookmark description - if($s->description) + // @todo - do we even have a description anymore? or is this the current bookmarks note ? + if($s->description) { $info .= "".elgg_echo('bookmarks:more')."

{$s->description}

"; - else - $info .= "

"; - + } else { + $info .= "

"; + } + $info .= "
"; //display - echo "
" . $info . "
"; + echo "
" . $info . "
"; } } else { echo "

" . elgg_echo("bookmarks:none") . "

"; -- cgit v1.2.3