1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-04 07:53:06 +02:00

[ticket/15289] Fix show field description

PHPBB3-15289
This commit is contained in:
Rubén Calvo 2017-08-16 18:28:13 +02:00
parent d322404d00
commit 0789a42c7a

@ -31,7 +31,9 @@
{% for name, options in provider.get_options %}
<dl>
<dt>
<label for="">{{ lang('STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper) }}{{ lang('COLON') }}</label>{% if description is not empty %}<br /><span>{{ lang(description) }}</span>{% endif %}
{% set title = 'STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper %}
{% set description = 'STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper ~ '_EXPLAIN' %}
<label for="">{{ lang(title) }}{{ lang('COLON') }}</label>{% if description != lang(description) %}<br /><span>{{ lang(description) }}</span>{% endif %}
</dt>
<dd>
{% set input_type = options['type'] %}