summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a31cd9)
raw | patch | inline | side by side (parent: 1a31cd9)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Dec 2005 13:54:53 +0000 (13:54 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Dec 2005 13:54:53 +0000 (13:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2240 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_divlist.inc | patch | blob | history |
index 06b34845ffa1649a0705df3d0b329313e069daa7..180d7bfb9f3e401a0e30dd8302dc79af04addf92 100644 (file)
// 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<td class='listheader' style='width:13px;border-right:0px;'> </td>";
- }
+ // }
$s_return .= "\n</table></td>";
}
$s_return = "";
// We need to construct a "body"-table that is width-of-scrollbar thinner than the "head"-table.
- $s_return .= "\n<tr><td colspan=".$this->cols." class='scrollbody'><div style='align:left;width:".$this->s_width."px;height:".($this->s_height-20)."px;overflow:auto;'>";
+ $s_return .= "\n<tr><td colspan=".$this->cols." class='scrollbody'><div style='align:left;width:".$this->s_width."px;height:".($this->s_height-20)."px;overflow:auto;background-color:#ffffff;'>";
// Only reduce width if we need a scrollbar (>19 Entries)
- if($this->_numEntries()>19) {
+ //if($this->_numEntries()>=20) {
$s_return .= "<table style='height:100%;width:581px;' cellspacing='0'>";
- } else {
- $s_return .= "<table style='height:100%;width:600px;' cellspacing='0'>";
- }
+ //} else {
+ // $s_return .= "<table style='height:100%;width:600px;' cellspacing='0'>";
+ //}
$i_alternate=0;
if(isset($_GET['start'])){
}
// 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){
}
}
$s_return.="\n<tr>$fill</tr>";
- }
+ //}
$s_return .= "\n</table></div></td></tr>";
return $s_return;
}