Changeset 1718 for trunk/bp-groups.php
- Timestamp:
- 08/27/2009 09:18:10 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1714 r1718 131 131 $bp->groups->format_notification_function = 'groups_format_notifications'; 132 132 $bp->groups->slug = BP_GROUPS_SLUG; 133 133 134 /* Register this in the active components array */ 135 $bp->active_components[$bp->groups->slug] = $bp->groups->id; 136 134 137 if ( function_exists('bp_wire_install') ) 135 138 $bp->groups->table_name_wire = $wpdb->base_prefix . 'bp_groups_wire'; … … 209 212 210 213 /* Add 'Groups' to the main navigation */ 211 bp_core_new_nav_item( array( 'name' => __('Groups', 'buddypress'), 'slug' => $bp->groups->slug, 'position' => 70, 'screen_function' => 'groups_screen_my_groups', 'default_subnav_slug' => 'my-groups' ) );214 bp_core_new_nav_item( array( 'name' => __('Groups', 'buddypress'), 'slug' => $bp->groups->slug, 'position' => 70, 'screen_function' => 'groups_screen_my_groups', 'default_subnav_slug' => 'my-groups', 'item_css_id' => $bp->groups->id ) ); 212 215 213 216 $groups_link = $bp->loggedin_user->domain . $bp->groups->slug . '/'; … … 277 280 278 281 if ( $bp->groups->current_group->enable_wire && function_exists('bp_wire_install') ) 279 bp_core_new_subnav_item( array( 'name' => __( 'Wire', 'buddypress' ), 'slug' => 'wire', 'parent_url' => $group_link, 'parent_slug' => $bp->groups->slug, 'screen_function' => 'groups_screen_group_wire', 'position' => 50, 'user_has_access' => $bp->groups->current_group->user_has_access, 'item_css_id' => 'group-wire' ) );282 bp_core_new_subnav_item( array( 'name' => __( 'Wire', 'buddypress' ), 'slug' => BP_WIRE_SLUG, 'parent_url' => $group_link, 'parent_slug' => $bp->groups->slug, 'screen_function' => 'groups_screen_group_wire', 'position' => 50, 'user_has_access' => $bp->groups->current_group->user_has_access, 'item_css_id' => 'group-wire' ) ); 280 283 281 284 bp_core_new_subnav_item( array( 'name' => __( 'Members', 'buddypress' ), 'slug' => 'members', 'parent_url' => $group_link, 'parent_slug' => $bp->groups->slug, 'screen_function' => 'groups_screen_group_members', 'position' => 60, 'user_has_access' => $bp->groups->current_group->user_has_access, 'item_css_id' => 'group-members' ) );
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)