Elgg  Version 2.2
Go to the documentation of this file.
1 <?php
14  'upgrade' => 'upgrade',
15  'forward' => elgg_extract('forward', $vars, '/admin')
16 ));
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>";
22 $head = elgg_view('page/elements/head', $vars['head']);
23 $head .= "<meta http-equiv='refresh' content='1;url=$refresh_url' />";
25 echo elgg_view("page/elements/html", array("head" => $head, "body" => $body));
elgg_http_add_url_query_elements($url, array $elements)
Sets elements in a URL&#39;s query string.
Definition: elgglib.php:1171
Definition: upgrade.php:22
Page shell for upgrade script.
Definition: upgrade.php:13
Definition: upgrade.php:20
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
Get the URL for the current (or specified) site.
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:1310