Changeset 3808 for trunk/bp-themes/bp-default/members/single/profile.php
- Timestamp:
- 01/22/2011 08:58:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/profile.php
r3806 r3808 16 16 17 17 <?php 18 if ( 'edit' == bp_current_action() ) :18 if ( bp_is_current_action( 'edit' ) ) 19 19 locate_template( array( 'members/single/profile/edit.php' ), true ); 20 21 elseif ( 'change-avatar' == bp_current_action() ) : 20 elseif ( bp_is_current_action( 'change-avatar' ) ) 22 21 locate_template( array( 'members/single/profile/change-avatar.php' ), true ); 23 24 elseif ( bp_is_active( 'profile' ) ) : 22 elseif ( bp_is_active( 'profile' ) ) 25 23 locate_template( array( 'members/single/profile/profile-loop.php' ), true ); 26 27 else : 24 else 28 25 locate_template( array( 'members/single/profile/profile-wp.php' ), true ); 29 30 endif;31 26 ?> 32 27
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)