2016-12-14 10:17:07 -08:00
|
|
|
<?php
|
2021-11-19 06:32:13 -08:00
|
|
|
// TODO: Translate
|
2016-12-14 10:17:07 -08:00
|
|
|
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";
|
|
|
|
}
|
|
|
|
|
2016-12-14 10:54:22 -08:00
|
|
|
if (! empty($signOff)) {
|
|
|
|
echo implode("\n", $signOff), "\n";
|
|
|
|
}
|
|
|
|
if (! empty($siteName)) {
|
|
|
|
echo implode("\n", $siteName), "\n";
|
|
|
|
}
|