Elgg  Version 2.3
maintenance.php
Go to the documentation of this file.
1 <?php
9 $body = '<h1>' . $vars['site']->name . '</h1>';
10 $body .= elgg_view('output/longtext', array('value' => $vars['message']));
11 $body .= elgg_view('core/maintenance/login');
12 
13 echo elgg_view_module('maintenance', '', $body, array(
14  'header' => ' ',
15  'footer' => ' ',
16 ));
$vars['entity']
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1250
$body
Maintenance mode layout.
Definition: maintenance.php:9