Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/22/2011 08:58:56 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Clean up single member root template files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/friends.php

    r3771 r3808  
    11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    22    <ul>
    3         <?php if ( bp_is_my_profile() ) : ?>
    4             <?php bp_get_options_nav() ?>
    5         <?php endif; ?>
     3        <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    64
    75        <li id="members-order-select" class="last filter">
    86
    97            <?php _e( 'Order By:', 'buddypress' ) ?>
     8
    109            <select id="members-all">
    1110                <option value="active"><?php _e( 'Last Active', 'buddypress' ) ?></option>
     
    1413
    1514                <?php do_action( 'bp_member_blog_order_options' ) ?>
     15
    1616            </select>
    1717        </li>
     
    1919</div>
    2020
    21 <?php if ( 'requests' == bp_current_action() ) : ?>
    22     <?php locate_template( array( 'members/single/friends/requests.php' ), true ) ?>
     21<?php
    2322
    24 <?php else : ?>
     23if ( bp_is_current_action( 'requests' ) ) :
     24     locate_template( array( 'members/single/friends/requests.php' ), true );
    2525
    26     <?php do_action( 'bp_before_member_friends_content' ) ?>
     26else :
     27    do_action( 'bp_before_member_friends_content' ); ?>
    2728
    2829    <div class="members friends">
    29         <?php locate_template( array( 'members/members-loop.php' ), true ) ?>
     30
     31        <?php locate_template( array( 'members/members-loop.php' ), true ); ?>
     32
    3033    </div><!-- .members.friends -->
    3134
    32     <?php do_action( 'bp_after_member_friends_content' ) ?>
     35    <?php do_action( 'bp_after_member_friends_content' ); ?>
    3336
    3437<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.