Changeset 1695
- Timestamp:
- 08/25/2009 01:39:35 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-framework/profile/profile-loop.php
r1655 r1695 41 41 42 42 <div class="button-block"> 43 <?php if ( bp_is_home() ) : ?>43 <?php if ( bp_is_home() || is_site_admin() ) : ?> 44 44 45 45 <?php bp_edit_profile_button() ?> -
trunk/bp-xprofile/bp-xprofile-templatetags.php
r1655 r1695 638 638 ?> 639 639 <div class="generic-button"> 640 <a class="edit" title="<?php _e( 'Edit Profile', 'buddypress' ) ?>" href="<?php echo $bp-> loggedin_user->domain . $bp->profile->slug ?>/edit"><?php _e( 'Edit Profile', 'buddypress' ) ?></a>640 <a class="edit" title="<?php _e( 'Edit Profile', 'buddypress' ) ?>" href="<?php echo $bp->displayed_user->domain . $bp->profile->slug ?>/edit"><?php _e( 'Edit Profile', 'buddypress' ) ?></a> 641 641 </div> 642 642 <?php
Note: See TracChangeset
for help on using the changeset viewer.