aboutsummaryrefslogtreecommitdiff
path: root/watch.php
diff options
context:
space:
mode:
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