Elgg  Version 3.0
Variables
maintenance.php File Reference

Go to the source code of this file.

Variables

 $messages = elgg_view('page/elements/messages', ['object' => elgg_extract('sysmessages', $vars)])
 Maintenance mode page shell. More...
 
 $content = elgg_extract('body', $vars)
 
 $title = elgg_extract('title', $vars, elgg_get_site_entity()->getDisplayName())
 
 $favicon = elgg_view('page/elements/shortcut_icon', $vars)
 
 $css = elgg_get_simplecache_url('maintenance.css')
 
 $head
 
 $body
 

Variable Documentation

$body
Initial value:
= <<<__BODY
<div class="elgg-page elgg-page-maintenance" id="elgg-maintenance-page-wrapper">
<div class="elgg-page-messages">
</div>
<div class="elgg-body-maintenance">
</div>
</div>
__BODY
$messages
Maintenance mode page shell.
Definition: maintenance.php:11
$content
Definition: maintenance.php:12

Definition at line 24 of file maintenance.php.

$content = elgg_extract('body', $vars)

Definition at line 12 of file maintenance.php.

$css = elgg_get_simplecache_url('maintenance.css')
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 16 of file maintenance.php.

$favicon = elgg_view('page/elements/shortcut_icon', $vars)

Definition at line 15 of file maintenance.php.

$head
Initial value:
= <<<__HEAD
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>$title</title>
<link href="$css" rel="stylesheet">
__HEAD
$title
Definition: maintenance.php:14
$favicon
Definition: maintenance.php:15

Definition at line 17 of file maintenance.php.

$messages = elgg_view('page/elements/messages', ['object' => elgg_extract('sysmessages', $vars)])

Maintenance mode page shell.

$vars['head'] Parameters for the <head> element $vars['body'] The main content of the page $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()

Definition at line 11 of file maintenance.php.

$title = elgg_extract('title', $vars, elgg_get_site_entity()->getDisplayName())

Definition at line 14 of file maintenance.php.