Code

Fixed divSelectBox styles
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 05:38:40 +0000 (05:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 05:38:40 +0000 (05:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2962 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_divSelectBox.inc

index 0b1ce63e4de645e5fc2a81953a732175de92193a..9030787f50b6985a80cd2d0aa9328f3bbeedfa14 100644 (file)
@@ -65,7 +65,8 @@ class divSelectBox {
        
     /* If divlist is empty, append a single white entry */
     if(count($this->a_entries)==0){
-      $str.="<tr><td class='list1' style='height:100%;'>&nbsp;</td></tr>";
+      $str.="<tr class='rowxp'
+                ><td class='list1nohighlight' style='height:100%;'>&nbsp;</td></tr>";
       return($str);
     }
 
@@ -99,7 +100,7 @@ class divSelectBox {
           $style = " ".$s_value2['attach']." " ;
         }
 
-        $s_return .= "\n<td ".$style." class='".$class."'>";
+        $s_return .= "\n<td ".$style." class='".$class."' onmouseover='highlight(this);' onmouseout='unhighlight(this,\"list".$i_alternate."\");'>";
         $s_return .= $s_value2['string'];
         $s_return .= "</td>";
       }
@@ -108,9 +109,9 @@ class divSelectBox {
     $s_return.="\n<tr>";
     for($i = 0 ; $i < ($this->cols) ; $i ++){
       if($i >= ($this->cols-1)){
-        $s_return .= "<td class='list1' style='height:100%;border:0px;'></td>";
+        $s_return .= "<td class='list1nohighlight' style='height:100%;border:0px;'>&nbsp;</td>";
       }else{
-        $s_return .= "<td class='list1' style='height:100%;' height='100%'></td>";
+        $s_return .= "<td class='list1nohighlight' style='height:100%;'>&nbsp;</td>";
       }
       
     }