Changeset 3757 for trunk/bp-themes/bp-default/members/single/profile.php
- Timestamp:
- 01/20/2011 10:53:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/profile.php
r3460 r3757 1 1 <?php if ( bp_is_my_profile() ) : ?> 2 2 3 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 3 4 <ul> 4 <?php bp_get_options_nav() ?> 5 6 <?php bp_get_options_nav(); ?> 7 5 8 </ul> 6 9 </div><!-- .item-list-tabs --> 10 7 11 <?php endif; ?> 8 12 9 <?php do_action( 'bp_before_profile_content' ) ?>13 <?php do_action( 'bp_before_profile_content' ); ?> 10 14 11 15 <div class="profile" role="main"> 12 <?php if ( 'edit' == bp_current_action() ) : ?>13 <?php locate_template( array( 'members/single/profile/edit.php' ), true ) ?>14 16 15 <?php elseif ( 'change-avatar' == bp_current_action() ) : ?> 16 <?php locate_template( array( 'members/single/profile/change-avatar.php' ), true ) ?> 17 <?php 18 if ( 'edit' == bp_current_action() ) : 19 locate_template( array( 'members/single/profile/edit.php' ), true ); 17 20 18 <?php else : ?>19 <?php locate_template( array( 'members/single/profile/profile-loop.php' ), true ) ?>21 elseif ( 'change-avatar' == bp_current_action() ) : 22 locate_template( array( 'members/single/profile/change-avatar.php' ), true ); 20 23 21 <?php endif; ?> 24 else : 25 locate_template( array( 'members/single/profile/profile-loop.php' ), true ); 26 27 endif; 28 ?> 29 22 30 </div><!-- .profile --> 23 31 24 <?php do_action( 'bp_after_profile_content' ) ?>32 <?php do_action( 'bp_after_profile_content' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.