mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 09:34:10 -08:00
27 lines
515 B
PHP
27 lines
515 B
PHP
<?php
|
|
// TODO: Translate
|
|
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";
|
|
}
|
|
|
|
if (! empty($signOff)) {
|
|
echo implode("\n", $signOff), "\n";
|
|
}
|
|
if (! empty($siteName)) {
|
|
echo implode("\n", $siteName), "\n";
|
|
}
|