From 04d5bcaea19dbba6d3181a92cdf85e566ba034e1 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 26 Feb 2010 10:45:38 +0000 Subject: [PATCH] Updated listing and removed funny line alternation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15736 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 7ec88be52..37efe409d 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -286,8 +286,8 @@ class listing { $height= $this->height; } - $result.= "
\n"; - $result.= "\n"; + $result.= "
\n"; + $result.= "
\n"; $this->numColumns= count($this->colprops) + ($this->multiSelect?1:0); // Build list header @@ -309,7 +309,7 @@ class listing { // No results? Just take an empty colspanned row if (count($this->entries) + count($this->departments) == 0) { - $result.= ""; + $result.= ""; } // Line color alternation @@ -322,7 +322,7 @@ class listing { // Fill with department browser if configured this way $departmentIterator= new departmentSortIterator($this->departments, $this->sortDirection[$this->sortColumn]); foreach ($departmentIterator as $row => $entry){ - $result.=""; + $result.=""; // Render multi select if needed if ($this->multiSelect) { @@ -382,7 +382,7 @@ class listing { // Complete list by sorting entries for _sort$index and appending them to the output $entryIterator= new listingSortIterator($this->entries, $this->sortDirection[$this->sortColumn], "_sort".$this->sortColumn, $this->sortType); foreach ($entryIterator as $row => $entry){ - $result.="\n"; + $result.="\n"; $result.= $entry['_rendered']; $result.="\n"; $alt++; -- 2.30.2