]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Added a 'view all' link to group tools widgets.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 22 Jun 2010 11:46:28 +0000 (11:46 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 22 Jun 2010 11:46:28 +0000 (11:46 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6537 36083f99-b078-4883-b0ff-0f9b5a30f544

languages/en.php
mod/bookmarks/views/default/bookmarks/group_bookmarks.php
mod/groups/views/default/groups/activity_latest.php
mod/groups/views/default/groups/css.php
mod/groups/views/default/groups/forum_latest.php

index 8136601b3a13b60465d88494f62c612631d636e3..a808492c26d1f6ab06d756a50be162876453481e 100644 (file)
@@ -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',
 
 
 /**
index 136c691a2e3c33d07adfcfc31eef487a329b4f37..b9c9d27a835c5809f82cf3abfe78e24da0cb0b5b 100755 (executable)
@@ -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){
                        
index c7cd48c3fd3831ed2c6ae1ca3790a74043183cb5..d4f1877d08db26ca26a2beed788196156463f3d3 100644 (file)
@@ -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();
index a9e4127910d664fde2a99a6d8341fd58f9b03d23..14e3c0830ba22f0be81858c505f88f1431d36424 100644 (file)
 .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 {
index 865b04ca2d3717e4ba3c80f2a38a2b5e0b62c54f..1614557036644beacd575795c1ef541adddd0694 100644 (file)
@@ -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