From dcba493d8defdeb9ab6f41bf07826474bc41e9a6 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 22:39:25 +0000 Subject: updated the diagnostics plugin to use the new admin backend git-svn-id: http://code.elgg.org/elgg/trunk@7762 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/diagnostics/index.php | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 mod/diagnostics/index.php (limited to 'mod/diagnostics/index.php') diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php deleted file mode 100644 index 1ef9e5344..000000000 --- a/mod/diagnostics/index.php +++ /dev/null @@ -1,37 +0,0 @@ -"; -$content .= "

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

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

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

"; -$test_body = "

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

"; -$test_body .= "

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

"; - -if (isset($CONFIG->debug)) { - // create a button to run tests - $js = "onclick=\"window.location='".elgg_get_site_url()."engine/tests/suite.php'\""; - $params = array('value' => elgg_echo('diagnostics:test:executeall'), 'js' => $js); - $test_body .= elgg_view('input/button', $params); -} else { - // no tests when not in debug mode - $test_body .= elgg_echo('diagnostics:unittester:debug'); -} - -$content .= $test_body; -$content .= ""; - -$body = elgg_view_layout("one_column_with_sidebar", array('content' => $content)); -echo elgg_view_page(elgg_echo('diagnostics'), $body); -- cgit v1.2.3