From cf429fd8d005010ab6ad9b39ca25f699bf9e1ab6 Mon Sep 17 00:00:00 2001 From: mrgoldy Date: Sun, 10 Nov 2019 22:16:20 +0100 Subject: [PATCH] [ticket/15538] Remove fa: from iconify function PHPBB3-15538 --- phpBB/styles/prosilver/template/icons/iconify.html | 2 +- tests/template/extension_test.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/styles/prosilver/template/icons/iconify.html b/phpBB/styles/prosilver/template/icons/iconify.html index 480313faca..436999069e 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 a5af922c02..a9b2273372 100644 --- a/tests/template/extension_test.php +++ b/tests/template/extension_test.php @@ -306,7 +306,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case [ [ 'type' => 'iconify', - 'icon' => 'phone', + 'icon' => 'fa:phone', 'title' => '', 'hidden' => false, 'classes' => '', @@ -319,7 +319,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case [ [ 'type' => 'iconify', - 'icon' => 'pencil', + 'icon' => 'mdi:pencil', 'title' => 'ICON_PENCIL', 'hidden' => true, 'classes' => 'icon-lg', @@ -330,7 +330,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case [ 'ICON_PENCIL' => 'Pencil icon', ], - ' + ' Pencil icon', ], /** PNG: default */