Changeset 2179 for trunk/bp-themes/bp-default/groups/single/home.php
- Timestamp:
- 12/15/2009 01:20:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/groups/single/home.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/home.php
r2170 r2179 11 11 <?php locate_template( array( 'groups/single/group-header.php' ), true ) ?> 12 12 13 <?php if ( 'admin' == bp_current_action() ) : ?> 14 <?php locate_template( array( 'groups/single/admin.php' ), true ) ?> 13 <div id="item-body"> 15 14 16 <?php elseif ( 'members' == bp_current_action() ) : ?>17 <?php locate_template( array( 'groups/single/members.php' ), true ) ?>15 <?php if ( 'admin' == bp_current_action() ) : ?> 16 <?php locate_template( array( 'groups/single/admin.php' ), true ) ?> 18 17 19 <?php elseif ( 'send-invites' == bp_current_action() ) : ?>20 <?php locate_template( array( 'groups/single/send-invites.php' ), true ) ?>18 <?php elseif ( 'members' == bp_current_action() ) : ?> 19 <?php locate_template( array( 'groups/single/members.php' ), true ) ?> 21 20 22 <?php elseif ( 'request-membership' == bp_current_action() ) : ?>23 <?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?>21 <?php elseif ( 'send-invites' == bp_current_action() ) : ?> 22 <?php locate_template( array( 'groups/single/send-invites.php' ), true ) ?> 24 23 25 <?php elseif ( 'forum' == bp_current_action() ) : ?>26 <?php locate_template( array( 'groups/single/forum.php' ), true ) ?>24 <?php elseif ( 'request-membership' == bp_current_action() ) : ?> 25 <?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?> 27 26 28 <?php else: ?>29 <?php locate_template( array( 'groups/single/activity.php' ), true ) ?>27 <?php elseif ( 'forum' == bp_current_action() ) : ?> 28 <?php locate_template( array( 'groups/single/forum.php' ), true ) ?> 30 29 31 <?php endif; ?> 30 <?php else : ?> 31 <?php locate_template( array( 'groups/single/activity.php' ), true ) ?> 32 32 33 <?php do_action( 'bp_directory_members_content' ) ?> 33 <?php endif; ?> 34 35 <?php do_action( 'bp_directory_members_content' ) ?> 36 37 </div> 38 39 <div id="item-menu"> 40 <?php bp_group_avatar() ?> 41 42 <?php if ( bp_group_is_visible() ) : ?> 43 44 <?php if ( bp_group_has_news() ) : ?> 45 <?php do_action( 'bp_before_group_news' ) ?> 46 47 <h3><?php _e( 'Latest News', 'buddypress' ); ?></h3> 48 <p><?php bp_group_news() ?></p> 49 50 <?php do_action( 'bp_after_group_news' ) ?> 51 <?php endif; ?> 52 53 <h3><?php _e( 'Group Admins', 'buddypress' ) ?></h3> 54 <?php bp_group_list_admins() ?> 55 56 <?php do_action( 'bp_after_group_menu_admins' ) ?> 57 58 <?php if ( bp_group_has_moderators() ) : ?> 59 <?php do_action( 'bp_before_group_menu_mods' ) ?> 60 61 <h3><?php _e( 'Group Mods' , 'buddypress' ) ?></h3> 62 <?php bp_group_list_mods() ?> 63 64 <?php do_action( 'bp_after_group_menu_mods' ) ?> 65 <?php endif; ?> 66 67 <?php endif; ?> 68 </div> 34 69 35 70 <?php endwhile; endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.