From 2ec1c3d279e084918fbd60b2127c19ed996ad56c Mon Sep 17 00:00:00 2001 From: Ruben Calvo Date: Sun, 18 Feb 2024 10:44:41 +0100 Subject: [PATCH] [ticket/15699] Improve code style PHPBB3-15699 --- phpBB/adm/style/acp_storage.html | 32 +++++++++++++-------------- phpBB/includes/acp/acp_storage.php | 6 ++--- phpBB/phpbb/storage/adapter/local.php | 2 -- phpBB/phpbb/storage/state_helper.php | 2 -- phpBB/phpbb/storage/storage.php | 8 +++---- 5 files changed, 23 insertions(+), 27 deletions(-) diff --git a/phpBB/adm/style/acp_storage.html b/phpBB/adm/style/acp_storage.html index 63f52a276e..39ca5bb012 100644 --- a/phpBB/adm/style/acp_storage.html +++ b/phpBB/adm/style/acp_storage.html @@ -16,34 +16,34 @@ - {% for storage in STORAGE_STATS %} - - {{ storage.name }} - {{ storage.files }} - {{ storage.size }} - {{ storage.free_space }} - - {% endfor %} + {% for storage in STORAGE_STATS %} + + {{ storage.name }} + {{ storage.files }} + {{ storage.size }} + {{ storage.free_space }} + + {% endfor %} {% if ERROR_MESSAGES is not empty %} -
-

{{ lang('WARNING') }}

- {% for ERROR_MESSAGE in ERROR_MESSAGES %} -

{{ ERROR_MESSAGE }}

- {% endfor %} -
+
+

{{ 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_' ~ storage.get_name | upper ~ '_TITLE') }}

{{ lang('STORAGE_SELECT_DESC') }}
- {% for provider in PROVIDERS %} {% if provider.is_available %}