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
40 lines
1.1 KiB
Twig
40 lines
1.1 KiB
Twig
<form action="?subtopic=guilds&action=change_rank&guild={{ guild_name }}&todo=save" method="post">
|
|
{{ csrf() }}
|
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
|
<tr bgcolor="{{ config.vdarkborder }}"><td class="white"><b>Change Rank</b></td></tr>
|
|
<tr bgcolor="{{ config.darkborder }}">
|
|
<td>
|
|
<table border="0" cellpadding="1">
|
|
<tr>
|
|
<td>Name: <select name="name">
|
|
{% for player in players %}
|
|
<option value="{{ player[0] }}">{{ player[1] }}</option>
|
|
{% endfor %}
|
|
</select> Rank: <select name="rankid">
|
|
{% for rank in ranks %}
|
|
<option value="{{ rank[0] }}">{{ rank[1] }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</td>
|
|
<td>
|
|
{{ include('buttons.submit.html.twig') }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
<tr>
|
|
<td>
|
|
<div style="text-align:center">
|
|
<form action="?subtopic=guilds&action=show&guild={{ guild_name }}" method="post">
|
|
{{ csrf() }}
|
|
{{ include('buttons.back.html.twig') }}
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|