Elgg  Version 3.0
Namespaces | Variables
password.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Configuration exception.
 

Variables

 $user = elgg_get_page_owner_entity()
 
if(!$user instanceof ElggUser$title = elgg_echo('user:set:password')
 
 $admin = ''
 
if(!elgg_is_admin_logged_in()||elgg_is_admin_logged_in()&&$user->guid==elgg_get_logged_in_user_guid()) $password
 
 $password2
 
 $content = $admin . $password . $password2
 

Variable Documentation

$admin = ''

Definition at line 18 of file password.php.

$content = $admin . $password . $password2

Definition at line 39 of file password.php.

Initial value:
'#type' => 'password',
'name' => 'password',
'#label' => elgg_echo('user:password:label'),
])
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 at line 27 of file password.php.

$password2
Initial value:
'#type' => 'password',
'name' => 'password2',
'#label' => elgg_echo('user:password2:label')
])
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 at line 33 of file password.php.

if (!$user instanceof ElggUser) $title = elgg_echo('user:set:password')

Definition at line 15 of file password.php.

Definition at line 9 of file password.php.