1
0
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:
Marc Alexander
2024-06-06 16:23:41 +02:00
committed by GitHub
12 changed files with 148 additions and 196 deletions

View 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 %}