mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +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
24 lines
769 B
Twig
24 lines
769 B
Twig
{% set title = 'Created guild' %}
|
|
|
|
{% set motd = '' %}
|
|
{% if constant('MOTD_EXISTS') %}
|
|
{% set motd = ' and motd' %}
|
|
{% endif %}
|
|
|
|
{% set description = '<b>Congratulations!</b><br/>You have created guild <b>' ~ guild_name ~ '</b>. <b>' ~ leader_name ~ '</b> is leader of this guild. Now you can invite players, change picture, description' ~ motd ~ ' of guild. Press submit to open guild manager.' %}
|
|
{% set custom_buttons = '' %}
|
|
{{ include('success.html.twig') }}
|
|
<br/>
|
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
<tr>
|
|
<td>
|
|
<div style="text-align:center">
|
|
<form action="{{ getLink('guilds') ~ '/' ~ guild_name }}" method="post">
|
|
{{ csrf() }}
|
|
{{ include('buttons.submit.html.twig') }}
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|