From 1ad7523202395d90116494ee53a3262e2371a3bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 28 Mar 2009 01:12:17 +0000 Subject: [PATCH] Some HTML issues fixed --- inc/functions.php | 4 ++-- templates/de/html/metadata.tpl | 4 ---- templates/de/html/page_body.tpl | 1 + templates/de/html/page_header.tpl | 4 ++++ 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 0b6877db34..66da69fa61 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2976,8 +2976,8 @@ function smartAddSlashes ($unquoted) { // Decode entities in a nicer way function decodeEntities ($str) { - // @TODO We may want to switch over to UTF-8 here! - $decodedString = html_entity_decode($str, ENT_NOQUOTES, "ISO-8859-15"); + // Decode the entities to UTF-8 now + $decodedString = html_entity_decode($str, ENT_NOQUOTES, "UTF-8"); // Return decoded string return $decodedString; diff --git a/templates/de/html/metadata.tpl b/templates/de/html/metadata.tpl index cab9eb6572..1de82b5a3c 100644 --- a/templates/de/html/metadata.tpl +++ b/templates/de/html/metadata.tpl @@ -2,7 +2,3 @@ - - - - diff --git a/templates/de/html/page_body.tpl b/templates/de/html/page_body.tpl index cdf59ecad1..4803bf36cc 100644 --- a/templates/de/html/page_body.tpl +++ b/templates/de/html/page_body.tpl @@ -1 +1,2 @@ +
diff --git a/templates/de/html/page_header.tpl b/templates/de/html/page_header.tpl index 0aa8bb4b33..01fc06f87b 100644 --- a/templates/de/html/page_header.tpl +++ b/templates/de/html/page_header.tpl @@ -2,3 +2,7 @@ {!__PAGE_TITLE!} + + + + -- 2.30.2