Elgg  Version 1.11
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 ));
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1217
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$body
Maintenance mode layout.
Definition: maintenance.php:9
if(file_exists($welcome)) $vars
Definition: upgrade.php:93