From 67d881e0dc3098800038127441836189f84b4322 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 22:05:01 +0000 Subject: Fixes #2241 - removed direct calls to the content wrapper view and removed the view as it is been replaced by a body view git-svn-id: http://code.elgg.org/elgg/trunk@7759 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/diagnostics/index.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'mod/diagnostics') diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php index 4f746c1c1..1ef9e5344 100644 --- a/mod/diagnostics/index.php +++ b/mod/diagnostics/index.php @@ -13,9 +13,7 @@ elgg_set_context('admin'); // system diagnostics $content = elgg_view_title(elgg_echo('diagnostics')); $content .= "
"; -$content .= elgg_view('page/elements/content', array('body' => - "

".elgg_echo('diagnostics:report')."

".elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download')) -); +$content .= "

".elgg_echo('diagnostics:report')."

".elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download'); // unit tests $content .= "

".elgg_echo('diagnostics:unittester')."

"; @@ -32,9 +30,7 @@ if (isset($CONFIG->debug)) { $test_body .= elgg_echo('diagnostics:unittester:debug'); } -$content .= elgg_view('page/elements/content', array( - 'body' => $test_body) -); +$content .= $test_body; $content .= "
"; $body = elgg_view_layout("one_column_with_sidebar", array('content' => $content)); -- cgit v1.2.3