From f0e6fc49306dd18c2979b23069bbb80dd1c0a67f Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 28 Jan 2010 10:12:39 +0000 Subject: [PATCH] Updated base selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15400 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/themes/default/style.css | 4 ++-- gosa-core/include/class_baseSelector.inc | 15 +++++++++------ gosa-core/include/class_config.inc | 3 +-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gosa-core/html/themes/default/style.css b/gosa-core/html/themes/default/style.css index 944d5c223..7ed48fd59 100644 --- a/gosa-core/html/themes/default/style.css +++ b/gosa-core/html/themes/default/style.css @@ -2028,7 +2028,6 @@ ul.treeList a:hover { } a.treeList { - font-weight: bold; padding: 2px; } @@ -2052,7 +2051,6 @@ ul.treeList li { padding: 0 12px; line-height: 20px; background: url(../../images/lists/node.png) no-repeat; - font-weight: bold; } li.treeListSelected a { @@ -2074,6 +2072,8 @@ div.treeList { padding: 5px; height: 500px; display: inline-block; + position: absolute; + z-index: 500; overflow-y: auto; } diff --git a/gosa-core/include/class_baseSelector.inc b/gosa-core/include/class_baseSelector.inc index 9ca0a4295..28d0025c2 100644 --- a/gosa-core/include/class_baseSelector.inc +++ b/gosa-core/include/class_baseSelector.inc @@ -23,6 +23,7 @@ class baseSelector { private $base; + private $pid; protected $tree; protected $pathMapping; @@ -37,6 +38,10 @@ class baseSelector { function __construct($bases, $base= "") { + // Initialize pid + $this->pid= preg_replace("/[^0-9]/", "", microtime(TRUE)); + + // Transfer data $this->setBases($bases); $this->setBase($base); $this->update(); @@ -59,7 +64,6 @@ class baseSelector { $this->pathMapping= array(); $selected= $this->base == $config->current['BASE']?"Selected":""; - $this->tree= "
"._("Root")."