Changeset 2539 for trunk/bp-themes/bp-default/header.php
- Timestamp:
- 02/02/2010 05:54:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/header.php
r2474 r2539 49 49 </li> 50 50 51 <?php if ( !bp_is_deactivated('bp-activity.php') ) : ?>51 <?php if ( bp_is_active( 'activity' ) ) : ?> 52 52 <?php if ( 'blog' == bp_dtheme_show_on_frontpage() ) : ?> 53 53 <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>> … … 65 65 </li> 66 66 67 <?php if ( function_exists( 'groups_install' ) ) : ?>67 <?php if ( bp_is_active( 'groups' ) ) : ?> 68 68 <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>> 69 69 <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a> … … 71 71 <?php endif; ?> 72 72 73 <?php if ( function_exists( 'groups_install' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) get_site_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>73 <?php if ( bp_is_active( 'forums' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) get_site_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?> 74 74 <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>> 75 75 <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a> … … 77 77 <?php endif; ?> 78 78 79 <?php if ( function_exists( 'bp_blogs_install' ) && bp_core_is_multisite() ) : ?>79 <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?> 80 80 <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>> 81 81 <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a>
Note: See TracChangeset
for help on using the changeset viewer.