- Add `SelfserveLaneServicesEnumTest` to validate `selfserve_lane_services` cases. - Update `index.php` to load self-serve module interfaces, traits, classes, helpers, and configs. - Center Truck Wash logo in email header and adjust styling. - Localize password reset error message in `authRoute.php` with Danish text.
33 lines
728 B
PHP
33 lines
728 B
PHP
<?php
|
|
|
|
namespace email\templates;
|
|
|
|
use email\helpers\email_template;
|
|
|
|
class email_template_header
|
|
{
|
|
use email_template;
|
|
|
|
public function generate_text(): string
|
|
{
|
|
return "";
|
|
}
|
|
|
|
public function generate_html(): string
|
|
{
|
|
ob_start();
|
|
# Start of the html
|
|
?>
|
|
|
|
<!-- Logo centered -->
|
|
<div style="text-align: center; margin-bottom: 20px;">
|
|
<img src="https://usercontent.one/wp/www.truckwash.dk/wp-content/uploads/2021/04/truckwash-banner-png.png"
|
|
alt="Truck Wash logo"
|
|
style="width: 100%; max-width: 600px; height: auto;">
|
|
</div>
|
|
|
|
<?php
|
|
# End of the html
|
|
return ob_get_clean();
|
|
}
|
|
}
|