index a3ecfb8d5ed2f5f7ef04e1afe34b04e43a008166..cd12a5ebdf206bce265b25f4900e6dc206bd33eb 100644 (file)
$s_value = $this->a_entries[$i];
$s_value = $this->a_entries[$i];
-
+ // Alternation of background color
if($i_alternate) $i_alternate=0; else $i_alternate=1;
$s_return .= "\n<tr>";
if($i_alternate) $i_alternate=0; else $i_alternate=1;
$s_return .= "\n<tr>";
// if fewer than 22 Entries (list not full), print row to fill empty space
//FIXME: Why 22? Isn't the size dynamic
// 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){
$fill= "";
for ($i= 1; $i <= $this->cols; $i++){
if ($i == $this->cols){
} else {
$fill.= "<td class='list1nohighlight' style='height:100%;'> </td>";
}
} else {
$fill.= "<td class='list1nohighlight' style='height:100%;'> </td>";
}
- }
+ }
$s_return.="\n<tr>$fill";
$s_return.="\n<tr>$fill";
-# }
+ }
if($this->i_entriesPerPage == 0) {
$s_return .= "\n</table></div></td>";
}
if($this->i_entriesPerPage == 0) {
$s_return .= "\n</table></div></td>";
}