index c66d8f8f07449b7db05eab72bdd9c6aff7093ce1..18d1558d46a595ba4d086b4f5d4181fbde5126a3 100644 (file)
$row[]=$field2=array("string"=>sprintf($linkopen,base64_encode($key),$val), "attach" => "style=''");
if($numtabs > 2){
$row[]=$field2=array("string"=>sprintf($linkopen,base64_encode($key),$val), "attach" => "style=''");
if($numtabs > 2){
- for($i = 3 ; $i <=$numtabs;$i++){
- if(isset( $this->array_Header[$i]['attach'])){
- $row[] = array("string"=>" ","attach" => $this->array_Header[$i]['attach']);
+ for($i = 2 ; $i < $numtabs;$i++){
+ if(isset( $this->array_Header[$i + $empty_tabs_in_front]['attach'])){
+ $row[] = array("string"=>" ","attach" => $this->array_Header[$i + $empty_tabs_in_front]['attach']);
}else{
$row[] = array("string"=>" ");
}
}
}
}else{
$row[] = array("string"=>" ");
}
}
}
-
$this->AddElement($row);
}
}
$this->AddElement($row);
}
}