2017-06-10 03:47:02 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (! empty($greeting)) {
|
|
|
|
echo $greeting, "\n\n";
|
|
|
|
} else {
|
2018-05-22 00:25:51 +08:00
|
|
|
echo $level == 'error' ? __('common.whoops').'!' : __('common.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-22 00:25:51 +08:00
|
|
|
echo __('common.regards).',', "\n";
|
2017-06-10 03:47:02 +08:00
|
|
|
echo config('app.name'), "\n";
|