Ejemplo n.º 1
0
<li id="post-<?php 
bbp_reply_id();
?>
" class="reply">
	
	<header class="reply-header">
		<time class="reply-time" datetime="<?php 
echo get_the_time('Y-m-d\\TH:i');
?>
"><?php 
echo bp_core_time_since(strtotime(get_the_time('c')), current_time('timestamp'));
?>
</time>
		<?php 
apoc_report_post_button('reply');
?>
		
		<div class="reply-admin-links">
			<?php 
apoc_reply_admin_links(bbp_get_reply_id());
?>
			<a class="reply-permalink" href="<?php 
bbp_reply_url();
?>
">#<?php 
echo bbp_get_reply_position();
?>
</a>
		</div>
	</header>
Ejemplo n.º 2
0
?>
<li id="comment-<?php 
echo $comment->comment_ID;
?>
" class="reply">
	
	<header class="reply-header">
		<time class="reply-time" datetime="<?php 
echo date('Y-m-d\\TH:i', strtotime($comment->comment_date));
?>
"><?php 
echo bp_core_time_since($comment->comment_date_gmt, current_time('timestamp', true));
?>
</time>
		<?php 
apoc_report_post_button('comment');
?>
		<div class="reply-admin-links">
			<?php 
apoc_comment_admin_links();
?>
			<a class="reply-permalink" href="<?php 
echo get_comment_link($comment->comment_ID);
?>
" title="Link directly to this comment">#<?php 
echo $count;
?>
</a>
		</div>
	</header>