diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-22 11:46:28 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-22 11:46:28 +0000 |
commit | 96630c2f66d99e954ccc3d158e67b3a1e1fd539d (patch) | |
tree | 5f8a66b4a61b77101af7c68fe8b8f13e414ae136 /mod/bookmarks/views | |
parent | cb101e4ce2fb3e6283f48c92dbdd974e2e123e49 (diff) | |
download | elgg-96630c2f66d99e954ccc3d158e67b3a1e1fd539d.tar.gz elgg-96630c2f66d99e954ccc3d158e67b3a1e1fd539d.tar.bz2 |
Added a 'view all' link to group tools widgets.
git-svn-id: http://code.elgg.org/elgg/trunk@6537 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views')
-rwxr-xr-x | mod/bookmarks/views/default/bookmarks/group_bookmarks.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php index 136c691a2..b9c9d27a8 100755 --- a/mod/bookmarks/views/default/bookmarks/group_bookmarks.php +++ b/mod/bookmarks/views/default/bookmarks/group_bookmarks.php @@ -3,9 +3,11 @@ //grab the groups bookmarks $bookmarks = elgg_get_entities(array('type' => 'object', 'subtype' => 'bookmarks', 'container_guids' => page_owner(), 'limit' => 6)); - -echo "<div class='group_tool_widget bookmarks'><h3>".elgg_echo('bookmarks:group')."</h3>"; - +?> +<div class="group_tool_widget bookmarks"> +<span class="group_widget_link"><a href="<?php echo $vars['url'] . "pg/bookmarks/" . page_owner_entity()->username; ?>"><?php echo elgg_echo('link:view:all')?></a></span> +<h3><?php echo elgg_echo('bookmarks:group') ?></h3> +<?php if($bookmarks){ foreach($bookmarks as $b){ |