Elgg  Version 3.0
Variables
forgotten_password.php File Reference

Go to the source code of this file.

Variables

 $title = elgg_echo('user:password:lost')
 Assembles and outputs the forgotten password page. More...
 
 $hash_missing_username = elgg_get_session()->get('forgotpassword:hash_missing')
 
if($hash_missing_username) $form_vars = ['class' => 'elgg-form-account']
 
 $body_vars = ['username' => $hash_missing_username]
 
 $content = elgg_view_form('user/requestnewpassword', $form_vars, $body_vars)
 
 $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,
])
$title
Assembles and outputs the forgotten password page.
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
Definition: views.php:593

Definition at line 20 of file forgotten_password.php.

$body_vars = ['username' => $hash_missing_username]

Definition at line 15 of file forgotten_password.php.

$content = elgg_view_form('user/requestnewpassword', $form_vars, $body_vars)

Definition at line 16 of file forgotten_password.php.

if ($hash_missing_username) $form_vars = ['class' => 'elgg-form-account']

Definition at line 14 of file forgotten_password.php.

$hash_missing_username = elgg_get_session()->get('forgotpassword:hash_missing')

Definition at line 8 of file forgotten_password.php.

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

Definition at line 18 of file forgotten_password.php.

$title = elgg_echo('user:password:lost')

Assembles and outputs the forgotten password page.

Definition at line 6 of file forgotten_password.php.