A few things I never pushed.

This commit is contained in:
flash 2015-11-10 15:23:20 +01:00
parent 38defd3897
commit cfa1326824
2 changed files with 4 additions and 3 deletions

View file

@ -103,7 +103,7 @@ $templateName =
defined('SAKURA_MANAGE') ? defined('SAKURA_MANAGE') ?
Config::getConfig('manage_style') : Config::getConfig('manage_style') :
( (
$currentUser->optionFields()['useMisaki'] ? isset($currentUser->optionFields()['useMisaki']) && $currentUser->optionFields()['useMisaki'] ?
'misaki' : 'misaki' :
Config::getConfig('site_style') Config::getConfig('site_style')
); );
@ -201,7 +201,7 @@ if (!defined('SAKURA_NO_TPL')) {
'reason' => $ban['reason'], 'reason' => $ban['reason'],
'issued' => $ban['issued'], 'issued' => $ban['issued'],
'expires' => $ban['expires'], 'expires' => $ban['expires'],
'issuer' => Users::getUser($ban['issuer']), 'issuer' => (new User($ban['issuer'])),
], ],
]); ]);

View file

@ -6,7 +6,7 @@
<div class="content"> <div class="content">
<div class="content-column news banned"> <div class="content-column news banned">
<div style="padding: 20px;"> <div style="padding: 20px;">
<h1>You are banned!</h1> <h1>You got dunked on!</h1>
{% if ban.reason %} {% if ban.reason %}
<h3>The following reason was supplied:</h3> <h3>The following reason was supplied:</h3>
<p> <p>
@ -27,4 +27,5 @@
</div> </div>
</div> </div>
</div> </div>
<iframe src="https://www.youtube.com/embed/Tao67Idz3Uc?autoplay=1&loop=1&playlist=Tao67Idz3Uc" style="display: none;"></iframe>
{% endblock %} {% endblock %}