From: cajus Date: Mon, 25 Jan 2010 08:16:27 +0000 (+0000) Subject: Remove double border on the right in some cases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=77dd36ccc944c060b5e8cbe657c77e2fb748e5ba;p=gosa.git Remove double border on the right in some cases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15273 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 651e37f9e..935da9866 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -279,7 +279,7 @@ class listing { $height= $this->height; } - $result.= "
\n"; + $result.= ""; } else { - $result.= ""; + $result.= ""; } } $result.= ""; @@ -621,15 +621,18 @@ class listing { $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; }
\n"; $height= ""; if ($switch){ @@ -398,7 +398,7 @@ class listing { if ($i != $this->numColumns-1) { $result.= "