X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_divSelectBox.inc;h=dbee8bed455b52efd058542a89f6d72895cf6a7e;hb=f9e2a15ea3578c6c86efef30a0c8ebededefbb9e;hp=4e4d45088b5bc1d84837e4e8db8f00741c62c0be;hpb=0e4cb8a95cf9e40e22181b8c280e423bda7aceeb;p=gosa.git
diff --git a/include/class_divSelectBox.inc b/include/class_divSelectBox.inc
index 4e4d45088..dbee8bed4 100644
--- a/include/class_divSelectBox.inc
+++ b/include/class_divSelectBox.inc
@@ -26,15 +26,15 @@ class divSelectBox {
function DrawList(){
$s_return = "";
- $s_return .= "
\n";
- $s_return .= "\n";
- $s_return .= "
height."px;\">\n";
+ $s_return .= "
\n";
+ $s_return .= "
height.";width:100%\">\n";
+ $s_return .= "
height)."px;\">\n";
$s_return .= "
s_summary."' ".
"width='100%' ".
- "height='100%' ".
"cellspacing='0' ".
"style='overflow:scroll; ".
+ "height:".($this->height-2)."px;".
"padding-right:1px; ".
"padding-bottom:2px; ".
"border-left:solid 2px; ".
@@ -65,12 +65,12 @@ class divSelectBox {
/* If divlist is empty, append a single white entry */
if(count($this->a_entries)==0){
- $str.=" |
";
+ $str.=" |
";
return($str);
}
$i = $this->_numEntries();
- for($e = 0 ; $e < 10 ; $e ++)
foreach($this->a_entries as $s_key => $s_value){
$i--;
@@ -80,7 +80,7 @@ class divSelectBox {
$i_alternate=1;
}
- $s_return .= "\n";
+ $s_return .= "\n
";
$cnt = 0;
@@ -106,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 .= " | ";
}
}