aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/blog/group_module.php8
-rw-r--r--mod/blog/views/default/blog/sidebar/archives.php6
-rw-r--r--mod/blog/views/default/blog/sidebar/revisions.php6
3 files changed, 3 insertions, 17 deletions
diff --git a/mod/blog/views/default/blog/group_module.php b/mod/blog/views/default/blog/group_module.php
index e56670316..8c3fc373f 100644
--- a/mod/blog/views/default/blog/group_module.php
+++ b/mod/blog/views/default/blog/group_module.php
@@ -40,10 +40,4 @@ $new_link = elgg_view('output/url', array(
));
$content .= "<span class='elgg-widget-more'>$new_link</span>";
-
-$params = array(
- 'header' => $header,
- 'body' => $content,
- 'class' => 'elgg-module-info',
-);
-echo elgg_view('layout/objects/module', $params);
+echo elgg_view_module('info', '', $content, array('header' => $header));
diff --git a/mod/blog/views/default/blog/sidebar/archives.php b/mod/blog/views/default/blog/sidebar/archives.php
index bd74500ca..a76193831 100644
--- a/mod/blog/views/default/blog/sidebar/archives.php
+++ b/mod/blog/views/default/blog/sidebar/archives.php
@@ -25,10 +25,6 @@ if ($page_owner && $vars['page'] != 'friends') {
}
$content .= '</ul>';
- echo elgg_view('layout/objects/module', array(
- 'title' => $title,
- 'body' => $content,
- 'class' => 'elgg-module-aside',
- ));
+ echo elgg_view_module('aside', $title, $content);
}
} \ No newline at end of file
diff --git a/mod/blog/views/default/blog/sidebar/revisions.php b/mod/blog/views/default/blog/sidebar/revisions.php
index 1baf00037..b78eb6816 100644
--- a/mod/blog/views/default/blog/sidebar/revisions.php
+++ b/mod/blog/views/default/blog/sidebar/revisions.php
@@ -72,10 +72,6 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) {
$body .= '</ul>';
- echo elgg_view('layout/objects/module', array(
- 'title' => $title,
- 'body' => $body,
- 'class' => 'elgg-module-aside',
- ));
+ echo elgg_view_module('aside', $title, $body);
}
} \ No newline at end of file