aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 13:53:45 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 13:53:45 +0000
commit4c4d8e599a6881ba2e0f51706e99b2d9f0650a22 (patch)
tree8d5b476110e800012850ebdf1bf94d809432cc0f /views/default
parent0c7547f6de3b7ff2ec7a79b2f636add2be341e85 (diff)
downloadelgg-4c4d8e599a6881ba2e0f51706e99b2d9f0650a22.tar.gz
elgg-4c4d8e599a6881ba2e0f51706e99b2d9f0650a22.tar.bz2
videolist link added to group homepage
git-svn-id: http://code.elgg.org@6438 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/videolist/groupprofile_videolist.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php
index 646590c95..7c51c5615 100644
--- a/views/default/videolist/groupprofile_videolist.php
+++ b/views/default/videolist/groupprofile_videolist.php
@@ -44,7 +44,8 @@ if ($videos) {
echo "<p><a href=\"{$users_file_url}\">" . elgg_echo("videolist:groupall") . "</a></p>";
} else {
- echo "<p class='margin_top'>" . elgg_echo("videolist:none") . "</p>";
+ $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>";
}
echo "</div>";
?> \ No newline at end of file