aboutsummaryrefslogtreecommitdiff
path: root/views/default/core
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core')
-rw-r--r--views/default/core/members/sidebar.php16
-rw-r--r--views/default/core/river/body.php5
2 files changed, 5 insertions, 16 deletions
diff --git a/views/default/core/members/sidebar.php b/views/default/core/members/sidebar.php
index 217003504..3a00bf700 100644
--- a/views/default/core/members/sidebar.php
+++ b/views/default/core/members/sidebar.php
@@ -9,15 +9,10 @@ $params = array(
'action' => elgg_get_site_url() . 'pg/members/search/tag/',
'disable_security' => true,
);
-$body = elgg_view_form('members/tag_search', $params);
-$params = array(
- 'title' => elgg_echo('members:searchtag'),
- 'body' => $body,
- 'class' => 'elgg-module-aside',
-);
-echo elgg_view('layout/objects/module', $params);
+$body = elgg_view_form('members/tag_search', $params);
+echo elgg_view_module('aside', elgg_echo('members:searchtag'), $body);
// name search
$params = array(
@@ -27,9 +22,4 @@ $params = array(
);
$body = elgg_view_form('members/name_search', $params);
-$params = array(
- 'title' => elgg_echo('members:searchname'),
- 'body' => $body,
- 'class' => 'elgg-module-aside',
-);
-echo elgg_view('layout/objects/module', $params);
+echo elgg_view_module('aside', elgg_echo('members:searchname'), $body); \ No newline at end of file
diff --git a/views/default/core/river/body.php b/views/default/core/river/body.php
index 192e83fe9..66fe45f3d 100644
--- a/views/default/core/river/body.php
+++ b/views/default/core/river/body.php
@@ -23,10 +23,9 @@ $body = elgg_view($item->getView(), array('item' => $item));
// footer
$footer = elgg_view('core/river/footer', $vars);
-$params = array(
+echo elgg_view('layout/objects/module', array(
'header' => $header,
'body' => $body,
'footer' => $footer,
'show_inner' => false,
-);
-echo elgg_view('layout/objects/module', $params);
+)); \ No newline at end of file