Update newsletter HTML in index.php to improve language and tone. Changed greeting to a more casual "Servus" and adjusted article summary text for clarity. Enhanced closing remarks to foster a friendly connection with recipients.
This commit is contained in:
20
index.php
20
index.php
@@ -355,9 +355,9 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
$replyEmail = trim((string)($config['reply_to'] ?: $config['from_email']));
|
$replyEmail = trim((string)($config['reply_to'] ?: $config['from_email']));
|
||||||
$replyHref = 'mailto:' . $replyEmail;
|
$replyHref = 'mailto:' . $replyEmail;
|
||||||
$summaryText = $count === 1
|
$summaryText = $count === 1
|
||||||
? 'In diesem Zeitraum wurde ein neuer Wiki-Artikel veröffentlicht.'
|
? 'Es wurde ein neuer Wiki-Artikel veröffentlicht.'
|
||||||
: 'In diesem Zeitraum wurden ' . $count . ' neue Wiki-Artikel veröffentlicht.';
|
: 'Es wurden ' . $count . ' neue Wiki-Artikel veröffentlicht.';
|
||||||
$heroHeadline = 'Die wichtigsten Wiki-Updates für Ihr Team';
|
$heroHeadline = 'Die neuesten Wiki-Artikel';
|
||||||
$editorTip = trim((string)($config['editor_tip'] ?? ''));
|
$editorTip = trim((string)($config['editor_tip'] ?? ''));
|
||||||
|
|
||||||
$manualHighlightUrls = [];
|
$manualHighlightUrls = [];
|
||||||
@@ -574,9 +574,9 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0">
|
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="mobile-intro" style="font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:29px;color:#22324a;">
|
<td class="mobile-intro" style="font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:29px;color:#22324a;">
|
||||||
Guten Tag,<br><br>
|
Servus,<br><br>
|
||||||
hier ist Ihre kuratierte Übersicht mit den wichtigsten Beiträgen aus dem Thomas-Krenn-Wiki ' . $dateRangeText . '.<br>
|
hier ist deine Übersicht mit den neuesten Beiträgen aus dem Thomas-Krenn-Wiki ' . $dateRangeText . '.<br>
|
||||||
Der Fokus liegt auf praxisnahen Themen, damit Ihr Team schneller zu Entscheidungen kommt.
|
Wir hoffen, dass dir diese Beiträge gefallen.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -591,10 +591,10 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0">
|
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px;color:#2a3950;">
|
<td style="font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px;color:#2a3950;">
|
||||||
Haben Sie Fragen oder einen Themenwunsch?
|
Hast du Fragen oder einen Themenwunsch?
|
||||||
<a href="' . h($replyHref) . '" style="color:#ff7d00;text-decoration:underline;">Schreiben Sie uns gerne direkt.</a><br><br>
|
<a href="' . h($replyHref) . '" style="color:#ff7d00;text-decoration:underline;">Schreib uns gerne direkt.</a><br><br>
|
||||||
Viele Grüsse<br>
|
Viele Grüße<br>
|
||||||
Ihr Thomas-Krenn Team
|
Euer Thomas-Krenn-Wiki Team
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user