diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index 06a4e32c43..9e8a3c3e9b 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -81,12 +81,12 @@
{% if searchresults.U_NEWEST_POST and searchresults.S_UNREAD_TOPIC and not S_IS_BOT %} - {% set searchresults.U_ITEM_LINK = searchresults.U_NEWEST_POST %} + {% set U_ITEM_LINK = searchresults.U_NEWEST_POST %} {% elseif searchresults.U_VIEW_TOPIC %} - {% set searchresults.U_ITEM_LINK = searchresults.U_VIEW_TOPIC %} + {% set U_ITEM_LINK = searchresults.U_VIEW_TOPIC %} {% endif %} - {% if searchresults.U_ITEM_LINK is defined %} - + {% if U_ITEM_LINK is defined %} + {{ Icon('svg', { 'globe' : searchresults.S_POST_GLOBAL, 'bullhorn' : searchresults.S_POST_ANNOUNCE, diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index 5a65d59eff..63750e3218 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -159,12 +159,12 @@
{% if topicrow.U_NEWEST_POST and topicrow.S_UNREAD_TOPIC and not S_IS_BOT %} - {% set topicrow.U_ITEM_LINK = topicrow.U_NEWEST_POST %} + {% set U_ITEM_LINK = topicrow.U_NEWEST_POST %} {% elseif topicrow.U_VIEW_TOPIC %} - {% set topicrow.U_ITEM_LINK = topicrow.U_VIEW_TOPIC %} + {% set U_ITEM_LINK = topicrow.U_VIEW_TOPIC %} {% endif %} - {% if topicrow.U_ITEM_LINK is defined %} - + {% if U_ITEM_LINK is defined %} + {{ Icon('svg', { 'globe' : topicrow.S_POST_GLOBAL, 'bullhorn' : topicrow.S_POST_ANNOUNCE,