[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/activity/ -> comment.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Activity Stream Comment
   4   *
   5   * This template is used by bp_activity_comments() functions to show
   6   * each activity.
   7   *
   8   * @since 3.0.0
   9   * @version 10.0.0
  10   */
  11  
  12  bp_nouveau_activity_hook( 'before', 'comment' ); ?>
  13  
  14  <li id="acomment-<?php bp_activity_comment_id(); ?>" class="comment-item" <?php bp_nouveau_activity_data_attribute_id(); ?>>
  15      <div class="acomment-avatar item-avatar">
  16          <a href="<?php bp_activity_comment_user_link(); ?>">
  17              <?php
  18              bp_activity_avatar(
  19                  array(
  20                      'type'    => 'thumb',
  21                      'user_id' => bp_get_activity_comment_user_id(),
  22                  )
  23              );
  24              ?>
  25          </a>
  26      </div>
  27  
  28      <div class="acomment-meta">
  29  
  30          <?php bp_nouveau_activity_comment_action(); ?>
  31  
  32      </div>
  33  
  34      <div class="acomment-content"><?php bp_activity_comment_content(); ?></div>
  35  
  36      <?php bp_nouveau_activity_comment_buttons( array( 'container' => 'div' ) ); ?>
  37  
  38      <?php bp_nouveau_activity_recurse_comments( bp_activity_current_comment() ); ?>
  39  </li>
  40  
  41  <?php
  42  bp_nouveau_activity_hook( 'after', 'comment' );


Generated: Thu Apr 25 01:01:12 2024 Cross-referenced by PHPXref 0.7.1