{% import 'default/macro/macro.tpl' as display %} {% extends 'layout/layout_1_col.tpl'|get_template %} {% block content %} {% if 'translate_html'|api_get_configuration_value %} {% endif %} {{ form_content }} {{ search_filter }} {% set fold_forum_categories = 'forum_fold_categories'|api_get_configuration_value %} {% if data is not empty %} {% for item in data %} {% set category_language_array = [] %} {% set category_language = '' %} {% for extra_field in item.extra_fields %} {% if extra_field.variable == 'language' %} {% set category_language_array = extra_field.value | split(';') %} {% set category_language = extra_field.value | replace({';': ' ' }) %} {% endif %} {% endfor %} {% if fold_forum_categories %} {% set panel_icon %} {{ 'forum_blue.png'|img(32) }} {% endset %} {% set panel_title %} {{ item.title }}{{ item.icon_session }} {% for category_language_item in category_language_array %} {% endfor %} {% endset %} {% else %} {% set panel_title %} {{ 'forum_blue.png'|img(32) }} {{ item.title }}{{ item.icon_session }} {% for category_language_item in category_language_array %} {% endfor %}
{{ 'ForumThreads'| get_lang }}: {{ subitem.number_threads }}