aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:58:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:58:36 +0000
commit53b7f5e7715ea3c71f525df77d74641e5220a9a6 (patch)
tree72dfa7b6935e6dbfcef9f78a785ddb739c6d68b5 /mod/ecml
parent6e51bcd2d33417f529da15baa5a413ebfc0ca993 (diff)
downloadelgg-53b7f5e7715ea3c71f525df77d74641e5220a9a6.tar.gz
elgg-53b7f5e7715ea3c71f525df77d74641e5220a9a6.tar.bz2
Fixes #2360: page_draw => elgg_view_page in core + bundled plugins
git-svn-id: http://code.elgg.org/elgg/trunk@7210 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml')
-rw-r--r--mod/ecml/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index f4ca57365..2c6cc073b 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -88,7 +88,7 @@ function ecml_help_page_handler($page) {
if (!isset($page[0]) || empty($page[0])) {
$content = elgg_view('ecml/help');
$body = elgg_view_layout('one_column_with_sidebar', $content);
- echo page_draw(elgg_echo('ecml:help'), $body);
+ echo elgg_view_page(elgg_echo('ecml:help'), $body);
} else {
// asking for detailed help about a keyword
$keyword = $page[0];
@@ -99,7 +99,7 @@ function ecml_help_page_handler($page) {
exit;
} else {
$body = elgg_view_layout('one_column_with_sidebar', $content);
- echo page_draw(elgg_echo('ecml:help'), $body);
+ echo elgg_view_page(elgg_echo('ecml:help'), $body);
}
}
@@ -184,7 +184,7 @@ function ecml_admin_page_handler($page) {
set_context('admin');
$content = elgg_view('ecml/admin/ecml_admin');
$body = elgg_view_layout('one_column_with_sidebar', $content);
- echo page_draw(elgg_echo('ecml:admin'), $body);
+ echo elgg_view_page(elgg_echo('ecml:admin'), $body);
}
/**