From: hickert Date: Wed, 27 Feb 2008 10:55:46 +0000 (+0000) Subject: Updated gotomasses. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41a91e11c2a78e488dad9355f42dc4d0bf8292b4;p=gosa.git Updated gotomasses. -Updated error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9166 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc index eb34a8feb..28c23e2d7 100644 --- a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc @@ -158,10 +158,15 @@ class gotomasses extends plugin $tmp = ""; foreach($ret as $task){ - $tmp.= "\n".$task['ID']." - ".$task['HEADERTAG']." ".$task['MACADDRESS']; + if(isset($this->events['BY_QUEUED_ACTION'][$task['HEADERTAG']])){ + $evt = $this->events['BY_QUEUED_ACTION'][$task['HEADERTAG']]; + $tmp.= "\n".$task['ID']." - ".$evt['s_Menu_Name']." ".$task['MACADDRESS']; + }else{ + $tmp.= "\n".$task['ID']." - ".$task['HEADERTAG']." ".$task['MACADDRESS']; + } } $smarty->assign("multiple", TRUE); - $smarty->assign("info",sprintf(_("Your are about to delete the following tasks: %s"),"
".$tmp."
")); + $smarty->assign("info",sprintf(_("You are about to remove the following actions from the GOsa support Daemon: %s"),"
".$tmp."
")); $this->current = $s_entry; return($smarty->fetch(get_template_path('remove.tpl', TRUE))); } @@ -236,7 +241,7 @@ class gotomasses extends plugin $divlist = new MultiSelectWindow($this->config,"gotoMasses",array("gotomasses")); $divlist->SetInformation(_("This menu allows you to remove and change the properties of GOsa deamon tasks.")); - $divlist->SetSummary(_("List of queued deamon jobs.")); + $divlist->SetSummary(_("List of queued deamon jobs")); $divlist->EnableCloseButton(FALSE); $divlist->EnableSaveButton(FALSE); $divlist->SetHeadpageMode(); diff --git a/gosa-plugins/goto/addons/gotomasses/remove.tpl b/gosa-plugins/goto/addons/gotomasses/remove.tpl index 023142f97..6113ae3be 100644 --- a/gosa-plugins/goto/addons/gotomasses/remove.tpl +++ b/gosa-plugins/goto/addons/gotomasses/remove.tpl @@ -3,7 +3,6 @@

{$info} - {t}This includes all account data, system access rules, imap settings, etc. for this user. Please double check if your really want to do this since there is no way for GOsa to get your data back.{/t}