Elgg  Version 4.3
Go to the documentation of this file.
1 <?php
11 if (empty($steps)) {
12  return;
13 }
17 echo '<ol>';
18 foreach ($steps as $index => $step) {
20  $class = 'past';
22  $class = 'present';
23  } else {
24  $class = 'future';
25  }
26  $text = elgg_echo("install:$step");
27  echo "<li class=\"$class\">$text</li>";
28 }
29 echo '</ol>';
32 foreach (_elgg_services()->translator->getInstalledTranslations() as $key => $value) {
34 }
37  '#type' => 'select',
38  '#label' => elgg_echo('install:change_language'),
39  'class' => 'elgg-install-language',
40  'name' => 'installer_language',
42  'options_values' => $options_values,
43 ]);
Get the current system/user language or "en".
Definition: languages.php:29
Install sidebar.
Definition: sidebar.php:9
elgg_http_add_url_query_elements($url, array $elements)
Sets elements in a URL&#39;s query string.
Definition: elgglib.php:481
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1143
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
Definition: generic.php:51
Definition: summary.php:44
Definition: sidebar.php:10
Definition: sidebar.php:31
Returns the current page&#39;s complete URL.
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:547
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
Definition: summary.php:44
Definition: time.php:41
if($item instanceof\ElggEntity) elseif($item instanceof\ElggRiverItem) elseif($item instanceof ElggRelationship) elseif(is_callable([$item, 'getType']))
Definition: item.php:48
Get the global service provider.
Definition: elgglib.php:638
elgg echo
Translates a string.
Definition: deprecated.js:530
Definition: html.php:24
Definition: gallery.php:40
Definition: button.php:32
if(empty($steps)) $current_step_index
Definition: sidebar.php:15