[ticket/15289] Use lang_defined()

PHPBB3-15289
This commit is contained in:
Rubén Calvo 2017-09-08 11:54:10 +02:00
parent 7a0c5fcb18
commit 557165ac2f

View file

@ -37,7 +37,10 @@
{% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %}
<dl>
<dt>
<label for="{{ input_id }}">{{ lang(title) }}{{ lang('COLON') }}</label>{% if description != lang(description) %}<br /><span>{{ lang(description) }}</span>{% endif %}
<label for="{{ input_id }}}">{{ lang(title) }}{{ lang('COLON') }}</label>
{% if lang_defined(description) %}
<br /><span>{{ lang(description) }}</span>
{% endif %}
</dt>
<dd>
{% if input_type in ['text', 'password', 'email'] %}