Skip to:
Content

BuddyPress.org

Changeset 4321


Ignore:
Timestamp:
04/30/2011 09:43:40 PM (15 years ago)
Author:
djpaul
Message:

Revert all of r4314. See #3046

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-loader.php

    r4314 r4321  
    138138                        'parent_slug'     => $this->slug,
    139139                        'screen_function' => 'bp_member_forums_screen_topics',
    140                         'user_has_access' =>  bp_is_my_profile(),
    141140                        'position'        => 20,
    142141                        'item_css_id'     => 'topics'
    … …  
    150149                        'parent_slug'     => $this->slug,
    151150                        'screen_function' => 'bp_member_forums_screen_replies',
    152                         'user_has_access' =>  bp_is_my_profile(),
    153151                        'position'        => 40,
    154152                        'item_css_id'     => 'replies'
    … …  
    163161                        'parent_slug'     => $this->slug,
    164162                        'screen_function' => 'bp_member_forums_screen_favorites',
    165                         'user_has_access' =>  bp_is_my_profile(),
    166163                        'position'        => 60,
    167164                        'item_css_id'     => 'favorites'
  • trunk/bp-friends/bp-friends-loader.php

    r4314 r4321  
    116116                        'parent_slug' => $bp->friends->slug,
    117117                        'screen_function' => 'friends_screen_my_friends',
    118                         'user_has_access' =>  bp_is_my_profile(),
    119118                        'position' => 10,
    120119                        'item_css_id'     => 'friends-my-friends'
  • trunk/bp-groups/bp-groups-loader.php

    r4319 r4321  
    217217                        'parent_slug'     => $this->slug,
    218218                        'screen_function' => 'groups_screen_my_groups',
    219                         'user_has_access' =>  bp_is_my_profile(),
    220219                        'position'        => 10,
    221220                        'item_css_id'     => 'groups-my-groups'
  • trunk/bp-themes/bp-default/members/single/friends.php

    r4314 r4321  
    1212<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1313        <ul>
    14                 <?php bp_get_options_nav(); ?>
     14                <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    1515
    1616                <?php if ( !bp_is_current_action( 'requests' ) ) : ?>
  • trunk/bp-themes/bp-default/members/single/groups.php

    r4314 r4321  
    1212<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1313        <ul>
    14                 <?php bp_get_options_nav(); ?>
     14                <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    1515
    1616                <?php if ( !bp_is_current_action( 'invites' ) ) : ?>
  • trunk/bp-themes/bp-default/members/single/profile.php

    r4314 r4321  
    1010?>
    1111
    12 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    13         <ul>
     12<?php if ( bp_is_my_profile() ) : ?>
    1413
    15                 <?php bp_get_options_nav(); ?>
     14        <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
     15                <ul>
    1616
    17         </ul>
    18 </div><!-- .item-list-tabs -->
     17                        <?php bp_get_options_nav(); ?>
     18
     19                </ul>
     20        </div><!-- .item-list-tabs -->
     21
     22<?php endif; ?>
    1923
    2024<?php do_action( 'bp_before_profile_content' ); ?>
  • trunk/bp-xprofile/bp-xprofile-loader.php

    r4314 r4321  
    134134                        'parent_slug'     => $this->slug,
    135135                        'screen_function' => 'xprofile_screen_display_profile',
    136                         'user_has_access' =>  bp_is_my_profile(),
    137136                        'position'        => 10
    138137                );
    … …  
    145144                        'parent_slug'     => $this->slug,
    146145                        'screen_function' => 'xprofile_screen_edit_profile',
    147                         'user_has_access' =>  bp_is_my_profile(),
    148146                        'position'        => 20
    149147                );
    … …  
    156154                        'parent_slug'     => $this->slug,
    157155                        'screen_function' => 'xprofile_screen_change_avatar',
    158                         'user_has_access' =>  bp_is_my_profile(),
    159156                        'position'        => 30
    160157                );
Note: See TracChangeset for help on using the changeset viewer.