Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/28/2011 07:37:22 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Audit the bbp-twentyten theme's actions, HTML, and CSS. See #1702.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-user-register.php

    r3491 r3651  
    1010?>
    1111
    12         <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    13                 <fieldset class="bbp-form">
    14                         <legend><?php _e( 'Create an Account', 'bbpress' ); ?></legend>
     12<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
     13        <fieldset class="bbp-form">
     14                <legend><?php _e( 'Create an Account', 'bbpress' ); ?></legend>
    1515
    16                         <div class="bbp-template-notice">
    17                                 <p><?php _e( 'Your username must be unique, and cannot be changed later.', 'bbpress' ) ?></p>
    18                                 <p><?php _e( 'We use your email address to email you a secure password and verify your account.', 'bbpress' ) ?></p>
     16                <div class="bbp-template-notice">
     17                        <p><?php _e( 'Your username must be unique, and cannot be changed later.', 'bbpress' ) ?></p>
     18                        <p><?php _e( 'We use your email address to email you a secure password and verify your account.', 'bbpress' ) ?></p>
    1919
    20                         </div>
     20                </div>
    2121
    22                         <div class="bbp-username">
    23                                 <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
    24                                 <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
    25                         </div>
     22                <div class="bbp-username">
     23                        <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
     24                        <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     25                </div>
    2626
    27                         <div class="bbp-email">
    28                                 <label for="user_email"><?php _e( 'Email', 'bbpress' ); ?>: </label>
    29                                 <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />
    30                         </div>
     27                <div class="bbp-email">
     28                        <label for="user_email"><?php _e( 'Email', 'bbpress' ); ?>: </label>
     29                        <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />
     30                </div>
    3131
    32                         <?php do_action( 'register_form' ); ?>
     32                <?php do_action( 'register_form' ); ?>
    3333
    34                         <div class="bbp-submit-wrapper">
     34                <div class="bbp-submit-wrapper">
    3535
    36                                 <button type="submit" name="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
     36                        <button type="submit" name="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
    3737
    38                                 <?php bbp_user_register_fields(); ?>
     38                        <?php bbp_user_register_fields(); ?>
    3939
    40                         </div>
    41                 </fieldset>
    42         </form>
     40                </div>
     41        </fieldset>
     42</form>
Note: See TracChangeset for help on using the changeset viewer.