Elgg  Version 1.9
Namespaces | Variables
useradd.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $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.

$email = get_input('email')

Definition at line 15 of file useradd.php.

$name = get_input('name')

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.

$username = get_input('username')

Definition at line 12 of file useradd.php.

if ($guid) else
Initial value:
{
register_error(elgg_echo("adduser:bad"))
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:
{
$name
Definition: useradd.php:16
$username
Definition: useradd.php:12
$guid
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:653
$email
Definition: useradd.php:15
$password
Definition: useradd.php:13

Definition at line 35 of file useradd.php.