Elgg  Version 5.1
Go to the documentation of this file.
1 <?php
8 $entity = elgg_extract('entity', $vars);
9 if (!$entity instanceof ElggUser) {
10  return;
11 }
13 echo elgg_view('output/longtext', [
14  'value' => elgg_echo('avatar:upload:instructions'),
15 ]);
17 echo elgg_view_form('avatar/upload', [], $vars);
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Definition: views.php:1054
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:177
Avatar upload view.
Definition: upload.php:8
Definition: theme.php:5