aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-22 12:11:40 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-22 12:11:40 +0000
commitb6cc5ca48341e74d0fed33eae3b9772c30e87d21 (patch)
treef8ce17bfd00756d262f7928ccc638b0a9913c73a /views
parent4c4d8e599a6881ba2e0f51706e99b2d9f0650a22 (diff)
downloadelgg-b6cc5ca48341e74d0fed33eae3b9772c30e87d21.tar.gz
elgg-b6cc5ca48341e74d0fed33eae3b9772c30e87d21.tar.bz2
Updated documents and videolist mods with 'view all' link in groups homepage widget
git-svn-id: http://code.elgg.org@6538 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/videolist/groupprofile_videolist.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php
index 7c51c5615..badfa13a6 100644
--- a/views/default/videolist/groupprofile_videolist.php
+++ b/views/default/videolist/groupprofile_videolist.php
@@ -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>";