aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-22 11:46:28 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-22 11:46:28 +0000
commit96630c2f66d99e954ccc3d158e67b3a1e1fd539d (patch)
tree5f8a66b4a61b77101af7c68fe8b8f13e414ae136 /mod
parentcb101e4ce2fb3e6283f48c92dbdd974e2e123e49 (diff)
downloadelgg-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')
-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
4 files changed, 12 insertions, 4 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){
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