Skip to content

Commit

Permalink
[ticket/15289] Fix show field description
Browse files Browse the repository at this point in the history
PHPBB3-15289
  • Loading branch information
rubencm committed Aug 25, 2017
1 parent 11f9362 commit d624a48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpBB/adm/style/acp_storage.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ <h1>{{ lang('STORAGE_TITLE') }}</h1>
{% 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'] %}
Expand Down

0 comments on commit d624a48

Please sign in to comment.