17 '#type' =>
'password',
18 '#label' =>
elgg_echo(
'user:current_password:label'),
19 'name' =>
'current_password',
20 'autocomplete' =>
'current-password',
25 '#type' =>
'password',
26 '#label' =>
elgg_echo(
'user:password:label'),
28 'autocomplete' =>
'new-password',
29 'add_security_requirements' =>
true,
33 '#type' =>
'password',
34 '#label' =>
elgg_echo(
'user:password2:label'),
35 'name' =>
'password2',
36 'autocomplete' =>
'new-password',
37 'add_security_requirements' =>
true,
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
$user
Provide a way of setting your password.
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
if(!$user instanceof ElggUser) $content
elgg_get_page_owner_entity()
Gets the owner entity for the current page.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg echo
Translates a string.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.