diff options
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/edit.php | 2 | ||||
-rw-r--r-- | mod/pages/history.php | 2 | ||||
-rw-r--r-- | mod/pages/index.php | 2 | ||||
-rw-r--r-- | mod/pages/new.php | 2 | ||||
-rw-r--r-- | mod/pages/view.php | 2 | ||||
-rw-r--r-- | mod/pages/welcome.php | 2 | ||||
-rw-r--r-- | mod/pages/world.php | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/mod/pages/edit.php b/mod/pages/edit.php index 30207a7b9..d404e0433 100644 --- a/mod/pages/edit.php +++ b/mod/pages/edit.php @@ -33,4 +33,4 @@ if ($pages && ($pages->canEdit())) { $body = elgg_view_layout('one_column_with_sidebar', $body); -page_draw($title, $body);
\ No newline at end of file +echo elgg_view_page($title, $body);
\ No newline at end of file diff --git a/mod/pages/history.php b/mod/pages/history.php index 9228a65a9..6070a3fd0 100644 --- a/mod/pages/history.php +++ b/mod/pages/history.php @@ -36,4 +36,4 @@ $sidebar = elgg_view('pages/sidebar/tree'); $body = elgg_view_layout('one_column_with_sidebar', $content, $sidebar); -page_draw($title, $body);
\ No newline at end of file +echo elgg_view_page($title, $body);
\ No newline at end of file diff --git a/mod/pages/index.php b/mod/pages/index.php index 7e48c06d8..3cffbd292 100644 --- a/mod/pages/index.php +++ b/mod/pages/index.php @@ -51,4 +51,4 @@ $body .= $objects; $body = elgg_view_layout('one_column_with_sidebar', $body); // Finally draw the page -page_draw($title, $body); +echo elgg_view_page($title, $body); diff --git a/mod/pages/new.php b/mod/pages/new.php index 2674daf16..0d467d449 100644 --- a/mod/pages/new.php +++ b/mod/pages/new.php @@ -36,4 +36,4 @@ $area2 .= elgg_view("forms/pages/edit"); $body = elgg_view_layout('one_column_with_sidebar', $area2, $area1); -page_draw($title, $body);
\ No newline at end of file +echo elgg_view_page($title, $body);
\ No newline at end of file diff --git a/mod/pages/view.php b/mod/pages/view.php index 6eb58ed8e..84b0ae55b 100644 --- a/mod/pages/view.php +++ b/mod/pages/view.php @@ -58,4 +58,4 @@ $sidebar = elgg_view('pages/sidebar/tree'); $body = elgg_view_layout('one_column_with_sidebar', $body, $sidebar); // Finally draw the page -page_draw($title, $body);
\ No newline at end of file +echo elgg_view_page($title, $body);
\ No newline at end of file diff --git a/mod/pages/welcome.php b/mod/pages/welcome.php index 41fa87aa1..4386c5228 100644 --- a/mod/pages/welcome.php +++ b/mod/pages/welcome.php @@ -32,4 +32,4 @@ $area2 .= elgg_view("forms/pages/editwelcome", array('entity' => $welcome_messag $body = elgg_view_layout('one_column_with_sidebar', $area2, $area1); -page_draw($title, $body);
\ No newline at end of file +echo elgg_view_page($title, $body);
\ No newline at end of file diff --git a/mod/pages/world.php b/mod/pages/world.php index f423bf8d5..ee9521ba4 100644 --- a/mod/pages/world.php +++ b/mod/pages/world.php @@ -45,4 +45,4 @@ $body .= $objects; $body = elgg_view_layout('one_column_with_sidebar', $body); // Finally draw the page -page_draw($title, $body);
\ No newline at end of file +echo elgg_view_page($title, $body);
\ No newline at end of file |