From 22bb75ea6cd36fc3f6b0f6be608aa4637063d29a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 12 Feb 2011 02:29:23 +0000 Subject: Fixes #2904: Converted most elgg_view('layout/objects/module') instances to elgg_view_module() git-svn-id: http://code.elgg.org/elgg/trunk@8135 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/theming/preview/objects.php | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) (limited to 'documentation/theming') diff --git a/documentation/theming/preview/objects.php b/documentation/theming/preview/objects.php index 179178c5a..0dc08cd98 100644 --- a/documentation/theming/preview/objects.php +++ b/documentation/theming/preview/objects.php @@ -23,36 +23,16 @@ $url = current_page_url();
'elgg-module-aside', - 'body' => $ipsum, - 'class' => 'elgg-module-aside', - )); - ?> - 'elgg-module-popup', - 'body' => $ipsum, - 'class' => 'elgg-module-popup', - )); + echo elgg_view_module('aside', 'elgg-module-aside', $ipsum); + echo elgg_view_module('popup', 'elgg-module-popup', $ipsum); ?>
'elgg-module-info', - 'body' => $ipsum, - 'class' => 'elgg-module-info', - )); - ?> - 'elgg-module-featured', - 'body' => $ipsum, - 'class' => 'elgg-module-featured', - )); + echo elgg_view_module('info', 'elgg-module-info', $ipsum); + echo elgg_view_module('featured', 'elgg-module-featured', $ipsum); ?>
-- cgit v1.2.3