aboutsummaryrefslogtreecommitdiff
path: root/watch.php
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 16:59:14 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 16:59:14 +0000
commitdd489f623628930e527e8112142576bb0de24b57 (patch)
tree553f57964d3995b61c4cb1d0dfeaeb405e370a3d /watch.php
parente8123c694c232509ea0c96ab19edf7cb1168b571 (diff)
downloadelgg-dd489f623628930e527e8112142576bb0de24b57.tar.gz
elgg-dd489f623628930e527e8112142576bb0de24b57.tar.bz2
Beginnings of updating VideoList to v1.8 interface, edit, delete, favorite added. Amongst other updates Friends view and breadcrumbs added.
Diffstat (limited to 'watch.php')
-rw-r--r--watch.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/watch.php b/watch.php
index 20c39f527..6694fca88 100644
--- a/watch.php
+++ b/watch.php
@@ -31,13 +31,11 @@ if ($videos = get_entity($video_id)) {
'entity_owner' => $page_owner,
'full' => true
));
- //$area2 .= elgg_view("videolist/comments", array('entity' => $videos));
- $body = elgg_view_layout("one_column_with_sidebar", $area1 . $area2);
+ $body = elgg_view_layout("one_column_with_sidebar", $area1.$area2, $area3);
} else {
- // Display the 'post not found' page instead
- $body = elgg_view("videolist/notfound");
+ // video not found
+ $body = "<p class='margin_top'>".elgg_echo('videolist:none:found')."</p>";
$title = elgg_echo("video:none");
-
}
// Finally draw the page