- Timestamp:
- 02/03/2010 03:25:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/member-header.php
r2522 r2566 1 1 <?php do_action( 'bp_before_member_header' ) ?> 2 2 3 <?php bp_displayed_user_avatar( 'type=full' ) ?> 3 <div id="item-header-avatar"> 4 <?php bp_displayed_user_avatar( 'type=full' ) ?> 5 </div><!-- #item-header-avatar --> 4 6 5 <h2 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="highlight">@<?php bp_displayed_user_username() ?> <span>?</span></span></h2> 6 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span> 7 <div id="item-header-content"> 7 8 8 <?php do_action( 'bp_before_member_header_meta' ) ?> 9 <h2 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="highlight">@<?php bp_displayed_user_username() ?> <span>?</span></span></h2> 10 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span> 9 11 10 <div id="item-meta"> 11 <?php if ( function_exists( 'bp_activity_latest_update' ) ) : ?> 12 <div id="latest-update"> 13 <?php bp_activity_latest_update( bp_displayed_user_id() ) ?> 14 </div> 15 <?php endif; ?> 12 <?php do_action( 'bp_before_member_header_meta' ) ?> 16 13 17 <div id="item-buttons"> 18 <?php if ( function_exists( 'bp_add_friend_button' ) ) : ?> 19 <?php bp_add_friend_button() ?> 20 <?php endif; ?> 21 22 <?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( 'bp_send_public_message_link' ) ) : ?> 23 <div class="generic-button" id="post-mention"> 24 <a href="<?php bp_send_public_message_link() ?>" title="<?php _e( 'Mention this user in a new public message, this will send the user a notification to get their attention.', 'buddypress' ) ?>"><?php _e( 'Mention this User', 'buddypress' ) ?></a> 14 <div id="item-meta"> 15 <?php if ( function_exists( 'bp_activity_latest_update' ) ) : ?> 16 <div id="latest-update"> 17 <?php bp_activity_latest_update( bp_displayed_user_id() ) ?> 25 18 </div> 26 19 <?php endif; ?> 27 20 28 <?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( 'bp_send_private_message_link' ) ) : ?> 29 <div class="generic-button" id="send-private-message"> 30 <a href="<?php bp_send_private_message_link() ?>" title="<?php _e( 'Send a private message to this user.', 'buddypress' ) ?>"><?php _e( 'Send Private Message', 'buddypress' ) ?></a> 31 </div> 32 <?php endif; ?> 33 </div> 21 <div id="item-buttons"> 22 <?php if ( function_exists( 'bp_add_friend_button' ) ) : ?> 23 <?php bp_add_friend_button() ?> 24 <?php endif; ?> 34 25 35 <?php 36 /*** 37 * If you'd like to show specific profile fields here use: 38 * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field 39 */ 40 ?> 26 <?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( 'bp_send_public_message_link' ) ) : ?> 27 <div class="generic-button" id="post-mention"> 28 <a href="<?php bp_send_public_message_link() ?>" title="<?php _e( 'Mention this user in a new public message, this will send the user a notification to get their attention.', 'buddypress' ) ?>"><?php _e( 'Mention this User', 'buddypress' ) ?></a> 29 </div> 30 <?php endif; ?> 41 31 42 <?php do_action( 'bp_profile_header_meta' ) ?> 32 <?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( 'bp_send_private_message_link' ) ) : ?> 33 <div class="generic-button" id="send-private-message"> 34 <a href="<?php bp_send_private_message_link() ?>" title="<?php _e( 'Send a private message to this user.', 'buddypress' ) ?>"><?php _e( 'Send Private Message', 'buddypress' ) ?></a> 35 </div> 36 <?php endif; ?> 37 </div><!-- #item-buttons --> 43 38 44 </div> 39 <?php 40 /*** 41 * If you'd like to show specific profile fields here use: 42 * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field 43 */ 44 ?> 45 46 <?php do_action( 'bp_profile_header_meta' ) ?> 47 48 </div><!-- #item-meta --> 49 50 </div><!-- #item-header-content --> 45 51 46 52 <?php do_action( 'bp_after_member_header' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.