summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81d5164)
raw | patch | inline | side by side (parent: 81d5164)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 31 Mar 2010 13:21:42 +0000 (13:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 31 Mar 2010 13:21:42 +0000 (13:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17438 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filter.inc | patch | blob | history |
index d1c7bfb97f39ff6b4c5283320537add4269e9c4f..c106cfd0e5ce290d8c58d0ebeeca2a573a2c0d0d 100644 (file)
// Build in filters
foreach ($this->xmlSearches as $tag => $config) {
+ $label = htmlentities(_($config['label']),ENT_COMPAT,'UTF-8');
if ($tag == $this->search) {
- $result.= "<li><a href='#'>".image("images/checked.png")." "._($config['label'])."</a></li>";
+ $result.= "<li><a href='#'>".image("images/checked.png")." ".$label."</a></li>";
} else {
- $result.= "<li><a href='#' onClick='\$(\"act\").value= \"filter-$tag\";\$(\"exec_act\").click();'>".image("images/empty.png")." "._($config['label'])."</a></li>";
+ $result.= "<li><a href='#' onClick='\$(\"act\").value= \"filter-$tag\";\$(\"exec_act\").click();'>".image("images/empty.png")." ".$label."</a></li>";
}
}