Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/18/2011 08:35:34 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce lost password page. Introduce user_login and user_lost_pass template parts. Introduce supporting login and smart login redirect functions. Normalize submit containers across template forms. (@todo: register, activation, and lost password pages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/page-bbp_login.php

    r2810 r2815  
    88 */
    99
    10 ?>
     10// No logged in users
     11bbp_logged_in_redirect();
    1112
    12 <?php get_header(); ?>
     13// Begin Template
     14get_header(); ?>
    1315
    1416        <div id="container">
     
    2527                            <?php the_content(); ?>
    2628
    27                             <?php if ( !is_user_logged_in() ) : ?>
     29                            <?php //if ( !is_user_logged_in() ) : ?>
    2830
    29                                 <fieldset>
    30                                     <legend><?php _e( 'Login', 'bbpress' ); ?></legend>
     31                            <?php get_template_part( 'form', 'bbp_user_login' ); ?>
    3132
    32                                     <?php do_action( 'bbp_template_notices' ); ?>
     33                            <?php //else : ?>
    3334
    34                                     <?php wp_login_form( array( 'redirect' => $_SERVER['HTTP_REFERER'] ) ); ?>
    35 
    36                                 </fieldset>
    37                            
    38                             <?php else : ?>
    39 
    40 
    41 
    42                             <?php endif; ?>
     35                            <?php //endif; ?>
    4336
    4437                        </div>
Note: See TracChangeset for help on using the changeset viewer.