[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/bbpress/ -> form-user-lost-pass.php (source)

   1  <?php
   2  
   3  /**
   4   * User Lost Password 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( 'action' => 'lostpassword', 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
  16      <fieldset class="bbp-form">
  17          <legend><?php esc_html_e( 'Lost Password', 'bbpress' ); ?></legend>
  18  
  19          <div class="bbp-username">
  20              <p>
  21                  <label for="user_login" class="hide"><?php esc_html_e( 'Username or Email', 'bbpress' ); ?>: </label>
  22                  <input type="text" name="user_login" value="" size="20" id="user_login" maxlength="100" autocomplete="off" />
  23              </p>
  24          </div>
  25  
  26          <?php do_action( 'login_form', 'resetpass' ); ?>
  27  
  28          <div class="bbp-submit-wrapper">
  29  
  30              <button type="submit" name="user-submit" class="button submit user-submit"><?php esc_html_e( 'Reset My Password', 'bbpress' ); ?></button>
  31  
  32              <?php bbp_user_lost_pass_fields(); ?>
  33  
  34          </div>
  35      </fieldset>
  36  </form>


Generated: Wed Sep 30 01:01:24 2020 Cross-referenced by PHPXref 0.7.1