aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
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);