[ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
This file handles user authentication
Author: | Tony Bibbs <tony@tonybibbs.com> |
Author: | Mark Limburg <mlimburg@users.sourceforge.net> |
Author: | Jason Whittenburg |
Poids: | 1116 lignes (45 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier public_html/lib-common.php |
userprofile($user, $msg = 0) X-Ref |
Shows a profile for a user This grabs the user profile for a given user and displays it param: int $user User ID of profile to get param: int $msg Message to display (if != 0) return: string HTML for user profile page |
emailpassword($username, $msg = 0) X-Ref |
Emails password to a user This will email the given user their password. param: string $username Username for which to get and email password param: int $msg Message number of message to show when done return: string Optionally returns the HTML for the default form if the user info can't be found |
requestpassword($username, $msg = 0) X-Ref |
User request for a new password - send email with a link and request id param: username string name of user who requested the new password param: msg int index of message to display (if any) return: string form or meta redirect |
newpasswordform($uid, $requestid) X-Ref |
Display a form where the user can enter a new password. param: uid int user id param: requestid string request id for password change return: string new password form |
createuser($username, $email, $email_conf) X-Ref |
Creates a user Creates a user with the give username and email address param: string $username username to create user for param: string $email email address to assign to user param: string $email_conf confirmation email address check return: string HTML for the form again if error occurs, otherwise nothing. |
loginform($hide_forgotpw_link = false, $statusmode = -1) X-Ref |
Pas de description |
newuserform($msg = '') X-Ref |
Shows the user registration form param: int $msg message number to show param: string $referrer page to send user to after registration return: string HTML for user registration page |
getpasswordform() X-Ref |
Shows the password retrieval form return: string HTML for form used to retrieve user's password |
defaultform($msg) X-Ref |
Account does not exist - show both the login and register forms param: string $msg message to display if one is needed return: string HTML for form |
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |