aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 09:39:34 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 09:39:34 +0000
commitff4779ddb3ef005553187e4486d4d775220d8b8f (patch)
tree7765c79ad2cffd028dd5da9d1db68ca176faf9a3 /mod/reportedcontent
parent9bb993778bc7a0c6f17673e509ed147202e69ee7 (diff)
downloadelgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.gz
elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.bz2
Updated new page canvases (and calls to elgg_view_layout) so that empty vars are not required.
git-svn-id: http://code.elgg.org/elgg/trunk@5316 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent')
-rw-r--r--mod/reportedcontent/add.php2
-rw-r--r--mod/reportedcontent/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/reportedcontent/add.php b/mod/reportedcontent/add.php
index 4087012cf..17076df01 100644
--- a/mod/reportedcontent/add.php
+++ b/mod/reportedcontent/add.php
@@ -27,7 +27,7 @@ $area2 .= elgg_view('reportedcontent/form');
$area3 .= elgg_echo('reportedcontent:warning');
// Format page
-$body = elgg_view_layout('one_column_with_sidebar', '', $area2,$area3);
+$body = elgg_view_layout('one_column_with_sidebar', $area2, $area3);
// Draw it
page_draw(elgg_echo('reportedcontent:this'),$body); \ No newline at end of file
diff --git a/mod/reportedcontent/index.php b/mod/reportedcontent/index.php
index 400e0dc1f..3f3a4c5fe 100644
--- a/mod/reportedcontent/index.php
+++ b/mod/reportedcontent/index.php
@@ -24,4 +24,4 @@ $reported = elgg_get_entities(array('types' => 'object', 'subtypes' => 'reported
$area2 = elgg_view("reportedcontent/listing", array('entity' => $reported));
// Display main admin menu
-page_draw(elgg_echo('reportedcontent'),elgg_view_layout("one_column_with_sidebar", '', $title . $area2)); \ No newline at end of file
+page_draw(elgg_echo('reportedcontent'),elgg_view_layout("one_column_with_sidebar", $title . $area2)); \ No newline at end of file