[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

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


Generated: Tue Sep 17 01:01:39 2019 Cross-referenced by PHPXref 0.7.1