{% include 'overall_header.html' %}

{{ lang('STORAGE_TITLE') }}

{{ lang('STORAGE_TITLE_EXPLAIN') }}

{% for storage in STORAGE_STATS %} {% endfor %}
{{ lang('STORAGE_NAME') }} {{ lang('STORAGE_NUM_FILES') }} {{ lang('STORAGE_SIZE') }} {{ lang('STORAGE_FREE') }}
{{ storage.name }} {{ storage.files }} {{ storage.size }} {{ storage.free_space }}
{% if ERROR_MESSAGES is not empty %}

{{ lang('WARNING') }}

{% for ERROR_MESSAGE in ERROR_MESSAGES %}

{{ ERROR_MESSAGE }}

{% endfor %}
{% endif %}
{% for storage in STORAGES %}
{{ lang('STORAGE_' ~ storage.get_name | upper ~ '_TITLE') }}

{{ lang('STORAGE_SELECT_DESC') }}
{% for provider in PROVIDERS %} {% if provider.is_available %}
{{ lang('STORAGE_' ~ storage.get_name | upper ~ '_TITLE') }} - {{ lang('STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_NAME') }} {% for name, options in provider.get_options %}
{% set title = 'STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper %} {% set description = 'STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper ~ '_EXPLAIN' %} {% if lang_defined(description) %}
{{ lang(description) }} {% endif %}
{% set input_name = storage.get_name ~ '[' ~ name ~ ']' %} {% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %} {% if options['type'] in ['text', 'password', 'email'] %} {{ FormsBuildTemplate(options | merge({"name": input_name, "value": input_value})) }} {% elseif options['type'] == 'textarea' %} {{ FormsBuildTemplate(options | merge({"name": input_name, "content": input_value})) }} {% endif %}
{% endfor %}
{% endif %} {% endfor %} {% endfor %}
{{ lang('SUBMIT') }}   {{ S_FORM_TOKEN }}
{% include 'overall_footer.html' %}