Elgg
Version 2.3
views
installation
install
nav.php
Go to the documentation of this file.
1
<?php
12
// has a refresh button been requested
13
$refresh
=
''
;
14
if
(isset(
$vars
[
'refresh'
]) &&
$vars
[
'refresh'
]) {
15
$refresh_text =
elgg_echo
(
'install:refresh'
);
16
$refresh
=
"<a href=\"\">$refresh_text</a>"
;
17
}
18
19
// create next button and selectively disable
20
$next_text
=
elgg_echo
(
'install:next'
);
21
$next_link
=
elgg_get_site_url
().
"install.php?step={$vars['next_step']}"
;
22
$next
=
"<a href=\"$next_link\">$next_text</a>"
;
23
if
(isset(
$vars
[
'advance'
]) && !
$vars
[
'advance'
]) {
24
// disable the next button
25
$next
=
"<a class=\"elgg-state-disabled\">$next_text</a>"
;
26
}
27
28
29
echo <<<___END
30
<
div
class
=
"elgg-install-nav"
>
31
$next
32
$refresh
33
</
div
>
34
35
___END;
div
fieldset div
Definition:
admin.css.php:485
elgg_get_site_url
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
Definition:
configuration.php:27
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$refresh
$refresh
Navigation for installation pages.
Definition:
nav.php:13
$next_text
if(isset($vars['refresh']) && $vars['refresh']) $next_text
Definition:
nav.php:20
$next
$next
Definition:
nav.php:22
$next_link
$next_link
Definition:
nav.php:21
$vars
$vars['entity']
Definition:
plugin_settings.php:15
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1