From ecfeaf08fffd1e9f347543d8d88799a4efb50827 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 1 Jan 2011 22:58:44 +0000 Subject: updating the sidebar boxes to use the new module classes git-svn-id: http://code.elgg.org/elgg/trunk@7809 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engine/lib/views.php') diff --git a/engine/lib/views.php b/engine/lib/views.php index 951210f5a..364f4618e 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1060,7 +1060,12 @@ function elgg_view_latest_comments($owner_guid, $type = 'object', $subtype = '', 'pagination' => false, 'list_class' => 'elgg-latest-comments', )); - return elgg_view('layout/objects/module', array('title' => $title, 'body' => $body)); + $params = array( + 'title' => $title, + 'body' => $body, + 'class' => 'elgg-aside-module', + ); + return elgg_view('layout/objects/module', $params); } /** * Wrapper function for the image block display pattern. -- cgit v1.2.3