diagnostics.php 526 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Diagnostics admin page
  4. */
  5. $diagnostics_title = elgg_echo('diagnostics:report');
  6. $diagnostics = '<p>' . elgg_echo('diagnostics:description') .'</p>';
  7. $params = array(
  8. 'text' => elgg_echo('download'),
  9. 'href' => 'action/diagnostics/download',
  10. 'class' => 'elgg-button elgg-button-submit',
  11. 'is_action' => true,
  12. 'is_trusted' => true,
  13. );
  14. $diagnostics .= '<p>' . elgg_view('output/url', $params) . '</p>';
  15. echo elgg_view_module('inline', $diagnostics_title, $diagnostics, array('class' => 'elgg-form-settings'));