summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10b290c)
raw | patch | inline | side by side (parent: 10b290c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 12:52:04 +0000 (12:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 12:52:04 +0000 (12:52 +0000) |
-Installation progress will be displayed now
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9172 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9172 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc
index 546f88df8e13a1eb19f89c64b30a3eb3d3b7927f..1cc10293ce4ece9847ed0cbf95aeff51eccf0b6d 100644 (file)
}
}
+ $status = $task['STATUS'];
+
+ /* Special handling for all entries that have
+ STATUS == "processing" && PROGRESS == NUMERIC
+ */
+ if($status == "processing" && isset($task['PROGRESS'])){
+ $percent = $task['PROGRESS'];
+ $status = "<img src='progress.php?x=80&y=13&p=".$percent."' alt='".$percent." %'>";
+ }
+
+
/* Create each field */
$field0 = array("string" => "<input type='checkbox' id='item_selected_".$task['ID']."' name='item_selected_".$key."'>" ,
"attach" => "style='width:20px;".$color."'");
$field1a= array("string" => $display2,
"attach" => "style='".$color.";width:120px;'");
$field2 = array("string" => date("d.m.Y H:i:s",strtotime($task['TIMESTAMP'])),"attach" => "style='".$color.";width:100px;'");
- $field3 = array("string" => $task['STATUS'],"attach" => "style='".$color.";width:80px;'");
+ $field3 = array("string" => $status,"attach" => "style='".$color.";width:80px;'");
$field4 = array("string" => $prio_actions.$action,"attach" => "style='".$color.";text-align:right;width:120px;border-right:0px;'");
$divlist->AddElement(array($field0,$field1,$field1a,$field2,$field3,$field4));
}