mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Add forgotten prefix for some settings
This commit is contained in:
parent
0746708743
commit
9e2a87f448
@ -43,7 +43,7 @@ if($email_new_time < 10) {
|
||||
}
|
||||
|
||||
if(empty($errors)) {
|
||||
$email_new_time = time() + setting('account_mail_change') * 24 * 3600;
|
||||
$email_new_time = time() + setting('core.account_mail_change') * 24 * 3600;
|
||||
$account_logged->setCustomField("email_new", $email_new);
|
||||
$account_logged->setCustomField("email_new_time", $email_new_time);
|
||||
$twig->display('success.html.twig', array(
|
||||
|
@ -211,8 +211,8 @@ if($save)
|
||||
}
|
||||
}
|
||||
|
||||
if(setting('account_premium_points') && setting('account_premium_points') > 0) {
|
||||
$new_account->setCustomField('premium_points', setting('account_premium_points'));
|
||||
if(setting('core.account_premium_points') && setting('core.account_premium_points') > 0) {
|
||||
$new_account->setCustomField('premium_points', setting('core.account_premium_points'));
|
||||
}
|
||||
|
||||
$tmp_account = $email;
|
||||
@ -295,7 +295,7 @@ if($save)
|
||||
'custom_buttons' => setting('core.account_create_character_create') ? '' : null
|
||||
));
|
||||
|
||||
if(setting('core.mail_enabled') && setting('account_welcome_mail'))
|
||||
if(setting('core.mail_enabled') && setting('core.account_welcome_mail'))
|
||||
{
|
||||
$mailBody = $twig->render('account.welcome_mail.html.twig', array(
|
||||
'account' => $tmp_account
|
||||
|
@ -59,7 +59,7 @@
|
||||
<td></td><td><span id="email_error" class="FormFieldError">{% if errors.email is defined %}{{ errors.email }}{% endif %}</span></td>
|
||||
</tr>
|
||||
|
||||
{% if setting('core.mail_enabled') and setting('account_mail_verify') %}
|
||||
{% if setting('core.mail_enabled') and setting('core.account_mail_verify') %}
|
||||
<tr><td></td><td><span><strong>Please use real address!<br/>We will send a link to validate your Email.</strong></span></td></tr>
|
||||
{% endif %}
|
||||
|
||||
@ -122,7 +122,7 @@
|
||||
|
||||
{{ hook('HOOK_ACCOUNT_CREATE_BETWEEN_BOXES_1') }}
|
||||
|
||||
{% if (not setting('core.mail_enabled') or not setting('core.account_mail_verify')) and setting('account_create_character_create') %}
|
||||
{% if (not setting('core.mail_enabled') or not setting('core.account_mail_verify')) and setting('core.account_create_character_create') %}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="TableShadowContainerRightTop">
|
||||
|
Loading…
x
Reference in New Issue
Block a user