X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fglpi%2Fadmin%2Fsystems%2Fservices%2Fglpi%2Fclass_glpiDeviceManagement.inc;h=0d994fdebed5d3175ff33869d9990d798646918c;hb=75c0799a98bd50ac1e731ff0cf32b6b238ecbbd5;hp=c507cbe3a02be68dbb5554890ae40b2d7c990929;hpb=38fa986fac140f784bcc40447888a40d56321786;p=gosa.git diff --git a/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc b/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc index c507cbe3a..0d994fdeb 100644 --- a/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc +++ b/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc @@ -105,9 +105,9 @@ class glpiDeviceManagement extends plugin $this->delete = $tmp; if(isset($tmp['name'])){ - $smarty->assign("warning", sprintf(_("You're about to delete the glpi device '%s'."), $tmp['name'])); + $smarty->assign("warning",msgPool::deleteInfo($tmp['name'],_("glpi device"))); }elseif(isset($tmp['designation'])){ - $smarty->assign("warning", sprintf(_("You're about to delete the glpi device '%s'."), $tmp['designation'])); + $smarty->assign("warning",msgPool::deleteInfo($tmp['designation'],_("glpi device"))); }else{ print_red(_("Can't detect object name.")); } @@ -184,8 +184,8 @@ class glpiDeviceManagement extends plugin array("string" => _("Actions"), "attach" => "style='width:60px;border-right:0px;text-align:right;'" ))); $edit = "%s"; - $editdel = ""._("Edit").""; - $editdel.= ""._("Delete").""; + $editdel = ""._("Edit").""; + $editdel.= ""._("Delete").""; $useDevice = ""; @@ -252,7 +252,7 @@ class glpiDeviceManagement extends plugin $smarty->assign("searchu_image", get_template_path('images/search_user.png')); $smarty->assign("tree_image", get_template_path('images/tree.png')); $smarty->assign("infoimage", get_template_path('images/info_small.png')); - $smarty->assign("launchimage", get_template_path('images/small_filter.png')); + $smarty->assign("launchimage", get_template_path('images/lists/action.png')); $smarty->assign("apply", apply_filter()); $smarty->assign("alphabet", generate_alphabet()); $smarty->assign("device_regex", $filter['device_regex']);