Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
maintenance.php
Go to the documentation of this file.
1
<?php
10
// render content before head so that JavaScript and CSS can be loaded. See #4032
11
$messages
=
elgg_view
(
'page/elements/messages'
, array(
'object'
=>
$vars
[
'sysmessages'
]));
12
$content
=
$vars
[
'body'
];
13
14
$title
=
elgg_extract
(
'title'
,
$vars
,
elgg_get_site_entity
()->
name
);
15
$html5shiv
=
elgg_normalize_url
(
'vendors/html5shiv.js'
);
16
$favicon
=
elgg_view
(
'page/elements/shortcut_icon'
,
$vars
);
17
$css
=
elgg_get_simplecache_url
(
'css'
,
'css/maintenance'
);
18
$head
= <<<__HEAD
19
<meta
http
-equiv=
"Content-Type"
content
=
"text/html; charset=utf-8"
/>
20
<
title
>
$title
</
title
>
21
$favicon
22
<!--[
if
lt IE 9]>
23
<script src=
"$html5shiv"
></script>
24
<![
endif
]-->
25
<link href=
"$css"
rel=
"stylesheet"
>
26
__HEAD;
27
28
$body
= <<<__BODY
29
<
div
class
=
"elgg-page elgg-page-maintenance"
id
=
"elgg-maintenance-page-wrapper"
>
30
<div
class
=
"elgg-page-messages"
>
31
$messages
32
</div>
33
<div
class
=
"elgg-body-maintenance"
>
34
$content
35
</div>
36
</div>
37
__BODY;
38
39
echo
elgg_view
(
"page/elements/html"
, array(
'head'
=>
$head
,
'body'
=>
$body
));
40
elgg_get_site_entity
elgg_get_site_entity($site_guid=0)
Get an entity (default is current site)
Definition:
sites.php:18
title
ui datepicker title
Definition:
admin.php:616
elgg_normalize_url
elgg_normalize_url($url)
Definition:
output.php:311
$head
$head
Definition:
maintenance.php:18
elgg_extract
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1246
div
fieldset div
Definition:
admin.php:470
$css
$css
Definition:
maintenance.php:17
$messages
$messages
Maintenance mode page shell.
Definition:
maintenance.php:11
$html5shiv
$html5shiv
Definition:
maintenance.php:15
elgg_get_simplecache_url
elgg_get_simplecache_url($type, $view)
Definition:
cache.php:117
echo
elgg echo
Translates a string.
Definition:
languages.js:43
endif
if($links) endif
Definition:
full.php:230
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$body
$body
Maintenance mode layout.
Definition:
maintenance.php:9
name
$site name
Definition:
update_basic.php:22
content
elgg widget content
Definition:
admin.php:1245
$title
$title
Definition:
maintenance.php:14
$content
$content
Definition:
maintenance.php:12
http
The Sprites are copyright © GentleFace http
Definition:
SPRITES_LICENSE.TXT:6
$favicon
$favicon
Definition:
maintenance.php:16
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11