From eeb90cf36972a454546b2e24c6732230bb158303 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 16 May 2011 08:04:45 +0000 Subject: [PATCH] Added image which shows the status of the bootable flag git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20831 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/Device/class_DevicePartition.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc index 2c8c93939..a54429cb2 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc @@ -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)); } } -- 2.30.2