aboutsummaryrefslogtreecommitdiff
path: root/mod/file
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/file
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/file')
-rw-r--r--mod/file/edit.php2
-rw-r--r--mod/file/friends.php2
-rw-r--r--mod/file/index.php2
-rw-r--r--mod/file/search.php2
-rw-r--r--mod/file/upload.php2
-rw-r--r--mod/file/world.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/mod/file/edit.php b/mod/file/edit.php
index 8d091caa0..5c2afc120 100644
--- a/mod/file/edit.php
+++ b/mod/file/edit.php
@@ -35,4 +35,4 @@ $area1 = elgg_view_title($title);
$area1 .= elgg_view("file/upload", array('entity' => $file));
$body = elgg_view_layout('one_column_with_sidebar', $area1);
-page_draw($title, $body);
+echo elgg_view_page($title, $body);
diff --git a/mod/file/friends.php b/mod/file/friends.php
index 984aedc60..038d7efa2 100644
--- a/mod/file/friends.php
+++ b/mod/file/friends.php
@@ -35,5 +35,5 @@
$content = "<div class='files'>".$area1.$area2."</div>";
$body = elgg_view_layout('one_column_with_sidebar', $content, $area3);
- page_draw($title, $body);
+ echo elgg_view_page($title, $body);
?> \ No newline at end of file
diff --git a/mod/file/index.php b/mod/file/index.php
index 28ec07031..7fb246367 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -41,5 +41,5 @@
$content = "<div class='files'>".$area1.$area2."</div>";
$body = elgg_view_layout('one_column_with_sidebar', $content, $area3);
- page_draw($title, $body);
+ echo elgg_view_page($title, $body);
?> \ No newline at end of file
diff --git a/mod/file/search.php b/mod/file/search.php
index 221e34079..6568eae79 100644
--- a/mod/file/search.php
+++ b/mod/file/search.php
@@ -95,6 +95,6 @@
$body = elgg_view_layout('one_column_with_sidebar', $content);
- page_draw($title, $body);
+ echo elgg_view_page($title, $body);
?> \ No newline at end of file
diff --git a/mod/file/upload.php b/mod/file/upload.php
index a4cd4e01e..975b8e66a 100644
--- a/mod/file/upload.php
+++ b/mod/file/upload.php
@@ -19,6 +19,6 @@
$area1 .= elgg_view("file/upload", array('container_guid' => $container_guid));
$body = elgg_view_layout('one_column_with_sidebar', $area1);
- page_draw(elgg_echo("file:upload"), $body);
+ echo elgg_view_page(elgg_echo("file:upload"), $body);
?> \ No newline at end of file
diff --git a/mod/file/world.php b/mod/file/world.php
index e35b3c067..0fa2a2ead 100644
--- a/mod/file/world.php
+++ b/mod/file/world.php
@@ -34,4 +34,4 @@
$body = elgg_view_layout('one_column_with_sidebar', $content, $area3);
- page_draw($title, $body);
+ echo elgg_view_page($title, $body);