Changeset 3899
- Timestamp:
- 01/24/2011 11:23:26 AM (14 years ago)
- Location:
- trunk/bp-themes/bp-default/groups/single
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/forum.php
r3771 r3899 1 <?php do_action( 'bp_before_group_forum_content' ) ?>1 <?php 2 2 3 <?php if ( bp_is_group_forum_topic_edit() ) : ?> 4 <?php locate_template( array( 'groups/single/forum/edit.php' ), true ) ?> 3 do_action( 'bp_before_group_forum_content' ); 5 4 6 <?php elseif ( bp_is_group_forum_topic() ) : ?> 7 <?php locate_template( array( 'groups/single/forum/topic.php' ), true ) ?>5 if ( bp_is_group_forum_topic_edit() ) : 6 locate_template( array( 'groups/single/forum/edit.php' ), true ); 8 7 9 <?php else : ?> 8 elseif ( bp_is_group_forum_topic() ) : 9 locate_template( array( 'groups/single/forum/topic.php' ), true ); 10 11 else : ?> 12 13 <div class="item-list-tabs" id="subnav" role="navigation"> 14 <ul> 15 16 <?php do_action( 'bp_forums_directory_group_sub_types' ); ?> 17 18 <li id="forums-order-select" class="last filter"> 19 20 <?php _e( 'Order By:', 'buddypress' ); ?> 21 22 <select> 23 <option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option> 24 <option value="popular"><?php _e( 'Most Posts', 'buddypress' ); ?></option> 25 <option value="unreplied"><?php _e( 'Unreplied', 'buddypress' ); ?></option> 26 27 <?php do_action( 'bp_forums_directory_order_options' ); ?> 28 29 </select> 30 </li> 31 </ul> 32 </div> 10 33 11 34 <div class="forums single-forum" role="main"> 35 12 36 <?php locate_template( array( 'forums/forums-loop.php' ), true ) ?> 37 13 38 </div><!-- .forums.single-forum --> 14 39 -
trunk/bp-themes/bp-default/groups/single/group-header.php
r3771 r3899 1 <?php do_action( 'bp_before_group_header' ) ?> 1 <?php 2 3 do_action( 'bp_before_group_header' ); 4 5 ?> 2 6 3 7 <div id="item-actions"> 8 4 9 <?php if ( bp_group_is_visible() ) : ?> 5 10 6 <h3><?php _e( 'Group Admins', 'buddypress' ) ?></h3> 7 <?php bp_group_list_admins() ?> 11 <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> 8 12 9 <?php do_action( 'bp_after_group_menu_admins' ) ?>13 <?php bp_group_list_admins(); 10 14 11 <?php if ( bp_group_has_moderators() ) : ?> 12 <?php do_action( 'bp_before_group_menu_mods' ) ?> 15 do_action( 'bp_after_group_menu_admins' ); 16 17 if ( bp_group_has_moderators() ) : 18 do_action( 'bp_before_group_menu_mods' ); ?> 13 19 14 20 <h3><?php _e( 'Group Mods' , 'buddypress' ) ?></h3> 15 <?php bp_group_list_mods() ?>16 21 17 <?php do_action( 'bp_after_group_menu_mods' ) ?> 18 <?php endif; ?> 22 <?php bp_group_list_mods(); 19 23 20 <?php endif; ?> 24 do_action( 'bp_after_group_menu_mods' ); 25 26 endif; 27 28 endif; ?> 29 21 30 </div><!-- #item-actions --> 22 31 23 32 <div id="item-header-avatar"> 24 <a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"> 25 <?php bp_group_avatar() ?> 33 <a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>"> 34 35 <?php bp_group_avatar(); ?> 36 26 37 </a> 27 38 </div><!-- #item-header-avatar --> 28 39 29 40 <div id="item-header-content"> 30 <h2><a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"><?php bp_group_name()?></a></h2>31 <span class="highlight"><?php bp_group_type() ?></span> <span class="activity"><?php printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() )?></span>41 <h2><a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>"><?php bp_group_name(); ?></a></h2> 42 <span class="highlight"><?php bp_group_type(); ?></span> <span class="activity"><?php printf( __( 'active %s ago', 'buddypress' ), bp_get_group_last_active() ); ?></span> 32 43 33 <?php do_action( 'bp_before_group_header_meta' ) ?>44 <?php do_action( 'bp_before_group_header_meta' ); ?> 34 45 35 46 <div id="item-meta"> 36 <?php bp_group_description() ?> 47 48 <?php bp_group_description(); ?> 37 49 38 50 <div id="item-buttons"> … … 42 54 </div><!-- #item-buttons --> 43 55 44 <?php do_action( 'bp_group_header_meta' ) ?> 56 <?php do_action( 'bp_group_header_meta' ); ?> 57 45 58 </div> 46 59 </div><!-- #item-header-content --> 47 60 48 <?php do_action( 'bp_after_group_header' ) ?> 49 50 <?php do_action( 'template_notices' ) ?> 61 <?php 62 do_action( 'bp_after_group_header' ); 63 do_action( 'template_notices' ); 64 ?>
Note: See TracChangeset
for help on using the changeset viewer.