Code

Added image which shows the status of the bootable flag
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 May 2011 08:04:45 +0000 (08:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 May 2011 08:04:45 +0000 (08:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20831 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc

index 2c8c939397c5ff60b31cc2f324e133a732fd9e70..a54429cb2504a8162c6b7263cec5cc1ccc8307a6 100644 (file)
@@ -306,6 +306,7 @@ class DevicePartition
                         $emptyImage = image("images/empty.png");
                         $formatImg = ($part['format']) ? image('plugins/goto/images/formatDisk.png','',_("Format partition")) : $emptyImage;
                         $primaryImg = ($part['primary']) ? image('plugins/goto/images/primary.png','',_("Primary partition")) : $emptyImage;
+                        $bootImg = ($part['bootable']) ? image('images/true.png','',_("Bootable")) : $emptyImage;
                         $encryptImg = ($part['encrypted']) ? image('images/lists/locked.png','',_("Encrypted")) : $emptyImage;
 
                         // Create remove icon
@@ -319,7 +320,7 @@ class DevicePartition
                                     $device,
                                     $fsType,
                                     $part['fsOptions'],
-                                    $primaryImg.$formatImg.$encryptImg, 
+                                    "{$primaryImg} {$formatImg} {$bootImg} {$encryptImg}",
                                     $delImg));
                     }
                 }