1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-05 00:13:29 +02:00

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