openvk/Web/Presenters/templates/@banned.xml

31 lines
853 B
XML
Raw Normal View History

2020-06-07 19:04:43 +03:00
{extends "@layout.xml"}
2022-08-09 09:37:08 +03:00
{block title}{_banned_title}{/block}
2020-06-07 19:04:43 +03:00
{block header}
2022-08-09 09:37:08 +03:00
{_banned_header}
2020-06-07 19:04:43 +03:00
{/block}
{block content}
<center>
2022-08-09 09:37:08 +03:00
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_banned_alt}" style="width: 20%;" />
2020-06-07 19:04:43 +03:00
</center>
<p>
{tr("banned_1", htmlentities($thisUser->getCanonicalName()))|noescape}<br/>
{tr("banned_2", htmlentities($thisUser->getBanReason()))|noescape}
{if !$thisUser->getUnbanTime()}
{_banned_perm}
{else}
{tr("banned_until_time", $thisUser->getUnbanTime())|noescape}
{/if}
</p>
<p n:if="$thisUser->canUnbanThemself()">
<hr/>
<center><a class="button" href="/unban.php">{_banned_unban_myself}</a></center>
2020-06-07 19:04:43 +03:00
</p>
<hr/>
<p>
{tr("banned_3", urlencode($csrfToken))|noescape}
2020-06-07 19:04:43 +03:00
</p>
{/block}