mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00

* Fix alert class name * feature: csrf protection * Cosmetics * Fix token generate * Admin Panel: changelogs csrf protection * news/id route * Refactor admin newses + add csrf * Use admin.links instead * Admin panel: Pages csrf * Menus: better csrf + add success message on reset colors * Plugins csrf * Move definitions * add info function, same as note($message) * Update mailer.php * Fix new page/news links * clear_cache & maintenance csrf * Formatting * Fix news type * Fix changelog link * Add new changelog link * More info to confirm dialog * This is always true
35 lines
1.0 KiB
Twig
35 lines
1.0 KiB
Twig
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
|
<tr bgcolor="{{ config.vdarkborder }}">
|
|
<td class="white"><b>Accept invitation</b></td>
|
|
</tr>
|
|
<tr bgcolor="{{ config.lightborder }}">
|
|
<td width="100%">Select character to join guild:</td>
|
|
</tr>
|
|
<tr bgcolor="{{ config.darkborder }}">
|
|
<td>
|
|
<form action="?subtopic=guilds&action=accept_invite&guild={{ guild_name }}&todo=save" method="post">
|
|
{{ csrf() }}
|
|
{% set i = 0 %}
|
|
{% for player in invited_players %}
|
|
<input type="radio" name="name" id="name_{{ i }}" value="{{ player }}" /><label for="name_{{ i }}">{{ player }}</label>
|
|
{% set i = i + 1 %}
|
|
{% endfor %}
|
|
{{ include('buttons.submit.html.twig') }}
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
<div style="text-align:center">
|
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
<tr>
|
|
<td>
|
|
<form action="{{ getLink('guilds') ~ '/' ~ guild_name }}" method="post">
|
|
{{ csrf() }}
|
|
{{ include('buttons.back.html.twig') }}
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|