Add: show_if - account_mail_verify

This commit is contained in:
slawkens 2023-07-13 13:04:22 +02:00
parent 1ea9a76ea9
commit 228b2d071b

View File

@ -422,27 +422,39 @@ Sent by MyAAC,<br/>
'desc' => 'should country of user be automatically recognized by his IP? This makes an external API call to http://ipinfo.io', 'desc' => 'should country of user be automatically recognized by his IP? This makes an external API call to http://ipinfo.io',
'default' => true, 'default' => true,
], ],
[ 'account_mail_confirmed_reward' => [
'type' => 'section', 'type' => 'section',
'title' => 'Reward Users for confirming their E-Mails. Works only with Account Mail Verify enabled' 'title' => 'Reward Users for confirming their E-Mails. Works only with Account Mail Verify enabled',
'show_if' => [
'account_mail_verify', '=', 'true'
],
], ],
'account_mail_confirmed_reward_premium_days' => [ 'account_mail_confirmed_reward_premium_days' => [
'name' => 'Reward Premium Points', 'name' => 'Reward Premium Points',
'type' => 'number', 'type' => 'number',
'desc' => '0 to disable', 'desc' => '0 to disable',
'default' => 0, 'default' => 0,
'show_if' => [
'account_mail_verify', '=', 'true'
],
], ],
'account_mail_confirmed_reward_premium_points' => [ 'account_mail_confirmed_reward_premium_points' => [
'name' => 'Reward Premium Points', 'name' => 'Reward Premium Points',
'type' => 'number', 'type' => 'number',
'desc' => '0 to disable', 'desc' => '0 to disable',
'default' => 0, 'default' => 0,
'show_if' => [
'account_mail_verify', '=', 'true'
],
], ],
'account_mail_confirmed_reward_coins' => [ 'account_mail_confirmed_reward_coins' => [
'name' => 'Reward Premium Points', 'name' => 'Reward Premium Points',
'type' => 'number', 'type' => 'number',
'desc' => '0 to disable. Works only with servers that supports coins', 'desc' => '0 to disable. Works only with servers that supports coins',
'default' => 0, 'default' => 0,
'show_if' => [
'account_mail_verify', '=', 'true'
],
], ],
[ [
'type' => 'category', 'type' => 'category',