Changeset 3810 for trunk/bp-themes/bp-default/members/single/profile.php
- Timestamp:
- 01/22/2011 10:13:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/profile.php
r3808 r3810 1 <?php 2 3 /** 4 * BuddyPress - Users Profile 5 * 6 * @package BuddyPress 7 * @subpackage bp-default 8 */ 9 10 ?> 11 1 12 <?php if ( bp_is_my_profile() ) : ?> 2 13 … … 16 27 17 28 <?php 29 // Profile Edit 18 30 if ( bp_is_current_action( 'edit' ) ) 19 31 locate_template( array( 'members/single/profile/edit.php' ), true ); 32 33 // Change Avatar 20 34 elseif ( bp_is_current_action( 'change-avatar' ) ) 21 35 locate_template( array( 'members/single/profile/change-avatar.php' ), true ); 36 37 // Display XProfile 22 38 elseif ( bp_is_active( 'profile' ) ) 23 39 locate_template( array( 'members/single/profile/profile-loop.php' ), true ); 40 41 // Display WordPress profile (fallback) 24 42 else 25 43 locate_template( array( 'members/single/profile/profile-wp.php' ), true );
Note: See TracChangeset
for help on using the changeset viewer.