summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: af0deb8)
raw | patch | inline | side by side (parent: af0deb8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Apr 2007 08:25:39 +0000 (08:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Apr 2007 08:25:39 +0000 (08:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6113 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_MultiSelectWindow.inc | patch | blob | history |
index 5f23bdeb131dda8e164665ca7815e46b5f906284..c66d8f8f07449b7db05eab72bdd9c6aff7093ce1 100644 (file)
}
natcasesort($this->departments);
+
+ if($empty_tabs_in_front){
+# $numtabs -= $empty_tabs_in_front;
+ }
+
/* Add deps to this dialog object list */
foreach($this->departments as $key=> $val){
for($i = 0; $i < $empty_tabs_in_front ; $i ++){
$row[] = array("string"=>" ", "attach" => "style='text-align:center;width:20px;'");
}
- $numtabs -= $empty_tabs_in_front;
}
$row[]=$field1=array("string"=>"<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='text-align:center;width:20px;'");
$row[]=$field2=array("string"=>sprintf($linkopen,base64_encode($key),$val), "attach" => "style=''");
if($numtabs > 2){
- for($i = 2 ; $i <$numtabs;$i++){
+ for($i = 3 ; $i <=$numtabs;$i++){
if(isset( $this->array_Header[$i]['attach'])){
$row[] = array("string"=>" ","attach" => $this->array_Header[$i]['attach']);
}else{