[ Index ] |
PHP Cross Reference of BBPress |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * User Login Form 5 * 6 * @package bbPress 7 * @subpackage Theme 8 */ 9 10 // Exit if accessed directly 11 defined( 'ABSPATH' ) || exit; 12 13 ?> 14 15 <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> 16 <fieldset class="bbp-form"> 17 <legend><?php esc_html_e( 'Log In', 'bbpress' ); ?></legend> 18 19 <div class="bbp-username"> 20 <label for="user_login"><?php esc_html_e( 'Username', 'bbpress' ); ?>: </label> 21 <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" maxlength="100" id="user_login" autocomplete="off" /> 22 </div> 23 24 <div class="bbp-password"> 25 <label for="user_pass"><?php esc_html_e( 'Password', 'bbpress' ); ?>: </label> 26 <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" autocomplete="off" /> 27 </div> 28 29 <div class="bbp-remember-me"> 30 <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ) ); ?> id="rememberme" /> 31 <label for="rememberme"><?php esc_html_e( 'Keep me signed in', 'bbpress' ); ?></label> 32 </div> 33 34 <?php do_action( 'login_form' ); ?> 35 36 <div class="bbp-submit-wrapper"> 37 38 <button type="submit" name="user-submit" id="user-submit" class="button submit user-submit"><?php esc_html_e( 'Log In', 'bbpress' ); ?></button> 39 40 <?php bbp_user_login_fields(); ?> 41 42 </div> 43 </fieldset> 44 </form>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Jan 15 01:00:51 2025 | Cross-referenced by PHPXref 0.7.1 |