mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
23 lines
415 B
PHP
23 lines
415 B
PHP
|
<?php
|
||
|
|
||
|
if (! empty($greeting)) {
|
||
|
echo $greeting, "\n\n";
|
||
|
} else {
|
||
|
echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
|
||
|
}
|
||
|
|
||
|
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";
|
||
|
}
|
||
|
|
||
|
echo 'Regards,', "\n";
|
||
|
echo config('app.name'), "\n";
|