diff options
Diffstat (limited to 'mod/diagnostics/views/default/admin/utilities')
-rw-r--r-- | mod/diagnostics/views/default/admin/utilities/diagnostics.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/diagnostics/views/default/admin/utilities/diagnostics.php b/mod/diagnostics/views/default/admin/utilities/diagnostics.php index c17e67c28..76f12b0ae 100644 --- a/mod/diagnostics/views/default/admin/utilities/diagnostics.php +++ b/mod/diagnostics/views/default/admin/utilities/diagnostics.php @@ -1,5 +1,7 @@ <?php - +/** + * Diagnostics admin page + */ $diagnostics_title = elgg_echo('diagnostics:report'); $diagnostics = elgg_echo('diagnostics:description'); @@ -7,8 +9,8 @@ $diagnostics .= elgg_view_form('diagnostics/download'); // unit tests $unit_tests_title = elgg_echo('diagnostics:unittester'); -$unit_tests .= "<p>" . elgg_echo('diagnostics:unittester:description') . "</p>"; -$unit_tests .= "<p>" . elgg_echo('diagnostics:unittester:warning') . "</p>"; +$unit_tests .= '<p>' . elgg_echo('diagnostics:unittester:description') . '</p>'; +$unit_tests .= '<p>' . elgg_echo('diagnostics:unittester:warning') . '</p>'; if (elgg_get_config('debug')) { // create a button to run tests @@ -17,14 +19,12 @@ if (elgg_get_config('debug')) { 'href' => 'engine/tests/suite.php', 'class' => 'elgg-button elgg-button-submit', ); - $unit_tests .= elgg_view('output/url', $params); + $unit_tests .= '<p>' . elgg_view('output/url', $params) . '</p>'; } else { // no tests when not in debug mode $unit_tests .= elgg_echo('diagnostics:unittester:debug'); } // display admin body - echo elgg_view_module('inline', $diagnostics_title, $diagnostics); - -echo elgg_view_module('inline', $unit_tests_title, $unit_tests);
\ No newline at end of file +echo elgg_view_module('inline', $unit_tests_title, $unit_tests); |