Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/02/2010 05:54:12 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1752

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/header.php

    r2474 r2539  
    4949                </li>
    5050
    51                 <?php if ( !bp_is_deactivated('bp-activity.php') ) : ?>
     51                <?php if ( bp_is_active( 'activity' ) ) : ?>
    5252                    <?php if ( 'blog' == bp_dtheme_show_on_frontpage() ) : ?>
    5353                        <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>>
     
    6565                </li>
    6666
    67                 <?php if ( function_exists( 'groups_install' ) ) : ?>
     67                <?php if ( bp_is_active( 'groups' ) ) : ?>
    6868                    <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>
    6969                        <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a>
     
    7171                <?php endif; ?>
    7272
    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() ) : ?>
    7474                    <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    7575                        <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a>
     
    7777                <?php endif; ?>
    7878
    79                 <?php if ( function_exists( 'bp_blogs_install' ) && bp_core_is_multisite() ) : ?>
     79                <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?>
    8080                    <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    8181                        <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.