From ff4779ddb3ef005553187e4486d4d775220d8b8f Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 9 Mar 2010 09:39:34 +0000 Subject: 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 --- mod/reportedcontent/add.php | 2 +- mod/reportedcontent/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/reportedcontent') 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 -- cgit v1.2.3