Elgg  Version 1.11
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;
fieldset div
Definition: admin.php:470
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
if(file_exists($welcome)) $vars
Definition: upgrade.php:93