Changeset 2265 for trunk/bp-themes/bp-default/groups/single/home.php
- Timestamp:
- 01/06/2010 09:32:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/home.php
r2197 r2265 24 24 <?php do_action( 'template_notices' ) ?> 25 25 26 <?php if ( bp_is_group_admin_page() ) : ?>26 <?php if ( bp_is_group_admin_page() && bp_group_is_visible() ) : ?> 27 27 <?php locate_template( array( 'groups/single/admin.php' ), true ) ?> 28 28 29 <?php elseif ( bp_is_group_members() ) : ?>29 <?php elseif ( bp_is_group_members() && bp_group_is_visible() ) : ?> 30 30 <?php locate_template( array( 'groups/single/members.php' ), true ) ?> 31 31 32 <?php elseif ( bp_is_group_invites() ) : ?>32 <?php elseif ( bp_is_group_invites() && bp_group_is_visible() ) : ?> 33 33 <?php locate_template( array( 'groups/single/send-invites.php' ), true ) ?> 34 35 <?php elseif ( bp_is_group_forum() && bp_group_is_visible() ) : ?> 36 <?php locate_template( array( 'groups/single/forum.php' ), true ) ?> 34 37 35 38 <?php elseif ( bp_is_group_membership_request() ) : ?> 36 39 <?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?> 37 40 38 <?php elseif ( bp_ is_group_forum() ) : ?>39 <?php locate_template( array( 'groups/single/ forum.php' ), true ) ?>41 <?php elseif ( bp_group_is_visible() ) : ?> 42 <?php locate_template( array( 'groups/single/activity.php' ), true ) ?> 40 43 41 44 <?php else : ?> 42 <?php locate_template( array( 'groups/single/activity.php' ), true ) ?> 43 45 <p>This group is not visible.</p> 44 46 <?php endif; ?> 45 47
Note: See TracChangeset
for help on using the changeset viewer.