Alternc  latest
Alternc logiel libre pour l'hébergement
adm_doedit.php File Reference

Go to the source code of this file.

Variables

if(! $admin->enabled$subadmin =variable_get("subadmin_restriction")
 Edit an account settings (name, password, etc.) More...
 
 $fields
 
if($subadmin==0 &&! $admin->checkcreator($uid)) if($pass !=$passconf) if($uid==$mem->user["uid"]) if(! $admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes, $reset_quotas)) else
 

Variable Documentation

◆ $fields

$fields
Initial value:
= array (
"uid" => array ("post", "integer", 0),
"enabled" => array ("post", "boolean", true),
"pass" => array ("post", "string", ""),
"passconf" => array ("post", "string", ""),
"canpass" => array ("post", "boolean", true),
"notes" => array ("post", "string", ""),
"nom" => array ("post", "string", ""),
"prenom" => array ("post", "string", ""),
"nmail" => array ("post", "string", ""),
"type" => array ("post", "string", ""),
"duration" => array ("post", "integer", 0),
"reset_quotas" => array ("post", "string", false),
)

Definition at line 36 of file adm_doedit.php.

◆ $subadmin

if (! $admin->enabled) $subadmin =variable_get("subadmin_restriction")

Edit an account settings (name, password, etc.)

Definition at line 34 of file adm_doedit.php.

◆ else

if ( $subadmin==0 &&! $admin->checkcreator( $uid)) if ( $pass !=$passconf) if ( $uid==$mem->user["uid"]) if (! $admin->update_mem( $uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes, $reset_quotas)) else
Initial value:
{
$msg->raise("INFO", "admin", _("The member has been successfully edited"))
$msg
Definition: bootstrap.php:75

Definition at line 71 of file adm_doedit.php.