Changeset 546
- Timestamp:
- 02/22/06 00:28:59 (7 years ago)
- File:
-
- 1 edited
-
bureau/class/m_admin.php (modified) (19 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bureau/class/m_admin.php
r540 r546 1 1 <?php 2 2 /* 3 $Id: m_admin.php,v 1. 8 2005/03/05 16:27:30said Exp $3 $Id: m_admin.php,v 1.9 2005/03/05 17:00:49 said Exp $ 4 4 ---------------------------------------------------------------------- 5 5 LICENSE … … 29 29 * Copyleft {@link http://alternc.net/ AlternC Team} 30 30 * 31 * @copyright AlternC-Team 2002-11-01 http://alternc.net/32 31 * 33 32 */ … … 199 198 * the account $mid is not super-admin. 200 199 * 201 * @param string $loginLogin name like [a-z][a-z0-9]*202 * @param string $passPassword (max. 64 characters)203 * @param string $nomName of the account owner204 * @param string $prenomFirst name of the account owner205 * @param string $mailEmail address of the account owner, useful to get200 * @param $login string Login name like [a-z][a-z0-9]* 201 * @param $pass string Password (max. 64 characters) 202 * @param $nom string Name of the account owner 203 * @param $prenom string First name of the account owner 204 * @param $mail string Email address of the account owner, useful to get 206 205 * one's lost password 207 206 * @return boolean Returns FALSE if an error occurs, TRUE if not. … … 212 211 * si le compte $mid n'est pas super-admin 213 212 * 214 * @param string$login Nom d'utilisateur, de la forme [a-z][a-z0-9]*215 * @param string$pass Mot de passe, maxi 64 caractères216 * @param string$nom Nom de la personne ou structure217 * @param string$prenom Prénom de la personne ou structure218 * @param string$mail Adresse email du propriétaire du compte, permet de récupérer son mot de passe213 * @param $login Nom d'utilisateur, de la forme [a-z][a-z0-9]* 214 * @param $pass Mot de passe, maxi 64 caractères 215 * @param $nom Nom de la personne ou structure 216 * @param $prenom Prénom de la personne ou structure 217 * @param $mail Adresse email du propriétaire du compte, permet de récupérer son mot de passe 219 218 * @return boolean Retourne FALSE si une erreur s'est produite, TRUE sinon. 220 219 * … … 281 280 * the account $mid is not super-admin. 282 281 * 283 * @param integer $uidthe uid number of the account we want to modify284 * @param string loginnew login name like [a-z][a-z0-9]*285 * @param string $passnew password (max. 64 characters)286 * @param string $nomnew name of the account owner287 * @param string $prenomnew first name of the account owner288 * @param string $mailnew email address of the account owner289 * @param integer $enabled(value: 0 or 1) activates or desactivates the282 * @param $uid integer the uid number of the account we want to modify 283 * @param login string new login name like [a-z][a-z0-9]* 284 * @param $pass string new password (max. 64 characters) 285 * @param $nom string new name of the account owner 286 * @param $prenom string new first name of the account owner 287 * @param $mail string new email address of the account owner 288 * @param $enabled integer (value: 0 or 1) activates or desactivates the 290 289 * access to the virtual desktop of this account. 291 290 * @return boolean Returns FALSE if an error occurs, TRUE if not. … … 296 295 * si le compte $mid n'est pas super-admin 297 296 * 298 * @param integer $uidNuméro uid de l'utilisateur que l'on souhaite modifier.299 * @param string $mailNouvelle adresse email300 * @param string $nom $prenomNouveaux nom et prénom de l'utilisateur301 * @param string $passNouveau mot de passe.302 * @param flag $enabledvaut 0 ou 1, active ou désactive l'accès au bureau virtuel de ce compte.297 * @param $uid integer Numéro uid de l'utilisateur que l'on souhaite modifier. 298 * @param $mail string Nouvelle adresse email 299 * @param $nom $prenom string Nouveaux nom et prénom de l'utilisateur 300 * @param $pass string Nouveau mot de passe. 301 * @param $enabled integer vaut 0 ou 1, active ou désactive l'accès au bureau virtuel de ce compte. 303 302 * @return boolean Retourne FALSE si une erreur s'est produite, TRUE sinon. 304 303 * … … 336 335 * the account $mid is not super-admin. 337 336 * 338 * @param integer $uidthe uid number of the account we want to delete337 * @param $uid integer the uid number of the account we want to delete 339 338 * @return boolean Returns FALSE if an error occurs, TRUE if not. 340 339 * … … 343 342 * 344 343 * Supprime le membre spécifié. Refuse l'utilisation de l'objet si le compte $mid n'est pas super-admin 345 * @param integer$uid Numéro du membre à supprimer.346 * @return booleanRetourne FALSE si une erreur s'est produite, TRUE sinon.344 * @param $uid Numéro du membre à supprimer. 345 * @return Retourne FALSE si une erreur s'est produite, TRUE sinon. 347 346 * 348 347 */ … … 386 385 * Turns a common account into a super-admin account 387 386 * 388 * @param $uid the uid number of the common account we want to turn into a387 * @param $uid integer the uid number of the common account we want to turn into a 389 388 * super-admin account. 390 389 * @return Returns FALSE if an error occurs, TRUE if not. … … 393 392 * Transforme un membre Normal en membre Administrateur 394 393 * 395 * @param integer$uid Numéro du compte à transformer396 * @return booleanRetourne FALSE si une erreur s'est produite.394 * @param $uid Numéro du compte à transformer 395 * @return Retourne FALSE si une erreur s'est produite. 397 396 * 398 397 */ … … 416 415 * Turns a super-admin account into a common account 417 416 * 418 * @param integer $uidthe uid number of the super-admin account we want to turn into a417 * @param $uid integer the uid number of the super-admin account we want to turn into a 419 418 * common account. 420 419 * @return boolean Returns FALSE if an error occurs, TRUE if not. … … 502 501 * Lock (or unlock) a domain, so that the member will be (not be) able to delete it 503 502 * from its account 504 * @param string$dom string Domain name to lock / unlock503 * @param $dom string Domain name to lock / unlock 505 504 * @return boolean TRUE if the domain has been locked/unlocked or FALSE if it does not exist. 506 505 */ … … 521 520 * Add a new TLD to the list of the authorized TLDs 522 521 * 523 * @param string $tldtop-level domain to add (org, com...)524 * @param integer $modenumber of the authorized mode (0 to 5)522 * @param $tld string top-level domain to add (org, com...) 523 * @param $mode integer number of the authorized mode (0 to 5) 525 524 * @return boolean TRUE if the tld has been successfully added, FALSE if not. 526 525 * … … 528 527 * Ajoute un nouveau TLD autorisé à la liste des tld autorisés. 529 528 * 530 * @param string$tld Top-Level Domain à ajouter (org, com ...)531 * @param integer$mode Numéro du mode autorisé (0->5)532 * @return boole en True si le tld a bien été ajouté, False sinon.529 * @param $tld Top-Level Domain à ajouter (org, com ...) 530 * @param $mode Numéro du mode autorisé (0->5) 531 * @return boolean True si le tld a bien été ajouté, False sinon. 533 532 * 534 533 */ … … 547 546 * Prints the list of the actually authorized TLDs 548 547 * 549 * @param integer $currentValue to select in the list548 * @param $current integer Value to select in the list 550 549 * 551 550 * Affiche (echo) la liste déroulante des TLD actuellement autorisés. 552 551 * 553 * @param integer$current Valeur par défaut à sélectionner dans la liste552 * @param $current Valeur par défaut à sélectionner dans la liste 554 553 * 555 554 */ … … 568 567 * on this TLD 569 568 * 570 * @param string $tld571 * 572 * 569 * @param $tld string The TLD you want to delete 570 * @return boolean returns true if the TLD has been deleted, or 571 * false if an error occured. 573 572 * 574 573 * … … 577 576 * <b>Note</b> : Cela ne supprime pas les domaines utilisant ce TLD ! 578 577 * 579 * @param string$tld TLD que l'on souhaite détruire578 * @param $tld TLD que l'on souhaite détruire 580 579 * @return boolean retourne true si le TLD a bien été effacé, false sinon 581 580 * … … 594 593 /* ----------------------------------------------------------------- */ 595 594 /** 595 * Add a TLD to the list of the authorized TLDs during the 596 * installation 597 * 598 * @param $tld string TLD we want to authorize 599 * @param $mode integer Controls to make on this TLD. 600 * <b>Note: </b> If you check in the whois, be sure that 601 * <code>m_domains</code> knows how to name the whois of the specified 602 * domain ! 603 * @return boolean TRUE if the TLD has been successfully 604 * added. FALSE if not. 605 * 606 * 607 * 596 608 * Ajoute un TLD à la liste des TLD autorisés à l'installation 597 609 * 598 * @param string$tld TLD que l'on souhaite autoriser.599 * @param integer$mode Contrôles à effectuer sur ce TLD. <b>Note : </b>610 * @param $tld TLD que l'on souhaite autoriser. 611 * @param $mode Contrôles à effectuer sur ce TLD. <b>Note : </b> 600 612 * Si vous demandez le controle dans le Whois, assurez-vous que m_domains 601 613 * connaisse bien comment appeler le whois du domaine correspondant ! … … 623 635 /* ----------------------------------------------------------------- */ 624 636 /** 637 * Modify a TLD of the list of the authorized TLDs 638 * 639 * @param $tld string TLD we want to modify 640 * @param $mode integer Controls to make on this TLD. 641 * @return boolean TRUE if the TLD has been successfully 642 * modified. FALSE if not. 643 * 644 * 625 645 * Modifie un TLD autorisé de la liste des tld autorisés. 626 646 * 627 * @param string$tld Top-Level Domain à modifier (org, com ...)628 * @param integer$mode Numéro du mode autorisé (0->5)629 * @return boole en True si le tld a bien été modifié, False sinon.647 * @param $tld Top-Level Domain à modifier (org, com ...) 648 * @param $mode Numéro du mode autorisé (0->5) 649 * @return boolean True si le tld a bien été modifié, False sinon. 630 650 * 631 651 */
Note: See TracChangeset
for help on using the changeset viewer.
