Changeset 3808 for trunk/bp-themes/bp-default/members/single/activity.php
- Timestamp:
- 01/22/2011 08:58:56 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/activity.php
r3771 r3808 1 1 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 2 2 <ul> 3 3 4 <?php bp_get_options_nav() ?> 4 5 … … 8 9 <option value="activity_update"><?php _e( 'Show Updates', 'buddypress' ) ?></option> 9 10 10 <?php if ( 'groups' != bp_current_action() ) : ?> 11 <?php if ( bp_is_active( 'blogs' ) ) : ?> 11 <?php 12 if ( 'groups' != bp_current_action() ) : 13 if ( bp_is_active( 'blogs' ) ) : ?> 14 12 15 <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option> 13 16 <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option> 14 <?php endif; ?>15 17 16 <?php if ( bp_is_active( 'friends' ) ) : ?> 18 <?php 19 endif; 20 21 if ( bp_is_active( 'friends' ) ) : ?> 22 17 23 <option value="friendship_accepted,friendship_created"><?php _e( 'Show Friendship Connections', 'buddypress' ) ?></option> 18 <?php endif; ?>19 <?php endif; ?>20 24 21 <?php if ( bp_is_active( 'forums' ) ) : ?> 25 <?php endif; 26 27 endif; 28 29 if ( bp_is_active( 'forums' ) ) : ?> 30 22 31 <option value="new_forum_topic"><?php _e( 'Show New Forum Topics', 'buddypress' ) ?></option> 23 32 <option value="new_forum_post"><?php _e( 'Show Forum Replies', 'buddypress' ) ?></option> 24 <?php endif; ?>25 33 26 <?php if ( bp_is_active( 'groups' ) ) : ?> 34 <?php endif; 35 36 if ( bp_is_active( 'groups' ) ) : ?> 37 27 38 <option value="created_group"><?php _e( 'Show New Groups', 'buddypress' ) ?></option> 28 39 <option value="joined_group"><?php _e( 'Show New Group Memberships', 'buddypress' ) ?></option> 29 <?php endif; ?>30 40 31 <?php do_action( 'bp_member_activity_filter_options' ) ?> 41 <?php endif; 42 43 do_action( 'bp_member_activity_filter_options' ); ?> 44 32 45 </select> 33 46 </li> … … 35 48 </div><!-- .item-list-tabs --> 36 49 37 <?php do_action( 'bp_before_member_activity_post_form' ) ?>50 <?php do_action( 'bp_before_member_activity_post_form' ); ?> 38 51 39 <?php if ( is_user_logged_in() && bp_is_my_profile() && ( '' == bp_current_action() || 'just-me' == bp_current_action() ) ) : ?>40 <?php locate_template( array( 'activity/post-form.php'), true ) ?> 41 <?php endif; ?> 52 <?php 53 if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_is_current_action() || bp_is_current_action( 'just-me' ) ) ) 54 locate_template( array( 'activity/post-form.php'), true ); 42 55 43 <?php do_action( 'bp_after_member_activity_post_form' ) ?> 44 <?php do_action( 'bp_before_member_activity_content' )?>56 do_action( 'bp_after_member_activity_post_form' ); 57 do_action( 'bp_before_member_activity_content' ); ?> 45 58 46 59 <div class="activity" role="main"> 47 <?php locate_template( array( 'activity/activity-loop.php' ), true ) ?> 60 61 <?php locate_template( array( 'activity/activity-loop.php' ), true ); ?> 62 48 63 </div><!-- .activity --> 49 64 50 <?php do_action( 'bp_after_member_activity_content' ) ?>65 <?php do_action( 'bp_after_member_activity_content' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.