From 95d4df377a80b3d58be0b42207981bfdc7e7dc84 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 31 Mar 2010 13:21:42 +0000 Subject: [PATCH] Write filter label in HTML letters to avoid w3c warnings . git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17438 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filter.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_filter.inc b/gosa-core/include/class_filter.inc index d1c7bfb97..c106cfd0e 100644 --- a/gosa-core/include/class_filter.inc +++ b/gosa-core/include/class_filter.inc @@ -419,10 +419,11 @@ class filter { // Build in filters foreach ($this->xmlSearches as $tag => $config) { + $label = htmlentities(_($config['label']),ENT_COMPAT,'UTF-8'); if ($tag == $this->search) { - $result.= "
  • ".image("images/checked.png")." "._($config['label'])."
  • "; + $result.= "
  • ".image("images/checked.png")." ".$label."
  • "; } else { - $result.= "
  • ".image("images/empty.png")." "._($config['label'])."
  • "; + $result.= "
  • ".image("images/empty.png")." ".$label."
  • "; } } -- 2.30.2