From 9cd7ebd1ece016577c435b85f56d6c30545ff363 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 7 Dec 2010 02:47:31 +0000 Subject: reorganized the layout views git-svn-id: http://code.elgg.org/elgg/trunk@7553 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/blog/sidebar_menu.php | 4 ++-- mod/blog/views/default/blog/sidebar_revisions.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/blog/views/default') 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 .= ''; - 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 .= ''; - 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 -- cgit v1.2.3