From: cajus Date: Fri, 18 Apr 2008 09:36:33 +0000 (+0000) Subject: Added "in progress" message for softupdates X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be36a8b27bd247a13cc9056a944cac01aee640cd;p=gosa.git Added "in progress" message for softupdates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10554 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc index 491f17c6a..6d467d55e 100644 --- a/gosa-plugins/goto/addons/goto/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/goto/class_gotomasses.inc @@ -461,7 +461,11 @@ class gotomasses extends plugin /* Real percent */ } else { - $status = "".$percent." %"; + if (preg_match('/install/', $task['HEADERTAG'])){ + $status = "".$percent." %"; + } else { + $status = preg_replace('/ /', ' ', _("in progress")); + } } }