summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35a408a)
raw | patch | inline | side by side (parent: 35a408a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jan 2010 15:15:39 +0000 (15:15 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jan 2010 15:15:39 +0000 (15:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15265 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_sortableListing.inc | patch | blob | history |
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index 36b44b67cd575778c87964c61898dcdaa0dcd2ac..48babc45568aeb9ab4971c1a7b57e1fb6b4ca8fd 100644 (file)
private function setModes($modes)
{
- $this->modes= $modes;
+ $this->modes= array_values($modes);
}
$first= " style='border:0'";
foreach ($this->displayData[$row] as $column) {
- $result.= " <td$editable$first>".htmlentities($column)."</td>\n";
+ $result.= " <td$editable$first>".$column."</td>\n";
$first= "";
}
}
- 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) {
$this->data[]= $entry;
$this->keys[]= count($this->mapping);
}
+ $this->modes[]= $mode;
$this->displayData[]= $displayEntry;
$this->mapping[]= count($this->mapping);
$this->modified= true;