2017-06-10 03:47:02 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (! empty($greeting)) {
|
|
|
|
echo $greeting, "\n\n";
|
|
|
|
} else {
|
2018-05-18 22:02:49 +08:00
|
|
|
echo $level == 'error' ? trans('frontend.emails.whoops').'!' : trans('frontend.emails.hello').',', "\n\n";
|
2017-06-10 03:47:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
if (! empty($introLines)) {
|
|
|
|
echo implode("\n", $introLines), "\n\n";
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isset($actionText)) {
|
|
|
|
echo "{$actionText}: {$actionUrl}", "\n\n";
|
|
|
|
}
|
|
|
|
|
|
|
|
if (! empty($outroLines)) {
|
|
|
|
echo implode("\n", $outroLines), "\n\n";
|
|
|
|
}
|
|
|
|
|
2018-05-18 22:02:49 +08:00
|
|
|
echo trans('frontend.emails.regards).',', "\n";
|
2017-06-10 03:47:02 +08:00
|
|
|
echo config('app.name'), "\n";
|