diff --git a/phpBB/phpbb/template/twig/extension/icon.php b/phpBB/phpbb/template/twig/extension/icon.php
index be83222a62..3611f19042 100644
--- a/phpBB/phpbb/template/twig/extension/icon.php
+++ b/phpBB/phpbb/template/twig/extension/icon.php
@@ -48,7 +48,7 @@ class icon extends \Twig_Extension
public function getFunctions()
{
return [
- new \Twig_SimpleFunction('icon', [$this, 'icon'], ['needs_environment' => true]),
+ new \Twig_SimpleFunction('Icon', [$this, 'icon'], ['needs_environment' => true]),
];
}
diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html
index 3e37fb788e..38248328f0 100644
--- a/phpBB/styles/prosilver/template/index_body.html
+++ b/phpBB/styles/prosilver/template/index_body.html
@@ -37,30 +37,30 @@
Font
- {{ icon('font', 'bars', 'fa-fw icon-blue') }}
- {{ icon('font', 'envelope-o') }}
- {{ icon('font', 'pencil', '', '', true, {'data-ajax': 'true', 'data-refresh': 'true'}) }}
- {{ icon('font', 'phone') }}
-
{{ icon('font', 'pencil', 'fa-fw', 'POST_REPLY') }}
-
{{ icon('font', 'pencil', 'fa-fw', 'POST_REPLY') }}
+ {{ Icon('font', 'bars', 'fa-fw icon-blue') }}
+ {{ Icon('font', 'envelope-o') }}
+ {{ Icon('font', 'pencil', '', '', true, {'data-ajax': 'true', 'data-refresh': 'true'}) }}
+ {{ Icon('font', 'phone') }}
+
{{ Icon('font', 'pencil', 'fa-fw', 'POST_REPLY') }}
+
{{ Icon('font', 'pencil', 'fa-fw', 'POST_REPLY') }}
PNG
- {{ icon('png', 'bars') }}
- {{ icon('png', 'envelope') }}
- {{ icon('png', 'pencil') }}
- {{ icon('png', 'phone') }}
-
{{ icon('png', 'pencil', 'fa-fw', 'POST_REPLY') }}
-
{{ icon('png', 'pencil', 'fa-fw', 'POST_REPLY') }}
+ {{ Icon('png', 'bars') }}
+ {{ Icon('png', 'envelope') }}
+ {{ Icon('png', 'pencil') }}
+ {{ Icon('png', 'phone') }}
+
{{ Icon('png', 'pencil', 'fa-fw', 'POST_REPLY') }}
+
{{ Icon('png', 'pencil', 'fa-fw', 'POST_REPLY') }}
SVG
- {{ icon('svg', 'bars', 'fa-fw icon-blue') }}
- {{ icon('svg', 'envelope', '', 'USERNAME', false) }}
- {{ icon('svg', 'pencil') }}
- {{ icon('svg', 'phone') }}
-
{{ icon('svg', 'pencil') }}
-
{{ icon('svg', 'pencil', 'fa-fw', 'POST_REPLY') }}
+ {{ Icon('svg', 'bars', 'fa-fw icon-blue') }}
+ {{ Icon('svg', 'envelope', '', 'USERNAME', false) }}
+ {{ Icon('svg', 'pencil') }}
+ {{ Icon('svg', 'phone') }}
+
{{ Icon('svg', 'pencil') }}
+
{{ Icon('svg', 'pencil', 'fa-fw', 'POST_REPLY') }}