Changeset 4057 for trunk/bp-groups/bp-groups-loader.php
- Timestamp:
- 02/21/2011 01:03:41 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-loader.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-loader.php
r3982 r4057 232 232 if ( bp_is_groups_component() && bp_is_single_item() ) { 233 233 234 unset( $main_nav ); unset( $sub_nav ); 235 234 236 // Add 'Groups' to the main navigation 235 237 $main_nav = array( 236 238 'name' => __( 'Groups', 'buddypress' ), 237 'slug' => $this-> root_slug,239 'slug' => $this->current_group->slug, 238 240 'position' => -1, // Do not show in BuddyBar 239 241 'screen_function' => 'groups_screen_group_home', … … 249 251 'slug' => 'home', 250 252 'parent_url' => $group_link, 251 'parent_slug' => $this-> root_slug,253 'parent_slug' => $this->current_group->slug, 252 254 'screen_function' => 'groups_screen_group_home', 253 255 'position' => 10, … … 261 263 'slug' => 'admin', 262 264 'parent_url' => $group_link, 263 'parent_slug' => $this-> root_slug,265 'parent_slug' => $this->current_group->slug, 264 266 'screen_function' => 'groups_screen_group_admin', 265 267 'position' => 20, … … 280 282 'slug' => 'request-membership', 281 283 'parent_url' => $group_link, 282 'parent_slug' => $this-> root_slug,284 'parent_slug' => $this->current_group->slug, 283 285 'screen_function' => 'groups_screen_group_request_membership', 284 286 'position' => 30 … … 292 294 'slug' => 'forum', 293 295 'parent_url' => $group_link, 294 'parent_slug' => $this-> root_slug,296 'parent_slug' => $this->current_group->slug, 295 297 'screen_function' => 'groups_screen_group_forum', 296 298 'position' => 40, … … 304 306 'slug' => 'members', 305 307 'parent_url' => $group_link, 306 'parent_slug' => $this-> root_slug,308 'parent_slug' => $this->current_group->slug, 307 309 'screen_function' => 'groups_screen_group_members', 308 310 'position' => 60, … … 317 319 'slug' => 'send-invites', 318 320 'parent_url' => $group_link, 319 'parent_slug' => $this-> root_slug,321 'parent_slug' => $this->current_group->slug, 320 322 'screen_function' => 'groups_screen_group_invite', 321 323 'item_css_id' => 'invite',
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)