| [ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
This file implements login/logout handling functions. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.
| Author: | cafelog (team) |
| Author: | blueyed: Daniel HAHLER. |
| Author: | fplanque: Francois PLANQUE. |
| Author: | jeffbearer: Jeff BEARER - {@link http://www.jeffbearer.com/}. |
| Author: | jupiterx: Jordan RUNNING. |
| Copyright: | (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} |
| Version: | $Id: _user.funcs.php,v 1.3 2007/09/28 02:17:48 fplanque Exp $ |
| Poids: | 604 lignes (18 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| logout() X-Ref |
| Log the user out |
| is_logged_in() X-Ref |
| is_logged_in(-) |
| user_pass_ok( $login, $pass, $pass_is_md5 = false ) X-Ref |
| Check if a password is ok for a login. param: string login param: string password param: boolean Is the password parameter already MD5()'ed? return: boolean |
| user_login_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Output link to login |
| get_login_url() X-Ref |
| Get url to login return: string |
| user_register_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Output a link to new user registration param: string param: string param: string param: boolean Display the link, if the user is already logged in? (this is used by the login form) |
| get_user_register_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Get a link to new user registration param: string param: string param: string param: boolean Display the link, if the user is already logged in? (this is used by the login form) return: string |
| user_logout_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Output a link to logout |
| get_user_logout_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Get a link to logout param: string param: string param: string link text can include %s for current user login return: string |
| user_admin_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Output a link to the backoffice. Usually provided in skins in order for newbies to find the admin interface more easily... param: string To be displayed before the link. param: string To be displayed after the link. param: string The page/controller to link to inside of {@link $admin_url} param: string Text for the link. param: string Title for the link. |
| get_user_admin_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Get a link to the backoffice. Usually provided in skins in order for newbies to find the admin interface more easily... param: string To be displayed before the link. param: string To be displayed after the link. param: string The page/controller to link to inside of {@link $admin_url} param: string Text for the link. param: string Title for the link. return: string |
| user_profile_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Display a link to user profile |
| get_user_profile_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Get a link to user profile return: string|false |
| user_subs_link( $before = '', $after = '', $link_text = '', $link_title = ') X-Ref |
| Template tag: Provide a link to subscription screen |
| user_preferredname( $user_ID ) X-Ref |
| Template tag: Display the user's preferred name Used in result lists. param: integer user ID |
| profile_check_params( $params, $User = NULL ) X-Ref |
| Check profile parameters and add errors through {@link param_error()}. param: array associative array. param: User|NULL A user to use for additional checks (password != login/nick). |
| Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
|