Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
upgrade.php
Go to the documentation of this file.
1
<?php
13
$refresh_url
=
elgg_http_add_url_query_elements
(
elgg_get_site_url
() .
'upgrade.php'
, array(
14
'upgrade'
=>
'upgrade'
,
15
'forward'
=>
elgg_extract
(
'forward'
,
$vars
,
'/admin'
)
16
));
17
18
$refresh_url
= htmlspecialchars(
$refresh_url
);
19
// render content before head so that JavaScript and CSS can be loaded. See #4032
20
$body
=
"<div style='margin-top:200px'>"
.
elgg_view
(
'graphics/ajax_loader'
, array(
'hidden'
=>
false
)) .
"</div>"
;
21
22
$head
=
elgg_view
(
'page/elements/head'
,
$vars
[
'head'
]);
23
$head
.=
"<meta http-equiv='refresh' content='1;url=$refresh_url' />"
;
24
25
echo
elgg_view
(
"page/elements/html"
, array(
"head"
=>
$head
,
"body"
=>
$body
));
elgg_http_add_url_query_elements
elgg_http_add_url_query_elements($url, array $elements)
Sets elements in a URL's query string.
Definition:
elgglib.php:1107
$head
$head
Definition:
upgrade.php:22
$refresh_url
$refresh_url
Page shell for upgrade script.
Definition:
upgrade.php:13
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
$body
$body
Definition:
upgrade.php:20
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_get_site_url
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
Definition:
configuration.php:28
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:48 for Elgg by
1.8.11