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

[ticket/17153] Use twig and avatar helper to render avatars

PHPBB3-17153
This commit is contained in:
Marc Alexander
2023-07-01 09:47:37 +02:00
parent 32e6c637ec
commit 902283c368
5 changed files with 109 additions and 32 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 %}