diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-17 17:59:31 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-17 17:59:31 -0700 |
commit | 4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6 (patch) | |
tree | bc94f6f6be47dbf32a1e766d278e5401e971d0f0 /view/tpl/comment_item.tpl | |
parent | 1848a221180d20d7d904a828b8969653a0f319d0 (diff) | |
download | volse-hubzilla-4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6.tar.gz volse-hubzilla-4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6.tar.bz2 volse-hubzilla-4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6.zip |
brainstorming a comment moderation system
Diffstat (limited to 'view/tpl/comment_item.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}});" > |