mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 13:12:05 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Updated mail notifications to set the HTML and plaintext views since before no plaintext version was being created. Closes #1182
21 lines
336 B
PHP
21 lines
336 B
PHP
<?php
|
|
|
|
if (! empty($greeting)) {
|
|
echo $greeting, "\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 "\n";
|
|
echo setting('app-name'), "\n";
|