From 7c931c8e4fdbc7b3ff527d627e0e8bd158fb86ab Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 30 Mar 2010 19:31:37 +0000 Subject: Added the beginnings of a bookmark view for group profile pages. git-svn-id: http://code.elgg.org/elgg/trunk@5556 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/bookmarks/group_bookmarks.php | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 mod/bookmarks/views/default/bookmarks/group_bookmarks.php (limited to 'mod/bookmarks/views/default/bookmarks/group_bookmarks.php') diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php new file mode 100755 index 000000000..c99ffe73a --- /dev/null +++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php @@ -0,0 +1,36 @@ +owner_guid, "", 6, 0, false); + +echo "

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

"; + +if($bookmarks){ + foreach($bookmarks as $b){ + + //get the owner + $owner = $b->getOwnerEntity(); + + //get the time + $friendlytime = friendly_time($b->time_created); + + //get the bookmark title + $info = ""; + + //get the user details + $info .= "

{$friendlytime} "; + + //get the bookmark description + if($s->description) + $info .= "".elgg_echo('bookmarks:more')."

{$s->description}

"; + else + $info .= "

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

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

"; +} +echo "
"; \ No newline at end of file -- cgit v1.2.3