Code

list base image migration for gosa-plugins
[gosa.git] / gosa-plugins / mail / personal / mail / sieve / class_sieveManagement.inc
index 417853e4b60345408c01270f19c458672b46d1af..637c27718e7a3dce413fb424a4b028dc1221a511 100644 (file)
@@ -356,9 +356,7 @@ class sieveManagement extends plugin
     /* Display confirm dialog */
     if($this->script_to_delete != -1){
       $smarty = get_smarty();
-      $smarty->assign("Warning",
-          sprintf(_("You are going to remove the sieve script '%s' from your mail server."),
-            $this->scripts[$this->script_to_delete]['NAME']));
+      $smarty->assign("Warning",msgPool::deleteInfo($this->scripts[$this->script_to_delete]['NAME']));
       return($smarty->fetch(get_template_path("templates/remove_script.tpl",TRUE,dirname(__FILE__))));
     }
 
@@ -641,7 +639,7 @@ class sieveManagement extends plugin
       $field4 = array("string" => _("Script length").": ".strlen($script['SCRIPT']));
 
       if($this->parent->acl_is_writeable("sieveManagement")){
-        $del = "<input type='image' name='delscript_".$key."' src='images/edittrash.png'
+        $del = "<input type='image' name='delscript_".$key."' src='images/lists/trash.png'
                   title='"._("Remove script")."'>";
       }else{
         $del = "<img src='images/empty.png' alt=' '>";