X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fglpi%2Fadmin%2Fsystems%2Fservices%2Fglpi%2Fclass_glpiDeviceManagement.inc;h=df7cc6b3e9142f4a257cd208c4e414dfab242658;hb=fbf8e4356f625423e3ccfcb0c6520942726a44e1;hp=b4581f123841ffcc72dffb074d085cb96433f9b7;hpb=b9d184afec9f7b29fcb470f595527e8d9e59cae6;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 b4581f123..df7cc6b3e 100644
--- a/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc
+++ b/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiDeviceManagement.inc
@@ -2,11 +2,6 @@
class glpiDeviceManagement extends plugin
{
- /* CLI vars */
- var $cli_summary= "Manage server basic objects";
- var $cli_description= "Some longer text\nfor help";
- var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
/* attribute list for save action */
var $ignore_account= TRUE;
var $attributes= array();
@@ -110,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."));
}
@@ -190,7 +185,7 @@ class glpiDeviceManagement extends plugin
$edit = "%s";
$editdel = "
";
- $editdel.= "
";
+ $editdel.= "
";
$useDevice = "";
@@ -257,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']);