X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_divSelectBox.inc;h=dbee8bed455b52efd058542a89f6d72895cf6a7e;hb=e01f7be38eb35478f1f4321edac33986743a05e1;hp=303c37e1cf97eb5125c15006d059a7759a7eabcb;hpb=6cfec50695f35a64e49f23986cb50eb2d1acf291;p=gosa.git diff --git a/include/class_divSelectBox.inc b/include/class_divSelectBox.inc index 303c37e1c..dbee8bed4 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); } @@ -84,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++; @@ -110,11 +106,12 @@ class divSelectBox { } $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 .= ""; } }