1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-25 17:41:25 +02:00

[ticket/16737] Twig improvements, phpdoc and fix variable

PHPBB3-16737
This commit is contained in:
rubencm
2021-04-03 21:48:10 +02:00
parent e5d5c0e29f
commit a168c0f545
3 changed files with 42 additions and 48 deletions

View File

@@ -20,7 +20,7 @@
<p>{{ lang('ACP_SEARCH_INDEX_EXPLAIN') }}</p>
{% for backend in loops.backend %}
{% for backend in backends %}
{% if backend.S_STATS is not empty %}
@@ -30,7 +30,7 @@
{{ backend.S_HIDDEN_FIELDS }}
<legend>{{ lang('INDEX_STATS') }}{{ lang('COLON') }} {{ backend.NAME }} {% if backend.S_ACTIVE %}({{ lang('ACTIVE') }}) {% endif %}</legend>
<legend>{{ lang('INDEX_STATS') ~ lang('COLON') }} {{ backend.NAME }} {% if backend.S_ACTIVE %}({{ lang('ACTIVE') }}) {% endif %}</legend>
<table class="table1">
<caption>{{ backend.NAME }} {% if backend.S_ACTIVE %}({{ lang('ACTIVE') }}) {% endif %}</caption>
@@ -48,7 +48,7 @@
<tr>
{% for key, value in stat %}
{% if value is not empty %}
<td>{{ key }}{{ lang('COLON') }}</td>
<td>{{ key ~ lang('COLON') }}</td>
<td>{{ value }}</td>
{% else %}
<td></td>