diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-17 17:59:31 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-06-19 16:02:28 +0200 |
commit | 3d6255ae24310a935caf4e74729aa7165f94aeda (patch) | |
tree | 0e04b8d906d6b6dcaec8b053b68a38f50e9798ea /view/tpl | |
parent | f25e0c3829abd4a89956773b965e45d0e9db18cc (diff) | |
download | volse-hubzilla-3d6255ae24310a935caf4e74729aa7165f94aeda.tar.gz volse-hubzilla-3d6255ae24310a935caf4e74729aa7165f94aeda.tar.bz2 volse-hubzilla-3d6255ae24310a935caf4e74729aa7165f94aeda.zip |
brainstorming a comment moderation system
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/comment_item.tpl | 7 |
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}});" > |