summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 251a763)
raw | patch | inline | side by side (parent: 251a763)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Mar 2008 13:10:37 +0000 (13:10 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Mar 2008 13:10:37 +0000 (13:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9897 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc
index 1edf44b4d2b5be29ebceb54d39696e307f222238..bc0668db9323c3d93983b3998a50787349bd3fce 100644 (file)
*/
if($status == "processing" && isset($task['PROGRESS'])){
$percent = $task['PROGRESS'];
- $status = "<img src='progress.php?x=80&y=13&p=".$percent."' alt='".$percent." %'>";
- }
+ /* Show activation? */
+ if ($percent == "goto-activation"){
+ $status = "<img class='center' src='images/status_stopped.png' alt=''> "._("Activation");
+
+ /* Show hardware detect? */
+ } elseif ($percent == "goto-hardware-detection") {
+ $status = "<img class='center' src='images/hardware.png' alt=''> "._("Detection");
+
+ /* Real percent */
+ } else {
+ $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."'>" ,