Code

Updated divSelectBox to support new row highlighting
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Apr 2006 06:33:10 +0000 (06:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Apr 2006 06:33:10 +0000 (06:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3031 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_divSelectBox.inc

index a6d81e9142e8f50560a7ec83a89e4c28733d5cbd..4ddc3fba594c3b22bea5bc6edec6c34a082686bf 100644 (file)
@@ -65,8 +65,8 @@ class divSelectBox {
        
     /* If divlist is empty, append a single white entry */
     if(count($this->a_entries)==0){
-      $str.="<tr class='rowxp'
-                ><td class='list1nohighlight' style='height:100%;'>&nbsp;</td></tr>";
+      $str.="<tr class='rowxp1'
+                ><td class='list1nohighlight' style='height:100%; border-right:0px;'>&nbsp;</td></tr>";
       return($str);
     }
 
@@ -80,7 +80,7 @@ class divSelectBox {
         $i_alternate=1;
       }
 
-      $s_return .= "\n<tr>";
+      $s_return .= "\n<tr class='rowxp".($i_alternate)."'>";
 
       $cnt = 0;