From: hickert Date: Thu, 28 Jul 2005 09:52:51 +0000 (+0000) Subject: Added tooltips X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b06182e3682cc882c22af0e6f6bff83db70dcd6;p=gosa.git Added tooltips git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1027 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 67c6ca84c..ceb81431b 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -306,8 +306,11 @@ class departmentManagement extends plugin if(!isset($this->config->departments[trim($key)])){ $this->config->departments[trim($key)]=""; } - $field0 = array("string" => "department","attach"=>"style='width:20px;'"); - $field1 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "width='100%'"); + + $title = $this->config->departments[$key]; + + $field0 = array("string" => "department","attach"=>"style='width:20px;'"); + $field1 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "style='width:100%' title='".$title."'"); $field2 = array("string" => preg_replace("/%KEY%/", base64_encode($key), $actions),"attach"=>"style='text-align:right;border:none'"); $divlist->AddEntry( array($field0,$field1,$field2));