[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/assets/embeds/ -> header-activity.php (source)

   1  <?php
   2  /**
   3   * @version 3.0.0
   4   */
   5  ?>
   6  
   7          <div id="bp-embed-header">
   8              <div class="bp-embed-avatar">
   9                  <a href="<?php bp_displayed_user_link(); ?>">
  10                      <?php bp_displayed_user_avatar( 'type=thumb&width=45&height=45' ); ?>
  11                  </a>
  12              </div>
  13  
  14              <?php if ( bp_activity_embed_has_activity( bp_current_action() ) ) : ?>
  15  
  16                  <?php while ( bp_activities() ) : bp_the_activity(); ?>
  17                      <p class="bp-embed-activity-action">
  18                          <?php bp_activity_action( array( 'no_timestamp' => true ) ); ?>
  19                      </p>
  20                  <?php endwhile; ?>
  21  
  22              <?php endif; ?>
  23  
  24              <p class="bp-embed-header-meta">
  25                  <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
  26                      <span class="bp-embed-mentionname">@<?php bp_displayed_user_mentionname(); ?> &middot; </span>
  27                  <?php endif; ?>
  28  
  29                  <span class="bp-embed-timestamp"><a href="<?php bp_activity_thread_permalink(); ?>"><?php echo date_i18n( get_option( 'time_format' ) . ' - ' . get_option( 'date_format' ), strtotime( bp_get_activity_date_recorded() ) ); ?></a></span>
  30              </p>
  31          </div>


Generated: Sun Apr 28 01:01:05 2024 Cross-referenced by PHPXref 0.7.1