summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 799d927)
raw | patch | inline | side by side (parent: 799d927)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 31 Oct 2005 13:20:00 +0000 (13:20 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 31 Oct 2005 13:20:00 +0000 (13:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1772 594d385d-05f5-0310-b6e9-bd551577e9d8
html/themes/default/style.css | patch | blob | history | |
include/class_divlist.inc | patch | blob | history |
index 0f27c507a092d46aa7a1c6dc9cb4f5952ff06ea4..8ffe63b5e7cb01774b9641f2afa9f54ab21848a3 100644 (file)
td.list1 {
background:white;
- border-right:1px solid #C0C0C0;
+ border-right:1px solid #C0C0C0;
padding:3px;
}
+tbody.scrollcontent {
+ overflow:auto;
+ overflow:-moz-scrollbars-vertical;
+ overflow-x:hidden;
+ max-height:480px;
+}
+
body
{
margin-left: 0px;
index 887e8419bb79ac437a7ad55302009c1f46319e0e..58591666a0c1724d1c8b3e2a07803026ea12f3ac 100644 (file)
$s_return = "";
$s_return.= "<table summary='".$this->s_summary."' width='600' cellspacing='0'>";
+
+ if($this->i_entriesPerPage==0) {
- $s_return.= "<thead>".$this->_generateHeader()."</thead>";
+ $s_return.= "<thead>".$this->_generateHeader()."</thead>";
+
+ // Define an alternate style for IE
+ $s_return.= "<!--[if IE]><style type='text/css'>tbody.scrollcontent {overflow-y:scroll;height:20em;}</style><![endif]-->";
- $s_return.= "<tbody style='overflow:auto;height:480px;'>".$this->_generatePage()."</tbody>";
+ $s_return.= "<tbody class='scrollcontent'>".$this->_generatePage()."</tbody>";
+ } else {
+ $s_return.=$this->_generateHeader();
+
+ $s_return.=$this->_generatePage();
+ }
//$s_return.= nl2br(htmlentities($this->_generatePage()));
$s_return.= "</table>";
$i_count--;
}
- $s_return .= "<td class='listheader' style='border-right:0px;border-bottom:1px solid #b0b0b0;width:13px;'> </td>";
+ // Only create additional column if we're using scrollbars
+ if($this->i_entriesPerPage==0) {
+ $s_return .= "<td class='listheader' style='border-right:0px;padding:0px;border-bottom:1px solid #b0b0b0;width:16px;'> </td>";
+ }
$s_return .= "\n</tr>";
return $s_return;
}
$s_return .= "\n</td>";
}
if($cnt == 0 ){
- $s_return.="<td> </td>";
+ $s_return.="\n<td> </td>";
}
+
$s_return .= "\n</tr>";
}
}
$cnt=0;
for($a = 0 ; $a < (count($this->a_header[0])) ; $a ++ ) {
if($a ==(count($this->a_header[0])-1)){
- $s_return.="<td class='list1' style='border:0px;' height='26'> </td>";
+ $s_return.="\n<td class='list1' style='border:0px;' height='26'> </td>";
} else {
- $s_return.="<td class='list1' height='26'> </td>";
+ $s_return.="\n<td class='list1' height='26'> </td>";
}
}
- $s_return.="</tr>";
+ $s_return.="\n</tr>";
}
}
$s_return .= "\n<td ".$style." class='".$class."'>";
$s_return .= $s_value2['string'];
- $s_return .= "\n</td>";
+ $s_return .= "</td>";
}
if($cnt == 0 ){
- $s_return.="<td> </td>";
- }
+ $s_return.="\n<td> </td>";
+ } else {
+ //$s_return.="\n<td style='border:0px;padding:0px;' class='list".$i_alternate."'> </td>";
+ }
$s_return .= "\n</tr>";
}
}