Code

Updated posix user add
[gosa.git] / include / class_divlist.inc
index 461d3f92d8e53b07f6e80edf517766d825d20b36..5448a87828cd776193939caa7f2cc7c84668f800 100644 (file)
@@ -150,7 +150,7 @@ class divlist {
     /* If divlist is empty, append a single white entry */
     if(count($this->a_entries)==0){
       $str = $s_return."<tr>";
-      $str.="<td class='list1' colspan='".$this->cols."' style='height:100%;border-right:0px;width:100%;'>&nbsp;</td>";
+      $str.="<td class='list1nohighlight' colspan='".$this->cols."' style='height:100%;border-right:0px;width:100%;'>&nbsp;</td>";
       $str.="</tr>";
       if($this->i_entriesPerPage == 0) {
         $str.="</table></div></td></tr>";
@@ -176,7 +176,7 @@ class divlist {
                                
                                if($i_alternate) $i_alternate=0; else $i_alternate=1;
                                
-                               $s_return .= "\n<tr class='rowxp'>";
+                               $s_return .= "\n<tr>";
                                
                                $cnt = 0;                                       
                                        
@@ -241,7 +241,7 @@ class divlist {
             $i_alternate=1;
           }
                  
-          $s_return .= "\n<tr>";
+          $s_return .= "\n<tr class='rowxp".$i_alternate."'>";
                                  
                    $cnt = 0;                                   
                                          
@@ -262,7 +262,7 @@ class divlist {
                                          $style = " ".$s_value2['attach']." "  ;
                                  }
             
-            $s_return .= "\n<td ".$style." class='".$class."' onmouseover='highlight(this);' onmouseout='unhighlight(this,\"list".$i_alternate."\");'>";
+            $s_return .= "\n<td ".$style." class='".$class."'>";
                                  $s_return .= $s_value2['string'];
                                  $s_return .= "</td>";
                          }
@@ -275,9 +275,9 @@ class divlist {
         $fill= "";
         for ($i= 1; $i <= $this->cols; $i++){
           if ($i == $this->cols){
-           $fill.= "<td class='list1' onmouseover='highlight;' style='height:100%;border-right:0px;'>&nbsp;</td>";
+           $fill.= "<td class='list1nohighlight' style='height:100%;border-right:0px;'>&nbsp;</td>";
           } else {
-           $fill.= "<td class='list1' onmouseover='highlight;' style='height:100%;'>&nbsp;</td>";
+           $fill.= "<td class='list1nohighlight' style='height:100%;'>&nbsp;</td>";
           }
         }
         $s_return.="\n<tr>$fill";