<?php
ob_start();
?>
Hi <?php echo \S::safeForHtml($data['info']['name']);?>,<br>
<br>
Thank you for signing up!<br>
<br>
Here is your temporary login information:<br>
<div style="padding:15px;background-color:whitesmoke;margin:15px 0px;border-radius:2px;line-height:20px;">
Username: <strong><?php echo \S::safeForHtml($data['info']['username']);?></strong><br>
Password: <strong><?php echo \S::safeForHtml($data['info']['password']);?></strong><br>
</div>

Login to your "<?php echo \S::safeForHtml($settings->app_title);?>" account by clicking this link: <a href="<?php echo $config['url']['root'];?>"><?php echo $config['url']['root'];?></a>
<br>
After logging in, you will be asked to replace the above password with a secure one of your own choice.
<?php if ($settings->user_registration_approval) { ?>
<br>
<br>
Please note that your account might not be yet active if you will try to access right away. It is awaiting the admin's moderation. You will receive an e-mail confirmation as soon as the account gets activated.
<?php } ?>
<br>
<br>
Best regards,<br>
<br>
<?php echo \S::safeForHtml($settings->app_title);?>
<br>
<a href="<?php echo $config['url']['root'];?>"><?php echo $config['url']['root'];?></a>

<?php
return [
	'BCC' => $settings->default_notification_address,
	'Subject' => 'Account information',
	'Body' => ob_get_clean()
];