summaryrefslogtreecommitdiff
path: root/includes/pages/guest_faq.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-03 13:53:55 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-03 13:53:55 +0200
commit28ac46aa4e9c45aad35aab0fb2f28a0677fee453 (patch)
tree92b6dca8effcde6ee5ff8ba22917a5dff908490e /includes/pages/guest_faq.php
parent170f8d2342e87f91f3ee3c4ad8ef161095666349 (diff)
parent75a7755041c4e4b9c5c31bccabc917e188982e80 (diff)
Merge branch 'spezial_includes_camp' of ssh://git.planetcyborg.de/home/git/projects/engelsystem into spezial_includes_camp
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>";
}