From 725c6484ccb608ded131c764809147be4e5629a6 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Mar 2010 15:02:40 +0000 Subject: [PATCH] Fixed selectable list styles... -hopefully nothing ist broken now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15865 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_sortableListing.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index a30758ebc..7fcdc4e16 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -186,7 +186,7 @@ class sortableListing { public function render() { $result= "
\n"; - $result.= "cssclass)?" class='".$this->cssclass."'":"").">\n"; + $result.= "
cssclass)?" class='".$this->cssclass."'":"").">\n"; $action_width= 0; if (strpos($this->acl, 'w') === false) { $edit_image= $this->editable?""._("Edit")."":""; @@ -204,7 +204,11 @@ class sortableListing { if ($this->colspecs) { $result.= " \n"; for ($i= 0; $i<$this->columns; $i++) { - $result.= " \n"; + if(isset($this->colspecs[$i]) && $this->colspecs[$i] != '*'){ + $result.= " \n"; + }else{ + $result.= " \n"; + } } // Extend by another column if we've actions specified -- 2.30.2