web/wp-content/plugins/bbpress/templates/default/extras/page-user-login.php
changeset 196 5e8dcbe22c24
equal deleted inserted replaced
195:c7c0fbc09788 196:5e8dcbe22c24
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * Template Name: bbPress - User Login
       
     5  *
       
     6  * @package bbPress
       
     7  * @subpackage Theme
       
     8  */
       
     9 
       
    10 // No logged in users
       
    11 bbp_logged_in_redirect();
       
    12 
       
    13 // Begin Template
       
    14 get_header(); ?>
       
    15 
       
    16 	<?php do_action( 'bbp_before_main_content' ); ?>
       
    17 
       
    18 	<?php do_action( 'bbp_template_notices' ); ?>
       
    19 
       
    20 	<?php while ( have_posts() ) : the_post(); ?>
       
    21 
       
    22 		<div id="bbp-login" class="bbp-login">
       
    23 			<h1 class="entry-title"><?php the_title(); ?></h1>
       
    24 			<div class="entry-content">
       
    25 
       
    26 				<?php the_content(); ?>
       
    27 
       
    28 				<div id="bbpress-forums">
       
    29 
       
    30 					<?php bbp_breadcrumb(); ?>
       
    31 
       
    32 					<?php bbp_get_template_part( 'form', 'user-login' ); ?>
       
    33 
       
    34 				</div>
       
    35 			</div>
       
    36 		</div><!-- #bbp-login -->
       
    37 
       
    38 	<?php endwhile; ?>
       
    39 
       
    40 	<?php do_action( 'bbp_after_main_content' ); ?>
       
    41 
       
    42 <?php get_sidebar(); ?>
       
    43 <?php get_footer(); ?>