X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_divlist.inc;h=cd12a5ebdf206bce265b25f4900e6dc206bd33eb;hb=4b585d1dcacb20a09bf715c3551c0c9c8a867277;hp=a3ecfb8d5ed2f5f7ef04e1afe34b04e43a008166;hpb=004fb55afaa3f0dee277f708c1d7718f4ab86f13;p=gosa.git diff --git a/include/class_divlist.inc b/include/class_divlist.inc index a3ecfb8d5..cd12a5ebd 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -196,7 +196,7 @@ class divlist { $s_value = $this->a_entries[$i]; - + // Alternation of background color if($i_alternate) $i_alternate=0; else $i_alternate=1; $s_return .= "\n"; @@ -295,7 +295,7 @@ class divlist { // if fewer than 22 Entries (list not full), print row to fill empty space //FIXME: Why 22? Isn't the size dynamic -# if($this->_numEntries()<=22){ + if($this->_numEntries()<=22){ $fill= ""; for ($i= 1; $i <= $this->cols; $i++){ if ($i == $this->cols){ @@ -303,9 +303,9 @@ class divlist { } else { $fill.= " "; } - } + } $s_return.="\n$fill"; -# } + } if($this->i_entriesPerPage == 0) { $s_return .= "\n"; }