2016-09-03 21:09:00 +00:00
|
|
|
<?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";
|
2016-09-05 16:00:56 +00:00
|
|
|
echo Settings::get('company'), "\n";
|