Elgg
Version 1.9
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
38
<!--[
if
IE 7]>
39
<script>
40
var div =
document
.getElementById(
"elgg-maintenance-page-wrapper"
);
41
div.className = div.className +
" ie7"
;
42
</script>
43
<![
endif
]-->
44
45
__BODY;
46
47
echo
elgg_view
(
"page/elements/html"
, array(
'head'
=>
$head
,
'body'
=>
$body
));
48
elgg_get_site_entity
elgg_get_site_entity($site_guid=0)
Get an ElggSite entity (default is current site)
Definition:
sites.php:18
title
ui datepicker title
Definition:
admin.php:592
elgg_normalize_url
elgg_normalize_url($url)
Definition:
output.php:290
$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:1464
div
fieldset div
Definition:
admin.php:462
$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:155
document
GNU GENERAL PUBLIC LICENSE June Free Software Franklin Fifth MA USA Everyone is permitted to copy and distribute verbatim copies of this license document
Definition:
LICENSE.txt:4
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
content
elgg widget content
Definition:
admin.php:1219
$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 Mon Dec 30 2024 00:00:35 for Elgg by
1.8.11