From: hickert Date: Wed, 28 Mar 2007 10:18:54 +0000 (+0000) Subject: Added tooltips. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c32fa805cf997fc5569cc15b20be5726899c4d37;p=gosa.git Added tooltips. Removed edited info git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5912 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/sieve/class_sieveManagement.inc b/include/sieve/class_sieveManagement.inc index 0ac0afe15..15606ce3d 100644 --- a/include/sieve/class_sieveManagement.inc +++ b/include/sieve/class_sieveManagement.inc @@ -630,23 +630,17 @@ class sieveManagement extends plugin $field1 = array("string" => " ", "attach" => "style='width:20px;'"); if($active){ - $field1 = array("string" => ""._("Active")."", + $field1 = array("string" => ""._("Active")."", "attach" => "style='width:20px;'"); } $field2 = array("string" => $script['NAME']); $field3 = array("string" => $script['MSG']); $field4 = array("string" => _("Script length")." : ".strlen($script['SCRIPT'])); - if($edited){ - $field5 = array("string" => ""._("Edited")."", - "attach" => "style='width:30px;'"); - }else{ - $field5 = array("string" => "", - "attach" => "style='width:30px;'"); - } - if($this->parent->acl_is_writeable("sieveManagement")){ - $del = ""; + $del = ""; }else{ $del = " "; } @@ -654,11 +648,14 @@ class sieveManagement extends plugin if($active || $script['IS_NEW'] || !$this->parent->acl_is_writeable("sieveManagement")){ $activate = " "; }else{ - $activate = ""; + $activate = ""; } - $field6 = array("string" => $activate."".$del); - $List ->AddEntry(array($field1,$field2,$field3,$field4,$field5,$field6)); + $field6 = array("string" => $activate."".$del, + "attach" => "style='border-right:0px; width:70px;'"); + $List ->AddEntry(array($field1,$field2,$field3,$field4,$field6)); } $display ="

Sieve script management

";