From 35c2277d02f2c4ac0619b5a76f765a75ccb1b0d0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 18 Apr 2007 09:20:33 +0000 Subject: [PATCH] Department list : Skip checkbox in front of the '.' entry, which represents the currently selected base git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6080 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/departments/class_divListDepartment.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc index ecc1c3784..2b7f58862 100755 --- a/plugins/admin/departments/class_divListDepartment.inc +++ b/plugins/admin/departments/class_divListDepartment.inc @@ -156,9 +156,15 @@ class divListDepartment extends MultiSelectWindow } $title = preg_replace('/ /', ' ', @LDAP::fix($this->config->departments[$key])); - /* Create each field */ - $field01 = array("string" => "" , - "attach" => "style='width:20px;'"); + + if($val == "."){ + $field01 = array("string" => " ", + "attach" => "style='width:20px;'"); + }else{ + $field01 = array("string" => "" , + "attach" => "style='width:20px;'"); + } $field0 = array("string" => "department", "attach" => "style='text-align:center;width:20px;'"); $field1 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "style='' title='".$title."'"); -- 2.30.2