Elgg  Version 1.11
Namespaces | Variables
requestnewpassword.php File Reference

Go to the source code of this file.


 Activate a plugin or plugins.


 $username = get_input('username')
if(strpos($username, '@')!==false &&($users=get_user_by_email($username))) $user = get_user_by_username($username)

Variable Documentation

if (strpos($username, '@')!==false &&($users=get_user_by_email($username))) $user = get_user_by_username($username)

Definition at line 16 of file requestnewpassword.php.

Definition at line 9 of file requestnewpassword.php.

if ($user) else
Initial value:
register_error(elgg_echo('user:username:notfound', array($username)))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:383

Definition at line 23 of file requestnewpassword.php.