Elgg  Version 3.0
Go to the documentation of this file.
1 <?php
8 $body = elgg_format_element('h1', [], elgg_get_site_entity()->getDisplayName());
9 $body .= elgg_view('output/longtext', ['value' => elgg_extract('message', $vars)]);
10 $body .= elgg_view('core/maintenance/login');
12 echo elgg_view_module('maintenance', '', $body, [
13  'header' => ' ',
14  'footer' => ' ',
15 ]);
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
Definition: views.php:1198
elgg echo
Translates a string.
Definition: languages.js:43
Get the current site entity.
Definition: entities.php:130
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131
Maintenance mode layout.
Definition: maintenance.php:8
Definition: save.php:11
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246