Changeset 2740 for trunk/bp-themes/bp-default/groups/single/home.php
- Timestamp:
- 02/18/2010 04:46:00 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/groups/single/home.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/home.php
r2353 r2740 39 39 <?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?> 40 40 41 <?php elseif ( bp_group_is_visible() ) : ?>41 <?php elseif ( bp_group_is_visible() && bp_is_active( 'activity' ) ) : ?> 42 42 <?php locate_template( array( 'groups/single/activity.php' ), true ) ?> 43 43 44 <?php else : ?>44 <?php elseif ( !bp_group_is_visible() ) : ?> 45 45 <?php /* The group is not visible, show the status message */ ?> 46 46 … … 52 52 53 53 <?php do_action( 'bp_after_group_status_message' ) ?> 54 55 <?php else : ?> 56 <?php 57 /* If nothing sticks, just load a group front template if one exists. */ 58 locate_template( array( 'groups/single/front.php' ), true ); 59 ?> 54 60 <?php endif; ?> 55 61
Note: See TracChangeset
for help on using the changeset viewer.