mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 11:43:40 +08:00
7f6929d716
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";
|