maintenance.php 394 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Maintenance mode layout
  4. *
  5. * @uses $vars['message'] Maintenance message
  6. * @uses $vars['site'] Site entity
  7. */
  8. $body = '<h1>' . $vars['site']->name . '</h1>';
  9. $body .= elgg_view('output/longtext', array('value' => $vars['message']));
  10. $body .= elgg_view('core/maintenance/login');
  11. echo elgg_view_module('maintenance', '', $body, array(
  12. 'header' => ' ',
  13. 'footer' => ' ',
  14. ));