aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 22:58:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 22:58:44 +0000
commitecfeaf08fffd1e9f347543d8d88799a4efb50827 (patch)
treea574b3e89db6d18cdc6531a7b539fa91d95daf02 /engine/lib
parent3e79004b04458c0ec11462a422dc67f2fb3c2bdb (diff)
downloadelgg-ecfeaf08fffd1e9f347543d8d88799a4efb50827.tar.gz
elgg-ecfeaf08fffd1e9f347543d8d88799a4efb50827.tar.bz2
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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/views.php7
1 files changed, 6 insertions, 1 deletions
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.