From fd95dfe5b39060542b1862c07361e8b5dd5482dd Mon Sep 17 00:00:00 2001 From: mrgoldy Date: Thu, 7 Nov 2019 10:55:51 +0100 Subject: [PATCH] [ticket/15538] Amend iconfiy to data attributes PHPBB3-15538 --- phpBB/styles/prosilver/template/icons/iconify.html | 2 +- tests/template/extension_test.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/styles/prosilver/template/icons/iconify.html b/phpBB/styles/prosilver/template/icons/iconify.html index 74820bafc0..480313faca 100644 --- a/phpBB/styles/prosilver/template/icons/iconify.html +++ b/phpBB/styles/prosilver/template/icons/iconify.html @@ -1,4 +1,4 @@ {% spaceless %} - + {% if TITLE %}{{ lang(TITLE) }}{% endif %} {% endspaceless %} diff --git a/tests/template/extension_test.php b/tests/template/extension_test.php index fec06fe296..a5af922c02 100644 --- a/tests/template/extension_test.php +++ b/tests/template/extension_test.php @@ -313,7 +313,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case 'attributes' => [], ], [], - '', + '', ], /** Iconify: all options */ [ @@ -330,7 +330,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case [ 'ICON_PENCIL' => 'Pencil icon', ], - ' + ' Pencil icon', ], /** PNG: default */