aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/views/default/admin/administer_utilities/diagnostics.php
blob: c7ff3d5fcd7cdc74f568cec73e9ff64ae6b6c28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Diagnostics admin page
 */

$diagnostics_title = elgg_echo('diagnostics:report');
$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>';

echo elgg_view_module('inline', $diagnostics_title, $diagnostics, array('class' => 'elgg-form-settings'));