-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-reply.php
81 lines (55 loc) · 1.99 KB
/
single-reply.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
* Single Reply
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php get_header(); ?>
<div id="container">
<div id="content" role="main">
<?php do_action( 'bbp_template_notices' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper">
<h1 class="entry-title"><?php bbp_reply_title(); ?></h1>
<?php bbp_breadcrumb(); ?>
<div class="entry-content">
<table class="bbp-replies" id="topic-<?php bbp_topic_id(); ?>-replies">
<thead>
<tr>
<th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th>
<th class="bbp-reply-content"><?php _e( 'Replies', 'bbpress' ); ?></th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2"><?php bbp_topic_admin_links(); ?></td>
</tr>
</tfoot>
<tbody>
<tr class="bbp-reply-header">
<td class="bbp-reply-author">
<?php bbp_reply_author_display_name(); ?>
</td>
<td class="bbp-reply-content">
<a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>">#</a>
<?php printf( __( 'Posted on %1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?>
<span><?php bbp_reply_admin_links(); ?></span>
</td>
</tr>
<tr id="reply-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
<td class="bbp-reply-author"><?php bbp_reply_author_link( array( 'type' => 'avatar' ) ); ?></td>
<td class="bbp-reply-content">
<?php bbp_reply_content(); ?>
</td>
</tr><!-- #topic-<?php bbp_topic_id(); ?>-replies -->
</tbody>
</table>
</div><!-- .entry-content -->
</div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> -->
<?php endwhile; ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>