aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/index.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-03 17:53:05 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-03 17:53:05 +0000
commit4766f36a4d74924f21ff329c4318ce4e069ffa04 (patch)
tree969b84632f2a8b0db79788a8a6db8e41d63e5cb4 /mod/diagnostics/index.php
parent57a217fd6b708844407486046a1faa23b46cac08 (diff)
downloadelgg-4766f36a4d74924f21ff329c4318ce4e069ffa04.tar.gz
elgg-4766f36a4d74924f21ff329c4318ce4e069ffa04.tar.bz2
Pulled in the interface changes.
git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics/index.php')
-rw-r--r--mod/diagnostics/index.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php
index 0cae3743c..324790f29 100644
--- a/mod/diagnostics/index.php
+++ b/mod/diagnostics/index.php
@@ -14,15 +14,15 @@ set_context('admin');
// system diagnostics
$body = elgg_view_title(elgg_echo('diagnostics'));
-$body .= elgg_view('page_elements/contentwrapper', array('body' =>
- elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download'))
+$body .= "<div class='admin_settings diagnostics'>";
+$body .= elgg_view('page_elements/elgg_content', array('body' =>
+ "<h3>".elgg_echo('diagnostics:report')."</h3>".elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download'))
);
// unit tests
-$body .= elgg_view_title(elgg_echo('diagnostics:unittester'));
-
-$test_body = '<p>' . elgg_echo('diagnostics:unittester:description') . '</p>';
-$test_body .= '<h3>' . elgg_echo('diagnostics:unittester:warning') . '</h3>';
+$body .= "<h3>".elgg_echo('diagnostics:unittester')."</h3>";
+$test_body = "<p>" . elgg_echo('diagnostics:unittester:description') . "</p>";
+$test_body .= "<p>" . elgg_echo('diagnostics:unittester:warning') . "</p>";
if (isset($CONFIG->debug)) {
// create a button to run tests
@@ -34,9 +34,9 @@ if (isset($CONFIG->debug)) {
$test_body .= elgg_echo('diagnostics:unittester:debug');
}
-$body .= elgg_view('page_elements/contentwrapper', array(
+$body .= elgg_view('page_elements/elgg_content', array(
'body' => $test_body)
);
-
+$body .= "</div>";
// create page
-page_draw(elgg_echo('diagnostics'), elgg_view_layout("two_column_left_sidebar", '', $body));
+page_draw(elgg_echo('diagnostics'), elgg_view_layout("one_column_with_sidebar", '', $body));