diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 02:29:23 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 02:29:23 +0000 |
commit | 22bb75ea6cd36fc3f6b0f6be608aa4637063d29a (patch) | |
tree | 0dbc1aa6e4609190152b091cfcf8160e054cc0f6 /views/default/layout/shells | |
parent | 52aaa3ded5302ac312e259a8e101363cdc3b548a (diff) | |
download | elgg-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 'views/default/layout/shells')
-rw-r--r-- | views/default/layout/shells/admin/menu.php | 6 | ||||
-rw-r--r-- | views/default/layout/shells/two_sidebar.php | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/views/default/layout/shells/admin/menu.php b/views/default/layout/shells/admin/menu.php index db5564978..b0e0d0063 100644 --- a/views/default/layout/shells/admin/menu.php +++ b/views/default/layout/shells/admin/menu.php @@ -5,8 +5,4 @@ $content = elgg_view_menu('page', array('sort_by' => 'name')); -echo elgg_view('layout/objects/module', array( - 'title' => elgg_echo('admin:menu'), - 'body' => $content, - 'class' => 'elgg-module-main', -)); +echo elgg_view_module('main', elgg_echo('admin:menu'), $content);
\ No newline at end of file diff --git a/views/default/layout/shells/two_sidebar.php b/views/default/layout/shells/two_sidebar.php index 1ea527419..d61914d5c 100644 --- a/views/default/layout/shells/two_sidebar.php +++ b/views/default/layout/shells/two_sidebar.php @@ -28,7 +28,7 @@ if (isset($vars['class'])) { //$params = $vars; //$params['sidebar'] = $vars['sidebar_alt']; $params = array( - 'sidebar' => elgg_view('layout/objects/module', array('title' => 'Testing', 'body' => 'Hello, world!')) + 'sidebar' => elgg_view_module('test', 'Testing', 'Hello, world!'), ); echo elgg_view('layout/elements/sidebar', $params); ?> |