Code

Added "in progress" message for softupdates
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 09:36:33 +0000 (09:36 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Apr 2008 09:36:33 +0000 (09:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10554 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/class_gotomasses.inc

index 491f17c6a99d601311897b5690ad90d98943fae0..6d467d55e34e9b117b7250e2a682b6057eaeb1f4 100644 (file)
@@ -461,7 +461,11 @@ class gotomasses extends plugin
 
         /* Real percent */
         } else {
-          $status = "<img src='progress.php?x=80&amp;y=13&amp;p=".$percent."' alt='".$percent."&nbsp;%'>";
+         if (preg_match('/install/', $task['HEADERTAG'])){
+            $status = "<img src='progress.php?x=80&amp;y=13&amp;p=".$percent."' alt='".$percent."&nbsp;%'>";
+          } else {
+            $status = preg_replace('/ /', '&nbsp;', _("in progress"));
+          }
         }
       }