This commit is contained in:
Aevann1 2022-04-14 19:40:13 +02:00
parent 126702fe6b
commit 94ed772e87
2 changed files with 11 additions and 3 deletions

View file

@ -234,7 +234,11 @@
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=23' %}
<a href="https://secure.transequality.org/site/Donation2?df_id=1480">
<img alt="site banner" src="/assets/images/rDrama/banner2.webp?v=1" width="100%">
{% if v and (v.shadowbanned or v.is_banned or v.agendaposter) %}
<img alt="site banner" src="{{image}}" width="100%">
{% else %}
<img alt="site banner" src="/assets/images/rDrama/banner2.webp?v=1" width="100%">
{% endif %}
</a>
{% else %}
<a href="/">