Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
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;
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$vars
$vars['entity']
Definition:
plugin_settings.php:15
$next_link
$next_link
Definition:
nav.php:21
$refresh
$refresh
Navigation for installation pages.
Definition:
nav.php:13
div
fieldset div
Definition:
admin.css.php:485
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_get_site_url
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
Definition:
configuration.php:27
$next
$next
Definition:
nav.php:22
$next_text
if(isset($vars['refresh'])&&$vars['refresh']) $next_text
Definition:
nav.php:20
Generated on Tue Dec 10 2024 00:01:05 for Elgg by
1.8.11