1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/15538] Add iconify

PHPBB3-15538
This commit is contained in:
mrgoldy
2019-11-06 14:51:36 +01:00
parent 8e8532561b
commit 0eb9912af8
3 changed files with 37 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ class icon extends \Twig\Extension\AbstractExtension
* Generate icon HTML for use in the template, depending on the mode.
*
* @param environment $environment Twig environment object
* @param string $type Icon type (font|png|svg)
* @param string $type Icon type (font|iconify|png|svg)
* @param string $icon Icon name (eg. "bold")
* @param string $title Icon title
* @param bool $hidden Hide the icon title from view
@@ -72,6 +72,7 @@ class icon extends \Twig\Extension\AbstractExtension
switch ($type)
{
case 'font':
case 'iconify':
$source = '';
break;