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