aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages/en.php1
-rwxr-xr-xmod/bookmarks/views/default/bookmarks/group_bookmarks.php8
-rw-r--r--mod/groups/views/default/groups/activity_latest.php2
-rw-r--r--mod/groups/views/default/groups/css.php5
-rw-r--r--mod/groups/views/default/groups/forum_latest.php1
5 files changed, 13 insertions, 4 deletions
diff --git a/languages/en.php b/languages/en.php
index 8136601b3..a808492c2 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -320,6 +320,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
**/
'link:view' => 'view link',
+ 'link:view:all' => 'View all',
/**
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){
diff --git a/mod/groups/views/default/groups/activity_latest.php b/mod/groups/views/default/groups/activity_latest.php
index c7cd48c3f..d4f1877d0 100644
--- a/mod/groups/views/default/groups/activity_latest.php
+++ b/mod/groups/views/default/groups/activity_latest.php
@@ -9,7 +9,7 @@
* @link http://elgg.org/
*/
?>
-
+<span class="group_widget_link"><a href="<?php echo $vars['url'] . "pg/groups/activity/" . page_owner(); ?>"><?php echo elgg_echo('link:view:all')?></a></span>
<h3><?php echo elgg_echo("activity"); ?></h3>
<?php
$owner = page_owner_entity();
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index a9e412791..14e3c0830 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -142,6 +142,11 @@
.group_tool_widget .entity_listing_info {
width:315px;
}
+.group_widget_link {
+ float:right;
+ margin:4px 6px 0 0;
+ font-size: 85%;
+}
/* edit group page */
.delete_group {
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
index 865b04ca2..161455703 100644
--- a/mod/groups/views/default/groups/forum_latest.php
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -5,6 +5,7 @@
//check to make sure this group forum has been activated
if($vars['entity']->forum_enable != 'no'){
?>
+<span class="group_widget_link"><a href="<?php echo $vars['url'] . "pg/groups/forum/" . page_owner(); ?>"><?php echo elgg_echo('link:view:all')?></a></span>
<h3><?php echo elgg_echo('groups:latestdiscussion'); ?></h3>
<?php