aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-17 17:59:31 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-19 16:02:28 +0200
commit3d6255ae24310a935caf4e74729aa7165f94aeda (patch)
tree0e04b8d906d6b6dcaec8b053b68a38f50e9798ea
parentf25e0c3829abd4a89956773b965e45d0e9db18cc (diff)
downloadvolse-hubzilla-3d6255ae24310a935caf4e74729aa7165f94aeda.tar.gz
volse-hubzilla-3d6255ae24310a935caf4e74729aa7165f94aeda.tar.bz2
volse-hubzilla-3d6255ae24310a935caf4e74729aa7165f94aeda.zip
brainstorming a comment moderation system
-rwxr-xr-xview/tpl/comment_item.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index bd5176c83..92eeac056 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -10,6 +10,13 @@
<input type="hidden" name="return" value="{{$return_path}}" />
<input type="hidden" name="jsreload" value="{{$jsreload}}" />
<input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
+ {{if $anoncomments && ! $observer}}
+ <div id="comment-edit-anon-{{$id}}">
+ {{include file="field_input.tpl" field=$authorname}}
+ {{include file="field_input.tpl" field=$authormail}}
+ {{$anon_extras}}
+ </div>
+ {{/if}}
<textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpenUI(this,{{$id}});" onBlur="commentCloseUI(this,{{$id}});" ondragenter="linkdropper(event);" ondragleave="linkdropexit(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >{{$comment}}</textarea>
{{if $qcomment}}
<select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >