Elgg  Version 1.11
Namespaces | Variables
useradd.php File Reference

Go to the source code of this file.


 Save menu items.


 $username = get_input('username')
 $password = get_input('password', null, false)
 $password2 = get_input('password2', null, false)
 $email = get_input('email')
 $name = get_input('name')
 $admin = get_input('admin')
if(is_array($admin)) if($username== ''||$password== ''||$password2== ''||$email== ''||$name== '') if(strcmp($password, $password2)!=0) try
if($guid) else

Variable Documentation

$admin = get_input('admin')

Definition at line 18 of file useradd.php.

Definition at line 15 of file useradd.php.

Definition at line 16 of file useradd.php.

$password = get_input('password', null, false)

Definition at line 13 of file useradd.php.

$password2 = get_input('password2', null, false)

Definition at line 14 of file useradd.php.

Definition at line 12 of file useradd.php.

if ($guid) else
Initial value:
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 62 of file useradd.php.

if (is_array($admin)) if ($username== ''||$password== ''||$password2== ''||$email== ''||$name== '') if (strcmp($password, $password2)!=0) try
Initial value:
Definition: useradd.php:16
Definition: useradd.php:12
Removes an admin notice.
register_user($username, $password, $name, $email, $allow_multiple_emails=false)
Registers a user, returning false if the username already exists.
Definition: users.php:316
Definition: useradd.php:15
Definition: useradd.php:13

Definition at line 35 of file useradd.php.