aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/start.php2
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php4
-rw-r--r--mod/blog/views/default/blog/sidebar_revisions.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index f0967367d..8caffcb5f 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -173,7 +173,7 @@ function blog_page_handler($page) {
$params['sidebar'] .= $sidebar_menu;
- $body = elgg_view_layout('main_content', $params);
+ $body = elgg_view_layout('content', $params);
echo elgg_view_page($title, $body);
}
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index 0be818c5a..3d343d80e 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -31,7 +31,7 @@ echo elgg_view("blogs/sidebar", array("object_type" => 'blog'));
$comments = get_annotations(0, "object", "blog", "generic_comment", "", 0, 4, 0, "desc");
$title = elgg_echo('generic_comments:latest');
$body = elgg_view('comments/latest', array('comments' => $comments));
-echo elgg_view('layout_elements/module', array('title' => $title, 'body' => $body));
+echo elgg_view('layout/objects/module', array('title' => $title, 'body' => $body));
// only show archives for users or groups.
// This is a limitation of the URL schema.
@@ -53,7 +53,7 @@ if ($page_owner && $vars['page'] != 'friends') {
}
$content .= '</ul>';
- echo elgg_view('layout_elements/module', array('title' => $title, 'body' => $content));
+ echo elgg_view('layout/objects/module', array('title' => $title, 'body' => $content));
}
// friends page lists all tags; mine lists owner's
diff --git a/mod/blog/views/default/blog/sidebar_revisions.php b/mod/blog/views/default/blog/sidebar_revisions.php
index ca0a642f2..e3919648b 100644
--- a/mod/blog/views/default/blog/sidebar_revisions.php
+++ b/mod/blog/views/default/blog/sidebar_revisions.php
@@ -72,6 +72,6 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) {
$body .= '</ul>';
- echo elgg_view('layout_elements/module', array('title' => $title, 'body' => $body));
+ echo elgg_view('layout/objects/module', array('title' => $title, 'body' => $body));
}
} \ No newline at end of file