From: cajus Date: Fri, 22 Jan 2010 15:15:39 +0000 (+0000) Subject: Fixed UTF-8 display problems X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=359619a1d3b790bd6a3f08b8c609ce57777d281f;p=gosa.git Fixed UTF-8 display problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15265 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index 36b44b67c..48babc455 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -102,7 +102,7 @@ class sortableListing { private function setModes($modes) { - $this->modes= $modes; + $this->modes= array_values($modes); } @@ -267,7 +267,7 @@ class sortableListing { $first= " style='border:0'"; foreach ($this->displayData[$row] as $column) { - $result.= " ".htmlentities($column)."\n"; + $result.= " ".$column."\n"; $first= ""; } @@ -467,7 +467,7 @@ class sortableListing { } - public function addEntry($entry, $displayEntry= null, $key= null) + public function addEntry($entry, $displayEntry= null, $key= null, $mode= null) { // Only add if not already there if (!$key) { @@ -493,6 +493,7 @@ class sortableListing { $this->data[]= $entry; $this->keys[]= count($this->mapping); } + $this->modes[]= $mode; $this->displayData[]= $displayEntry; $this->mapping[]= count($this->mapping); $this->modified= true;