Elgg  Version 1.9
Namespaces | Variables
change_password.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

if(elgg_is_logged_in()) $user_guid = get_input('u')
 
 $code = get_input('c')
 
 $user = get_entity($user_guid)
 
if(!$user instanceof ElggUser$title = elgg_echo('changepassword')
 
 $params
 
 $content = elgg_view_form('user/changepassword', array('class' => 'elgg-form-account'), $params)
 
if(elgg_get_config('walled_garden')) else
 

Variable Documentation

$code = get_input('c')

Definition at line 14 of file change_password.php.

$content = elgg_view_form('user/changepassword', array('class' => 'elgg-form-account'), $params)

Definition at line 30 of file change_password.php.

$params
Initial value:
= array(
'guid' => $user_guid,
'code' => $code,
)
if(elgg_is_logged_in()) $user_guid

Definition at line 26 of file change_password.php.

if (!$user instanceof ElggUser) $title = elgg_echo('changepassword')

Definition at line 24 of file change_password.php.

$user = get_entity($user_guid)

Definition at line 16 of file change_password.php.

if (elgg_is_logged_in()) $user_guid = get_input('u')

Definition at line 13 of file change_password.php.

Initial value:
{
$body = elgg_view_layout('one_column', array(
'title' => $title,
'content' => $content,
))
if(!$user instanceof ElggUser) $title
elgg_view_layout($layout_name, $vars=array())
Displays a layout with optional parameters.
Definition: views.php:617
$content

Definition at line 36 of file change_password.php.