aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/views/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'mod/diagnostics/views/default/admin')
-rw-r--r--mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php11
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');