summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f93c4be)
raw | patch | inline | side by side (parent: f93c4be)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 08:16:27 +0000 (08:16 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 08:16:27 +0000 (08:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15273 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listing.inc | patch | blob | history |
index 651e37f9eb6ed6e8be97afadb15222258dd3c9e7..935da9866d80d0ed5e76da5d648abf1e0315afc8 100644 (file)
$height= $this->height;
}
- $result.= "<table cellpadding='0' cellspacing='0' border='0'><tr><td><div class='listContainer' id='d_scrollbody' style='border-top:1px solid #B0B0B0;width:700px;min-height:".($height+25)."px;'>\n";
+ $result.= "<table cellpadding='0' cellspacing='0' border='0'><tr><td><div class='listContainer' id='d_scrollbody' style='border-top:1px solid #B0B0B0;border-right:1px solid #B0B0B0;width:700px;min-height:".($height+25)."px;'>\n";
$height= "";
if ($switch){
if ($i != $this->numColumns-1) {
$result.= "<td class='list1nohighlight' style='$emptyListStyle'> </td>";
} else {
- $result.= "<td class='list1nohighlight' style='border-right:1px solid #AAA;$emptyListStyle'> </td>";
+ $result.= "<td class='list1nohighlight' style='border-right:0;$emptyListStyle'> </td>";
}
}
$result.= "</tr>";
$res.= "min-width:200px;";
}
- $result[$index]= " style='$res' ";
+ $result[$index]= " style='$res'";
} else {
- $result[$index]= " style='min-width:100px'";
+ $result[$index]= " style='min-width:100px;'";
}
}
// Save number of columns for later use
$this->numColumns= count($cols);
+ // Add no border to the last column
+ $result[$this->numColumns-1]= preg_replace("/'$/", "border-right:0;'", $result[$this->numColumns-1]);
+
return $result;
}