summaryrefslogtreecommitdiff
path: root/portal/template/admin/comments.html
blob: 7f25edfaab81038c498803fd778727e6aeac2f09 (plain)
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
<h1>Documentation Comment Administration</h1>
<p>
Available actions:
<ul>
 <li>Preview = preview comment on the documentation page</li>
 <li>Edit = edit comment text</li>
 <li>Delete = delete comment without notifying author</li>
 <li>Reject = delete comment, automatically send mail to author about rejection</li>
 <li>Approve = approve for display on the website</li>
 <li>Save = save comment for later review, don't show on website, send mail to author about saving</li>
</ul>
<br />
</p>

<h3>Showing comments based on filter: {filter}</h3>

<!-- BEGIN comments_block -->
<div class="tblBasic">
<table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey">
<tr>
        <th class="colFirst">Comment</th>
        <th class="colMid">Status</th>
        <th class="colLast">Actions</th>
</tr>
<!-- BEGIN comments_loop -->
<tr>
        <td class="colFirstT">
                <b>Comment:</b> {comment}<br />
		<b>Manual Page:</b> <a href="/docs/{version}/interactive/{file}">current docs page</a><br/>
                <b>Posted:</b> {posted_at}<br />
                <b>By:</b> {posted_by}<br />
                <b>ID:</b> {id}<br />
        </td>
        <td class="colMidT">func_getstate({processed},{approved})</td>
        <td class="colLastT"><a href="/docs/{version}/interactive/{file}?preview=1">Preview</a><br /><a href="comment-edit.php?id={id}">Edit</a><br /><a href="comments.php?action=delete&id={id}" onclick="return confirm('Are you sure you want to delete this comment?');">Delete</a><br /><a href="comments.php?action=reject&id={id}" onclick="return confirm('Are you sure you want to reject this comment? This will send a mail to the writer.');">Reject</a><br/>
        <a href="comments.php?action=approve&id={id}">Approve</a><br />
        <a href="comments.php?action=save&id={id}">Save</a><br />
        </td>
</tr>
<!-- END comments_loop -->
</table>
</div>
<!-- BEGIN comments_backnext -->
 <!-- BEGIN comments_back -->
  <a href="comments.php?{backqs}&offset=0">First</a>
  <a href="comments.php?{backqs}&offset={backofs}">Back</a>
 <!-- END comments_back -->
 <!-- BEGIN comments_next -->
  <a href="comments.php?{nextqs}&offset={nextofs}">Next</a>
 <!-- END comments_next --> 
<!-- END comments_backnext -->

<!-- END comments_block -->

<!-- BEGIN comments_empty -->
<p>No comments found.</p>
<!-- END comments_empty -->
<h3>Search for comments</h3>
<!-- INCLUDE admin/common-form.html -->