@@ -117,9 +117,7 @@
{% elseif forum.forum_archived is defined and forum.forum_archived %}
{% set forum_icon = 'fas fa-archive fa-fw' %}
{% elseif forum.forum_type is defined and forum.forum_type != constant('MSZ_FORUM_TYPE_DISCUSSION') %}
- {% if forum.forum_type == constant('MSZ_FORUM_TYPE_FEATURE') %}
- {% set forum_icon = 'fas fa-star fa-fw' %}
- {% elseif forum.forum_type == constant('MSZ_FORUM_TYPE_LINK') %}
+ {% if forum.forum_type == constant('MSZ_FORUM_TYPE_LINK') %}
{% set forum_icon = 'fas fa-link fa-fw' %}
{% elseif forum.forum_type == constant('MSZ_FORUM_TYPE_CATEGORY') %}
{% set forum_icon = 'fas fa-folder fa-fw' %}
@@ -257,7 +255,6 @@
{% from 'macros.twig' import avatar %}
{% set topic_unread = topic_unread|default(topic.topic_unread|default(false)) %}
{% set topic_important = topic.topic_type == constant('MSZ_TOPIC_TYPE_STICKY') or topic.topic_type == constant('MSZ_TOPIC_TYPE_ANNOUNCEMENT') or topic.topic_type == constant('MSZ_TOPIC_TYPE_GLOBAL_ANNOUNCEMENT') %}
- {% set has_priority_voting = forum_has_priority_voting(topic.forum_type) %}
{% if topic_icon is null %}
{% if topic.topic_deleted is defined and topic.topic_deleted is not null %}
@@ -270,8 +267,6 @@
{% endif %}
{% elseif topic.topic_locked is defined and topic.topic_locked is not null %}
{% set topic_icon = 'fas fa-lock' %}
- {% elseif has_priority_voting %}
- {% set topic_icon = 'far fa-star' %}
{% else %}
{% set topic_icon = (topic_unread ? 'fas' : 'far') ~ ' fa-comment' %}
{% endif %}
@@ -281,12 +276,8 @@
-
-
-
- {% if has_priority_voting %}
-
{{ topic.topic_priority|number_format }}
- {% endif %}
+
+
{% if topic.topic_participated %}
@@ -471,120 +462,3 @@
{% endmacro %}
-
-{% macro forum_poll(poll, options, user_answers, topic_id, can_vote, preview_results) %}
- {% from '_layout/input.twig' import input_csrf, input_hidden, input_checkbox, input_checkbox_raw %}
- {% set user_answers = user_answers is empty or user_answers is not iterable ? [] : user_answers %}
- {% set user_answered = user_answers|length > 0 %}
- {% set results_available = preview_results or user_answered or poll.poll_expired or poll.poll_preview_results %}
- {% set options_available = not poll.poll_expired and (poll.poll_change_vote or not user_answered) %}
- {% set display_results = user_answered or poll.poll_expired %}
-
- {% if options is iterable and options|length > 0 %}
-