From: hickert Date: Wed, 31 Mar 2010 13:21:42 +0000 (+0000) Subject: Write filter label in HTML letters to avoid w3c warnings . X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=95d4df377a80b3d58be0b42207981bfdc7e7dc84;p=gosa.git 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 --- 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."
  • "; } }