Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/22/2011 08:58:56 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Clean up single member root template files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/member-header.php

    r3771 r3808  
    1 <?php do_action( 'bp_before_member_header' ) ?>
     1<?php do_action( 'bp_before_member_header' ); ?>
    22
    33<div id="item-header-avatar">
    4         <a href="<?php bp_user_link() ?>">
    5                 <?php bp_displayed_user_avatar( 'type=full' ) ?>
     4        <a href="<?php bp_user_link(); ?>">
     5
     6                <?php bp_displayed_user_avatar( 'type=full' ); ?>
     7
    68        </a>
    79</div><!-- #item-header-avatar -->
     
    911<div id="item-header-content">
    1012
    11         <h2 class="fn"><a href="<?php bp_displayed_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="highlight">@<?php bp_displayed_user_username() ?> <span>?</span></span></h2>
    12         <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span>
     13        <h2 class="fn">
     14                <a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a>
     15                <span class="highlight">@<?php bp_displayed_user_username(); ?> <span>?</span></span>
     16        </h2>
     17        <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    1318
    14         <?php do_action( 'bp_before_member_header_meta' ) ?>
     19        <?php do_action( 'bp_before_member_header_meta' ); ?>
    1520
    1621        <div id="item-meta">
     22
    1723                <?php if ( bp_is_active( 'activity' ) ) : ?>
     24
    1825                        <div id="latest-update">
    19                                 <?php bp_activity_latest_update( bp_displayed_user_id() ) ?>
     26
     27                                <?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
     28
    2029                        </div>
     30
    2131                <?php endif; ?>
    2232
     
    2838
    2939                <?php
    30                  /***
    31                   * If you'd like to show specific profile fields here use:
    32                   * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field
    33                   */
    34                 ?>
     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                 do_action( 'bp_profile_header_meta' );
    3545
    36                 <?php do_action( 'bp_profile_header_meta' ) ?>
     46                ?>
    3747
    3848        </div><!-- #item-meta -->
     
    4050</div><!-- #item-header-content -->
    4151
    42 <?php do_action( 'bp_after_member_header' ) ?>
     52<?php do_action( 'bp_after_member_header' ); ?>
    4353
    44 <?php do_action( 'template_notices' ) ?>
     54<?php do_action( 'template_notices' ); ?>
Note: See TracChangeset for help on using the changeset viewer.