Code

Added a red border to all divLists as old-indicator
[gosa.git] / gosa-core / include / class_divSelectBox.inc
index 9ee04d284ded0b8e4e63be59edc98c488cbd9f9e..7f7214aecb1dc96bb97513d1806bfdddb7a54827 100644 (file)
@@ -29,7 +29,8 @@ class divSelectBox {
        // Members for page managment
   var $height=200;
 
-       function __construct(){
+       // Added php 4 constructor
+       function divSelectBox(){
                $this->s_summary                = "";
                $this->a_entries                = array();
                $this->cols                     = 0;
@@ -45,7 +46,7 @@ class divSelectBox {
 
   function DrawList(){
     $s_return  = "";
-    $s_return .= "<div style=\"height:2px; overflow:hidden;background:#888888;width:100%;margin-right:0px;\"></div>\n";
+    $s_return .= "<div style=\"height:2px; overflow:hidden;width:100%;margin-right:0px;\"></div>\n";
     $s_return .= "<div style=\"padding-right:1px;padding-bottom:2px;height:".$this->height.";width:100%\">\n";
     $s_return .= "<div style=\"overflow: auto;width:100%;height:".($this->height)."px;\">\n";
     $s_return .= "<table ".
@@ -56,9 +57,7 @@ class divSelectBox {
                     "height:".($this->height-2)."px;".
                     "padding-right:1px; ".
                     "padding-bottom:2px; ".
-                    "border-left:solid 2px; ".
-                    "border-top:solid 0px; ".
-                    "border-color:#888888; ".
+                    "border:solid 2px #FF0000; ".
                     "'>\n";
     $s_return.=$this->_generatePage();
     $s_return.= "</table></div></div>";