Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/15/2011 06:43:14 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Do not show #members-order-select on friend requests page.

File:
1 edited

Legend:

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

    r3810 r4206  
    1414        <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    1515
    16         <li id="members-order-select" class="last filter">
     16        <?php if ( !bp_is_current_action( 'requests' ) ) : ?>
    1717
    18             <?php _e( 'Order By:', 'buddypress' ) ?>
     18            <li id="members-order-select" class="last filter">
    1919
    20             <select id="members-all">
    21                 <option value="active"><?php _e( 'Last Active', 'buddypress' ) ?></option>
    22                 <option value="newest"><?php _e( 'Newest Registered', 'buddypress' ) ?></option>
    23                 <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ) ?></option>
     20                <?php _e( 'Order By:', 'buddypress' ) ?>
    2421
    25                 <?php do_action( 'bp_member_blog_order_options' ) ?>
     22                <select id="members-all">
     23                    <option value="active"><?php _e( 'Last Active', 'buddypress' ) ?></option>
     24                    <option value="newest"><?php _e( 'Newest Registered', 'buddypress' ) ?></option>
     25                    <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ) ?></option>
    2626
    27             </select>
    28         </li>
     27                    <?php do_action( 'bp_member_blog_order_options' ) ?>
     28
     29                </select>
     30            </li>
     31
     32        <?php endif; ?>
     33
    2934    </ul>
    3035</div>
Note: See TracChangeset for help on using the changeset viewer.