Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
password.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

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 36 of file password.php.

Initial value:
= elgg_view_input('password', array(
'name' => 'password',
'label' => elgg_echo('user:password:label'),
))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_input($input_type, array $vars=array())
Renders a form field.
Definition: views.php:1332

Definition at line 26 of file password.php.

$password2
Initial value:
= elgg_view_input('password', array(
'name' => 'password2',
'label' => elgg_echo('user:password2:label')
))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_input($input_type, array $vars=array())
Renders a form field.
Definition: views.php:1332

Definition at line 31 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.