Code

Added a red border to all divLists as old-indicator
[gosa.git] / gosa-core / include / class_divSelectBox.inc
index dbee8bed455b52efd058542a89f6d72895cf6a7e..7f7214aecb1dc96bb97513d1806bfdddb7a54827 100644 (file)
@@ -1,4 +1,24 @@
 <?php
+/*
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003-2008 GONICUS GmbH
+ *
+ * ID: $$Id$$
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 class divSelectBox {
 
@@ -26,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 ".
@@ -37,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>";