Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1207
$body
Maintenance mode layout.
Definition: maintenance.php:9