Ticket #3046: bp-member-options-menu.patch
File bp-member-options-menu.patch, 5.5 KB (added by , 14 years ago) |
---|
-
bp-forums/bp-forums-loader.php
129 129 'parent_url' => $forums_link, 130 130 'parent_slug' => $this->slug, 131 131 'screen_function' => 'bp_member_forums_screen_topics', 132 'user_has_access' => bp_is_my_profile(), 132 133 'position' => 20, 133 134 'item_css_id' => 'forums-friends' 134 135 ); … … 140 141 'parent_url' => $forums_link, 141 142 'parent_slug' => $this->slug, 142 143 'screen_function' => 'bp_member_forums_screen_replies', 144 'user_has_access' => bp_is_my_profile(), 143 145 'position' => 40, 144 146 'item_css_id' => 'forums-friends' 145 147 ); … … 151 153 'parent_url' => $forums_link, 152 154 'parent_slug' => $this->slug, 153 155 'screen_function' => 'bp_member_forums_screen_favorites', 156 'user_has_access' => bp_is_my_profile(), 154 157 'position' => 60, 155 158 'item_css_id' => 'forums-favs' 156 159 ); -
bp-friends/bp-friends-loader.php
108 108 'parent_url' => $friends_link, 109 109 'parent_slug' => $bp->friends->slug, 110 110 'screen_function' => 'friends_screen_my_friends', 111 'user_has_access' => bp_is_my_profile(), 111 112 'position' => 10, 112 113 'item_css_id' => 'friends-my-friends' 113 114 ); -
bp-groups/bp-groups-loader.php
212 212 'parent_url' => $groups_link, 213 213 'parent_slug' => $this->slug, 214 214 'screen_function' => 'groups_screen_my_groups', 215 'user_has_access' => bp_is_my_profile(), 215 216 'position' => 10, 216 217 'item_css_id' => 'groups-my-groups' 217 218 ); … … 223 224 'parent_url' => $groups_link, 224 225 'parent_slug' => $this->slug, 225 226 'screen_function' => 'groups_screen_group_invites', 227 'user_has_access' => bp_is_my_profile(), 226 228 'position' => 30, 227 229 'user_has_access' => bp_is_my_profile() 228 230 ); -
bp-themes/bp-default/members/single/forums.php
11 11 12 12 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 13 13 <ul> 14 <?php if ( bp_is_my_profile() )bp_get_options_nav(); ?>14 <?php bp_get_options_nav(); ?> 15 15 16 16 <li id="forums-order-select" class="last filter"> 17 17 -
bp-themes/bp-default/members/single/friends.php
11 11 12 12 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 13 13 <ul> 14 <?php if ( bp_is_my_profile() )bp_get_options_nav(); ?>14 <?php bp_get_options_nav(); ?> 15 15 16 16 <li id="members-order-select" class="last filter"> 17 17 -
bp-themes/bp-default/members/single/groups.php
11 11 12 12 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 13 13 <ul> 14 <?php if ( bp_is_my_profile() )bp_get_options_nav(); ?>14 <?php bp_get_options_nav(); ?> 15 15 16 16 <?php if ( !bp_is_current_action( 'invites' ) ) : ?> 17 17 -
bp-themes/bp-default/members/single/profile.php
9 9 10 10 ?> 11 11 12 <?php if ( bp_is_my_profile() ) : ?> 13 14 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 12 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 15 13 <ul> 16 14 17 15 <?php bp_get_options_nav(); ?> … … 19 17 </ul> 20 18 </div><!-- .item-list-tabs --> 21 19 22 <?php endif; ?>23 24 20 <?php do_action( 'bp_before_profile_content' ); ?> 25 21 26 22 <div class="profile" role="main"> -
bp-xprofile/bp-xprofile-loader.php
124 124 'parent_url' => $profile_link, 125 125 'parent_slug' => $this->slug, 126 126 'screen_function' => 'xprofile_screen_display_profile', 127 'user_has_access' => bp_is_my_profile(), 127 128 'position' => 10 128 129 ); 129 130 … … 134 135 'parent_url' => $profile_link, 135 136 'parent_slug' => $this->slug, 136 137 'screen_function' => 'xprofile_screen_edit_profile', 138 'user_has_access' => bp_is_my_profile(), 137 139 'position' => 20 138 140 ); 139 141 … … 144 146 'parent_url' => $profile_link, 145 147 'parent_slug' => $this->slug, 146 148 'screen_function' => 'xprofile_screen_change_avatar', 149 'user_has_access' => bp_is_my_profile(), 147 150 'position' => 30 148 151 ); 149 152