[ticket/15289] Update acp storage template

PHPBB3-15289
This commit is contained in:
Rubén Calvo 2017-08-03 21:37:48 +02:00
parent fdb75ed443
commit f36a6d845d

View file

@ -38,10 +38,7 @@
{% set input_name = storage.get_name ~ '[' ~ name ~ ']' %} {% set input_name = storage.get_name ~ '[' ~ name ~ ']' %}
{% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %} {% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %}
{% if {% if input_type in ['text', 'password', 'email'] %}
input_type == 'text' or
input_type == 'password' or
input_type == 'email' %}
<input id="" type="{{ input_type }}" name="{{ input_name }}" value="{{ input_value }}" maxlength="{{ options['maxlength'] ?: 255 }}" /> <input id="" type="{{ input_type }}" name="{{ input_name }}" value="{{ input_value }}" maxlength="{{ options['maxlength'] ?: 255 }}" />
{% elseif input_type == 'textarea' %} {% elseif input_type == 'textarea' %}
<textarea id="" name="{{ input_name }}">{{ input_value }}</textarea> <textarea id="" name="{{ input_name }}">{{ input_value }}</textarea>