Add banners as default functionality & display them on mod login / dashboard when enabled (#513)

* Add banner support as a default, integrated option.
Used lainchan's original banner script, authored by barrucadu

* Display banners on moderator login and dashboard

* Remove memes & better directory structure
This commit is contained in:
deysu
2022-11-17 01:48:24 -05:00
committed by GitHub
parent f62acd5c1a
commit c8f88c14a8
5 changed files with 28 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
{% if error %}<h2 style="text-align:center">{{ error }}</h2>{% endif %}
{% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
<form action="" method="post">
<table style="margin-top:25px;">
<tr>