Elgg  Version 3.0
Namespaces | Variables
change_password.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Updates the advanced settings for the primary site object.
 

Variables

 $user_guid = get_input('u')
 
 $code = get_input('c')
 
 $user = get_user($user_guid)
 
if(!$user instanceof ElggUser$title = elgg_echo('changepassword')
 
 $params
 
 $content = elgg_view_form('user/changepassword', ['class' => 'elgg-form-account'], $params)
 
 $shell = elgg_get_config('walled_garden') ? 'walled_garden' : 'default'
 
 $body
 

Variable Documentation

$body
Initial value:
= elgg_view_layout('default', [
'content' => $content,
'title' => $title,
'sidebar' => false,
])
if(!$user instanceof ElggUser) $title
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
Definition: views.php:593
$content

Definition at line 31 of file change_password.php.

$code = get_input('c')

Definition at line 12 of file change_password.php.

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

Definition at line 27 of file change_password.php.

$params
Initial value:
= [
'guid' => $user_guid
$user_guid

Definition at line 23 of file change_password.php.

$shell = elgg_get_config('walled_garden') ? 'walled_garden' : 'default'

Definition at line 29 of file change_password.php.

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

Definition at line 21 of file change_password.php.

$user = get_user($user_guid)

Definition at line 14 of file change_password.php.

$user_guid = get_input('u')

Definition at line 11 of file change_password.php.