From b917cf1eccc62f5f533c0a61ffd699764b39e404 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 18 Jun 2017 22:25:41 -0700 Subject: allow moderated comments like wordpress if permissions are compatible --- view/tpl/comment_item.tpl | 7 ++++--- view/tpl/search_item.tpl | 11 +++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 92eeac056..02b0c527c 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -11,9 +11,10 @@ {{if $anoncomments && ! $observer}} -
- {{include file="field_input.tpl" field=$authorname}} - {{include file="field_input.tpl" field=$authormail}} + {{/if}} 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 @@ -101,6 +101,17 @@
+ {{/if}} + {{if $item.mode === 'moderate'}} + +
+ {{$item.approve}} + {{$item.delete}} + +
+ + + {{/if}} -- cgit v1.2.3