]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated documents and videolist mods with 'view all' link in groups homepage widget
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 22 Jun 2010 12:11:40 +0000 (12:11 +0000)
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 22 Jun 2010 12:11:40 +0000 (12:11 +0000)
git-svn-id: http://code.elgg.org@6538 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/videolist/groupprofile_videolist.php

index 7c51c5615f77cbe90fa2979d481053a7d3ad4933..badfa13a60d3b69c5249efd33aa43137f82cdec5 100644 (file)
@@ -11,6 +11,7 @@
 
 ?>
 <div class="group_tool_widget video">
+<span class="group_widget_link"><a href="<?php echo $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username; ?>"><?php echo elgg_echo('link:view:all')?></a></span>
 <h3><?php echo elgg_echo("videolist:group"); ?></h3>
 
 <?php
@@ -38,11 +39,6 @@ if ($videos) {
 
        }
 
-       //get a link to the users files
-       $users_file_url = $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username;
-
-       echo "<p><a href=\"{$users_file_url}\">" . elgg_echo("videolist:groupall") . "</a></p>";
-
 } else {
        $upload_video = $vars['url'] . "pg/videolist/browse/" . page_owner_entity()->username;
        echo "<p class='margin_top'><a href=\"{$upload_video}\">" . elgg_echo("videolist:add") . "</a></p>";