Elgg  Version 3.0
Go to the documentation of this file.
1 <?php
9 $variables = elgg_extract('variables', $vars, []);
13 foreach ($variables as $name => $params) {
14  $params['#type'] = elgg_extract('type', $params, 'text');
15  $params['#label'] = elgg_echo("install:$type:label:$name");
16  $params['#help'] = elgg_echo("install:$type:help:$name");
17  $params['name'] = $name;
20 }
23  'class' => 'elgg-install-nav',
24 ], elgg_view('input/submit', [
25  'value' => elgg_echo('install:next'),
26 ]));
if(!$user||!$user->canDelete()) $name
Definition: delete.php:22
Saves global plugin settings.
Definition: save.php:13
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
Definition: template.php:11
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43
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:1131
Generic form template for install forms.
Definition: template.php:9
Definition: save.php:11
Definition: template.php:10
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246