mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #6504 from marc1706/ticket/17153
[ticket/17153] Use avatar classes and twig to render avatars
This commit is contained in:
1
phpBB/styles/all/template/macros/avatar.twig
Normal file
1
phpBB/styles/all/template/macros/avatar.twig
Normal file
@@ -0,0 +1 @@
|
||||
{% if SRC %}<img class="avatar" src="{{ SRC }}"{% if DATA_SRC %} data-src="{{ DATA_SRC }}"{% endif %}{% if WIDTH %} width="{{ WIDTH }}"{% endif %}{% if HEIGHT %} height="{{ HEIGHT }}"{% endif %} alt="{{ lang(TITLE) }}">{% endif %}
|
Reference in New Issue
Block a user