aboutsummaryrefslogtreecommitdiff
path: root/mod/activity/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/activity/all.php')
-rw-r--r--mod/activity/all.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/activity/all.php b/mod/activity/all.php
index 6cd30e160..cd19a7507 100644
--- a/mod/activity/all.php
+++ b/mod/activity/all.php
@@ -20,10 +20,12 @@
global $autofeed;
$autofeed = true;
- if (elgg_get_viewtype()=='opendd')
+ if (elgg_get_viewtype()=='opendd'){
$body = elgg_view('activity/dashboard', array('activity' => activity_get_activity_opendd($limit, $offset, $type, $subtype)));
- else
+ }else{
$body = elgg_view('activity/dashboard', array('activity' => activity_get_activity($limit, $offset, $type, $subtype)));
+ $body .= elgg_view('activity/offset', array('offset' => $offset));
+ }
page_draw(elgg_echo('activity:all'),elgg_view_layout("two_column_left_sidebar", '', $title . $body));