51 '#type' =>
'checkbox',
52 'name' =>
'autogen_password',
55 'label' =>
elgg_echo(
'autogen_password_option'),
60 '#type' =>
'password',
68 '#type' =>
'password',
69 'name' =>
'password2',
76 '#type' =>
'checkbox',
87 '#class' =>
'elgg-foot',
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_require_js($name)
Request that Elgg load an AMD module onto the page.
if(is_array($admin)) $autogen_password
elgg echo
Translates a string.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.