From: cajus Date: Mon, 24 Aug 2009 09:25:07 +0000 (+0000) Subject: Fixed entry loading X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=42a7dda70fe0fa9ec489bb0d2b35446a165833bb;p=gosa.git Fixed entry loading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14112 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index e2bdb9a44..34afc1e09 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -227,26 +227,26 @@ class listing { } // Initialize list - $result= ""; - $result.= "
"; + $result= "\n"; + $result.= "
\n"; $result.= " -\n"; // New table for the real list contents - $result.= "
"; +"; + $result.= "
\n"; $this->numColumns= count($this->colprops) + ($this->multiSelect?1:0); // Build list header - $result.= ""; + $result.= "\n"; if ($this->multiSelect) { - $result.= ""; + $result.= "\n"; } foreach ($this->header as $header) { $result.= $header; } // Add 13px for scroller - $result.= "
 
 
"; + $result.= "
\n"; // No results? Just take an empty colspanned row if (count($this->entries) + count($this->departments) == 0) { @@ -293,25 +293,25 @@ class listing { } // Fill with contents, sort as configured - foreach ($this->entry as $row => $entry) { - $trow =""; + foreach ($this->entries as $row => $entry) { + $trow ="\n"; // Render multi select if needed if ($this->multiSelect) { - $trow.=""; + $trow.="\n"; } foreach ($this->xmlData['table']['column'] as $index => $config) { $renderedCell= $this->renderCell($config['value'], $entry, $row); - $trow.=""; + $trow.="\n"; // Save rendered column - $this->entry[$row]["_sort$index"]= $renderedCell; + $this->entries[$row]["_sort$index"]= $renderedCell; } - $trow.=""; + $trow.="\n"; // Save rendered entry - $this->entry[$row]['_rendered']= $trow; + $this->entries[$row]['_rendered']= $trow; $alt++; }
colprops[$index]." class='list0'>".$renderedCell."colprops[$index]." class='list0'>".$renderedCell."