Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/18/2009 09:34:41 AM (16 years ago)
Author:
apeatling
Message:

Default theme css fixes and template updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/groups/single/home.php

    r2191 r2197  
    2424                <?php do_action( 'template_notices' ) ?>
    2525
    26                 <?php if ( 'admin' == bp_current_action() ) : ?>
     26                <?php if ( bp_is_group_admin_page() ) : ?>
    2727                    <?php locate_template( array( 'groups/single/admin.php' ), true ) ?>
    2828
    29                 <?php elseif ( 'members' == bp_current_action() ) : ?>
     29                <?php elseif ( bp_is_group_members() ) : ?>
    3030                    <?php locate_template( array( 'groups/single/members.php' ), true ) ?>
    3131
    32                 <?php elseif ( 'send-invites' == bp_current_action() ) : ?>
     32                <?php elseif ( bp_is_group_invites() ) : ?>
    3333                    <?php locate_template( array( 'groups/single/send-invites.php' ), true ) ?>
    3434
    35                 <?php elseif ( 'request-membership' == bp_current_action() ) : ?>
     35                <?php elseif ( bp_is_group_membership_request() ) : ?>
    3636                    <?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?>
    3737
    38                 <?php elseif ( 'forum' == bp_current_action() ) : ?>
     38                <?php elseif ( bp_is_group_forum() ) : ?>
    3939                    <?php locate_template( array( 'groups/single/forum.php' ), true ) ?>
    4040
Note: See TracChangeset for help on using the changeset viewer.