diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-20 18:34:17 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-20 18:34:17 -0700 |
commit | 08c0729f5ff8ac97c27db08ae2dde1a052c71e25 (patch) | |
tree | 9ce2ee515601a79156e89e5158fc3b8047f6e90a /view/tpl | |
parent | 234c64574b4ee5ca22b85ae2fecc301286423068 (diff) | |
parent | 76e98091690cf5f2726bf7cefea217d49b23a5b4 (diff) | |
download | volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.gz volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.bz2 volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/comment_item.tpl | 8 | ||||
-rwxr-xr-x | view/tpl/search_item.tpl | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index bd5176c83..02b0c527c 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -10,6 +10,14 @@ <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}}" style="display: none;" > + {{include file="field_input.tpl" field=$anonname}} + {{include file="field_input.tpl" field=$anonmail}} + {{include file="field_input.tpl" field=$anonurl}} + {{$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}});" > diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index 66618a216..4ca6378b8 100755 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -102,6 +102,17 @@ <div class="dropdown-menu">{{$item.attachments}}</div> </div> {{/if}} + {{if $item.mode === 'moderate'}} + + <div class="wall-item-tools-left btn-group"> + <a href="moderate/{{$item.id}}/approve" class="btn btn-outline-secondary btn-small">{{$item.approve}}</a> + <a href="moderate/{{$item.id}}/drop" class="btn btn-outline-secondary btn-small">{{$item.delete}}</a> + + </div> + + + + {{/if}} </div> </div> {{if $item.conv}} |