mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
Fixes regarding not working google recaptcha (+few previous commits)
This commit is contained in:
parent
933b681a9f
commit
a1bcb217ec
@ -19,7 +19,8 @@ if(!$logged)
|
|||||||
'redirect' => $_REQUEST['redirect'] ?? null,
|
'redirect' => $_REQUEST['redirect'] ?? null,
|
||||||
'account' => USE_ACCOUNT_NAME ? 'Name' : 'Number',
|
'account' => USE_ACCOUNT_NAME ? 'Name' : 'Number',
|
||||||
'account_login_by' => getAccountLoginByLabel(),
|
'account_login_by' => getAccountLoginByLabel(),
|
||||||
'error' => $errors[0] ?? null
|
'error' => $errors[0] ?? null,
|
||||||
|
'errors' => $errors ?? [],
|
||||||
));
|
));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -1,24 +1,11 @@
|
|||||||
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_FORM') }}
|
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_FORM') }}
|
||||||
<form action="{{ getLink('account/create') }}" method="post" id="createaccount">
|
<form action="{{ getLink('account/create') }}" method="post" id="createaccount">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<div class="TableContainer" >
|
|
||||||
<table class="Table5" cellpadding="0" cellspacing="0" >
|
{% set title = 'Create ' ~ config.lua.serverName ~ ' Account' %}
|
||||||
<div class="CaptionContainer" >
|
{% set background = config('darkborder') %}
|
||||||
<div class="CaptionInnerContainer" >
|
{% set tableClass = 'Table5' %}
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
{% set content %}
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" /></span>
|
|
||||||
<div class="Text" >Create {{ config.lua.serverName }} Account</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" /></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer" >
|
|
||||||
<table style="width:100%;" >
|
<table style="width:100%;" >
|
||||||
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_BOXES') }}
|
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_BOXES') }}
|
||||||
<tr>
|
<tr>
|
||||||
@ -303,11 +290,9 @@
|
|||||||
{{ hook('HOOK_ACCOUNT_CREATE_AFTER_BOXES') }}
|
{{ hook('HOOK_ACCOUNT_CREATE_AFTER_BOXES') }}
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_SUBMIT_BUTTON') }}
|
{{ hook('HOOK_ACCOUNT_CREATE_BEFORE_SUBMIT_BUTTON') }}
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user