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 4f18a8bbfbcd4f7cea364c311edf616910a9bd4e..d955479b5719feee0839af0c8d94ca3ce9b78938 100644 (file)
$this->entryList->setEditable(false);
$this->entryList->setWidth("100%");
$this->entryList->setHeight("400px");
- $this->entryList->setHeader(array(_("Type"),_("Target"),_("Size"),_("Uses device")." / "._("Used by"),_("Filesystem"), _("Options")));
+ $this->entryList->setHeader(array(_("Type"),_("Target"),_("Size"),_("Uses device")." / "._("Used by"),
+ _("Filesystem"), _("Options"), _("Format"), "-"));
$this->entryList->setColspecs(array('*','*','*', '*'));
$this->entryList->setAcl('rwcdm');
$this->entryList->setReorderable(FALSE);
$fsType = trim($fsType);
}
+ $formatImg = ($part['format']) ? image('images/true.png') : "";
+
// Add entry to the listing
$lData[] = array("data" => array(
$str,
$this->__convertPartSize($part['size']),
$device,
$fsType,
- $part['fsOptions']));
+ $part['fsOptions'],
+ $formatImg));
}
}
}
}
// Updated columns length for all entries to avoid render errors.
- $length = 6;
+ $length = 8;
foreach($lData as $id => $entry){
while(count($lData[$id]['data']) < $length){
$lData[$id]['data'][] = '';