Go to the source code of this file.
◆ $fields
Initial value:= [
[
'#type' => 'hidden',
'name' => 'u',
],
[
'#type' => 'hidden',
'name' => 'c',
],
[
'#type' => 'password',
'#label' =>
elgg_echo(
'user:password:label'),
'name' => 'password1',
'autocomplete' => 'new-password',
'add_security_requirements' => true,
],
[
'#type' => 'password',
'#label' =>
elgg_echo(
'user:password2:label'),
'name' => 'password2',
'autocomplete' => 'new-password',
'add_security_requirements' => true,
],
]
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Reset user password form.
Definition at line 10 of file changepassword.php.
◆ $footer
foreach ( $fields as $field) $footer |
Initial value:
'#type' => 'submit',
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition at line 41 of file changepassword.php.