X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_divSelectBox.inc;h=4ddc3fba594c3b22bea5bc6edec6c34a082686bf;hb=c904cd0bb9748eaffe909b3f3fc5eb5719dfa6a6;hp=14ffd0c244c72cd9b8f518f3df5c79c144e124ac;hpb=e2a5aacf9b5621c3ec5a1badc983f5eaecfe4b2c;p=gosa.git diff --git a/include/class_divSelectBox.inc b/include/class_divSelectBox.inc index 14ffd0c24..4ddc3fba5 100644 --- a/include/class_divSelectBox.inc +++ b/include/class_divSelectBox.inc @@ -7,7 +7,6 @@ class divSelectBox { var $cols; // Members for page managment - var $width= 300; var $height=200; // Added php 4 constructor @@ -17,10 +16,6 @@ class divSelectBox { $this->cols = 0; } - function setWidth($w){ - $this->width=$w; - } - function setHeight($h){ $this->height=$h; } @@ -31,15 +26,15 @@ class divSelectBox { function DrawList(){ $s_return = ""; - $s_return .= "
width-18)."px;\">
\n"; - $s_return .= "
\n"; - $s_return .= "
height."px;width:".($this->width)."px;\">\n"; + $s_return .= "
\n"; + $s_return .= "
height.";width:100%\">\n"; + $s_return .= "
height)."px;\">\n"; $s_return .= " "; + $str.=""; return($str); } @@ -83,10 +80,10 @@ class divSelectBox { $i_alternate=1; } - $s_return .= "\n"; + $s_return .= "\n"; $cnt = 0; - + foreach($s_value as $s_key2 => $s_value2 ){ $this->cols = count($s_value) ; $cnt++; @@ -103,17 +100,18 @@ class divSelectBox { $style = " ".$s_value2['attach']." " ; } - $s_return .= "\n"; } $s_return.="\n"; } + $s_return.="\n"; for($i = 0 ; $i < ($this->cols) ; $i ++){ if($i >= ($this->cols-1)){ - $s_return .= ""; + $s_return .= ""; }else{ - $s_return .= ""; + $s_return .= ""; } }
 
"; + $s_return .= "\n"; $s_return .= $s_value2['string']; $s_return .= "