Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
plugins
/
wpforo
/
themes
/
2026
/
layouts
/
3
/
Editing: comment.php
<?php // Exit if accessed directly if( !defined( 'ABSPATH' ) ) exit; function wpforo_qa_comment_template($comment, $forum = array(), $topic = array()){ if( !$forum ) $forum = (array) wpfval(WPF()->current_object, 'forum'); $comment_member = wpforo_member($comment); ?> <div id="post-<?php echo wpforo_bigintval($comment['postid']) ?>" data-postid="<?php echo wpforo_bigintval($comment['postid']) ?>" data-userid="<?php echo wpforo_bigintval($comment_member['userid']) ?>" data-mention="<?php echo esc_attr( ( wpforo_setting( 'profiles', 'mention_nicknames' ) ? $comment_member['user_nicename'] : '') ) ?>" data-isowner="<?php echo esc_attr( (int) (bool) wpforo_is_owner($comment_member['userid']) ) ?>" class="comment-wrap"> <div class="wpforo-comment wpfcl-1"> <div class="wpf-left"> <div class="wpf-comment-icon wpfcl-0"><i class="fas fa-reply fa-rotate-180"></i></div> </div> <div class="wpf-right"> <div class="wpforo-comment-content"> <?php if($comment['status']): ?> <div class="wpf-mod-message"> <i class="fas fa-exclamation-circle" aria-hidden="true"></i> <?php wpforo_phrase('Awaiting moderation') ?> </div> <?php endif; ?> <div class="wpforo-comment-top"> <div class="wpfcl-0 wpforo-comment-meta"> <?php if( WPF()->usergroup->can('va') && wpforo_setting( 'profiles', 'avatars' ) ) : ?> <div class="wpforo-comment-avatar"><?php echo wpforo_user_avatar($comment_member, 36) ?></div> <?php endif; ?> <div class="wpforo-comment-author"><?php wpforo_member_link($comment_member); ?></div> <div class="wpforo-comment-starter"><?php wpforo_topic_starter($topic, $comment) ?></div> <div class="wpforo-comment-date"><?php wpforo_date($comment['created'], 'd/m/Y g:i a'); ?></div> <?php do_action( 'wpforo_post_content_top_left', $comment ) ?> </div> <?php do_action( 'wpforo_tpl_post_loop_after_content', $comment, $comment_member ) ?> <?php wpforo_post_edited($comment); ?> </div> <div class="wpforo-comment-text"> <?php wpforo_content($comment); ?> <?php do_action( 'wpforo_post_content_footer', $comment, $topic, $forum, 3 ) ?> </div> <div class="wpforo-comment-action-links"> <?php $buttons = array( 'report', 'approved', 'edit', 'delete', 'link' ); WPF()->tpl->buttons( $buttons, $forum, $comment, $comment ); ?> </div> </div> </div><!-- right --> <div class="wpf-clear"></div> </div><!-- wpforo-post --> </div><!-- comment-wrap --> <?php }
Save
Cancel