diff --git a/phpBB/search.php b/phpBB/search.php index 59ed6a646b..e136096b60 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -247,7 +247,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $ex_fid_ary = array_unique(array_merge(array_keys($auth->acl_getf('!f_read', true)), array_keys($auth->acl_getf('!f_search', true)))); } - // Consider if there are any forums where can read forum = no, can read topics = yes + // Consider if there are any forums where can read forum = no, can read topics = yes // In these cases, the user should see the topic title in the search results but not the link to the topic (or any posts) because they don't have the permissions if ($request->variable('sr', '') == 'topics' && $search_fields == 'titleonly') { diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index 8f664201bb..4c4c6aaa1c 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -80,7 +80,7 @@
  • style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;" title="{searchresults.TOPIC_FOLDER_IMG_ALT}"> - {% if searchresults.U_NEWEST_POST and searchresults.S_UNREAD_TOPIC and not S_IS_BOT %}{% endif %} + {% if searchresults.U_NEWEST_POST and searchresults.S_UNREAD_TOPIC and not S_IS_BOT %}{% endif %}
    {% if searchresults.U_NEWEST_POST and searchresults.S_UNREAD_TOPIC and not S_IS_BOT %} @@ -88,7 +88,7 @@ {L_NEW_POST} {% endif %} - {% if searchresults.U_VIEW_TOPIC %}{searchresults.TOPIC_TITLE}{% else %}{searchresults.TOPIC_TITLE}{% endif %} + {% if searchresults.U_VIEW_TOPIC %}{{ searchresults.TOPIC_TITLE }}{% else %}{{ searchresults.TOPIC_TITLE }}{% endif %} {L_TOPIC_UNAPPROVED} diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index c02cc4879a..49aad65572 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -158,7 +158,7 @@
    style="background-image: url('{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}'); background-repeat: no-repeat;" title="{topicrow.TOPIC_FOLDER_IMG_ALT}"> - {% if topicrow.U_NEWEST_POST and topicrow.S_UNREAD_TOPIC and not S_IS_BOT %}{% endif %} + {% if topicrow.U_NEWEST_POST and topicrow.S_UNREAD_TOPIC and not S_IS_BOT %}{% endif %}
    {% if topicrow.U_NEWEST_POST and topicrow.S_UNREAD_TOPIC and not S_IS_BOT %}