Archived
1
0

add censortools to postform

This commit is contained in:
Jeff Becker
2017-01-12 09:24:51 -05:00
parent 25ae491ddc
commit 0e394ae25e
4 changed files with 140 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
<div id="{{post.PostHash}}" class="{{post.CSSClass}}"
<div id="{{post.PostHash}}" class="{{post.CSSClass}} post"
data-frontend="{{post.Frontend}}"
data-newsgroup="{{post.Board}}"
data-msgid="{{post.MessageID}}"
@@ -31,6 +31,15 @@
{{/post.IsClearnet}}
</span>
<div class="postreply">
<div class="postreport">
<label for="report_{{post.PostHash}}">[x]</label>
<input type="checkbox" id="report_{{post.PostHash}}">
<div style="display: none;" onclick="nntpchan_report('{{post.MessageID}}', '{{post.Reference}}')">
<div class="mod-delete">
[delete]
</div>
</div>
</div>
<a class="postno" onclick="nntpchan_reply(this, '{{post.ShortHash}}');" root="{{post.Reference}}" boardname="{{post.Board}}">&gt;&gt;{{post.ShortHash}}</a>
<a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a>
</div>