aboutsummaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 02:29:23 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 02:29:23 +0000
commit22bb75ea6cd36fc3f6b0f6be608aa4637063d29a (patch)
tree0dbc1aa6e4609190152b091cfcf8160e054cc0f6 /documentation
parent52aaa3ded5302ac312e259a8e101363cdc3b548a (diff)
downloadelgg-22bb75ea6cd36fc3f6b0f6be608aa4637063d29a.tar.gz
elgg-22bb75ea6cd36fc3f6b0f6be608aa4637063d29a.tar.bz2
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
Diffstat (limited to 'documentation')
-rw-r--r--documentation/theming/preview/objects.php28
1 files changed, 4 insertions, 24 deletions
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();
<div class="elgg-col elgg-col-1of2">
<div class="pam">
<?php
- echo elgg_view('layout/objects/module', array(
- 'title' => 'elgg-module-aside',
- 'body' => $ipsum,
- 'class' => 'elgg-module-aside',
- ));
- ?>
- <?php
- echo elgg_view('layout/objects/module', array(
- 'title' => '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);
?>
</div>
</div>
<div class="elgg-col elgg-col-1of2">
<div class="pam">
<?php
- echo elgg_view('layout/objects/module', array(
- 'title' => 'elgg-module-info',
- 'body' => $ipsum,
- 'class' => 'elgg-module-info',
- ));
- ?>
- <?php
- echo elgg_view('layout/objects/module', array(
- 'title' => '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);
?>
</div>
</div>