From 723d3b77d1935c26642d1b8fbdfa69176923e379 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 6 Dec 2005 13:54:53 +0000 Subject: [PATCH] [COSMETIC] Always append empty row at end of lists. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2240 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_divlist.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/class_divlist.inc b/include/class_divlist.inc index 06b34845f..180d7bfb9 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -108,9 +108,9 @@ class divlist { // Attach a 18px-wide column (used as scrollbar space in body-table), // but do this only if we are really using scrolltables. if($this->i_entriesPerPage == 0) { - if($this->_numEntries()>=20) { + // if($this->_numEntries()>=20) { $s_return .= "\n "; - } + // } $s_return .= "\n"; } @@ -129,14 +129,14 @@ class divlist { $s_return = ""; // We need to construct a "body"-table that is width-of-scrollbar thinner than the "head"-table. - $s_return .= "\n
"; + $s_return .= "\n
"; // Only reduce width if we need a scrollbar (>19 Entries) - if($this->_numEntries()>19) { + //if($this->_numEntries()>=20) { $s_return .= ""; - } else { - $s_return .= "
"; - } + //} else { + // $s_return .= "
"; + //} $i_alternate=0; if(isset($_GET['start'])){ @@ -274,7 +274,7 @@ class divlist { } // if fewer than 19 Entries (list not full), print row to fill empty space - if($this->_numEntries()<19){ + //if($this->_numEntries()<=18){ $fill= ""; for ($i= 1; $i <= $this->cols; $i++){ if ($i == $this->cols){ @@ -284,7 +284,7 @@ class divlist { } } $s_return.="\n$fill"; - } + //} $s_return .= "\n
"; return $s_return; } -- 2.30.2