summaryrefslogtreecommitdiff
path: root/includes/pages/guest_faq.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/guest_faq.php')
-rw-r--r--includes/pages/guest_faq.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/includes/pages/guest_faq.php b/includes/pages/guest_faq.php
index c4bcd0bb..2799cbaf 100644
--- a/includes/pages/guest_faq.php
+++ b/includes/pages/guest_faq.php
@@ -5,11 +5,17 @@ function guest_faq() {
foreach ($faqs as $faq) {
$html .= "<dl>";
if ($_SESSION['Sprache'] == "DE") {
- $html .= "<dt>" . $faq['Frage_de'] . "</dt>";
- $html .= "<dd>" . $faq['Antwort_de'] . "</dd>";
+ $html .= sprintf(
+ '<dt>%s</dt> <dd>%s</dd>',
+ $faq['frage_de'],
+ $faq['antwort_de']
+ );
} else {
- $html .= "<dt>" . $faq['Frage_en'] . "</dt>";
- $html .= "<dd>" . $faq['Antwort_en'] . "</dd>";
+ $html .= sprintf(
+ '<dt>%s</dt> <dd>%s</dd>',
+ $faq['frage_en'],
+ $faq['antwort_en']
+ );
}
$html .= "</dl>";
}