diff options
author | cash <cash.costello@gmail.com> | 2011-10-24 22:13:24 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-24 22:13:24 -0400 |
commit | 9aa8c9c6a4d5b54326222db937a48726d7a95412 (patch) | |
tree | d8598fa9162fbb584db446bdb4d5b424ed4e77de /mod/diagnostics/views/default/admin | |
parent | 3703a53134d6b167602cd40f31eb58bfefda9d0b (diff) | |
download | elgg-9aa8c9c6a4d5b54326222db937a48726d7a95412.tar.gz elgg-9aa8c9c6a4d5b54326222db937a48726d7a95412.tar.bz2 |
Fixes #3868 removed unnecessary form for downloading the diagnostics report
Diffstat (limited to 'mod/diagnostics/views/default/admin')
-rw-r--r-- | mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php b/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php index b41907da2..02151174c 100644 --- a/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php +++ b/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php @@ -4,8 +4,15 @@ */ $diagnostics_title = elgg_echo('diagnostics:report'); -$diagnostics = elgg_echo('diagnostics:description'); -$diagnostics .= elgg_view_form('diagnostics/download'); +$diagnostics = '<p>' . elgg_echo('diagnostics:description') .'</p>'; +$params = array( + 'text' => elgg_echo('diagnostics:download'), + 'href' => 'action/diagnostics/download', + 'class' => 'elgg-button elgg-button-submit', + 'is_action' => true, + 'is_trusted' => true, +); +$diagnostics .= '<p>' . elgg_view('output/url', $params) . '</p>'; // unit tests $unit_tests_title = elgg_echo('diagnostics:unittester'); |