diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc
index 9b21944a9f51a8dcfaae49021cfd75a9158f4e72..219f62da77375c70383bb6f10945fc15e8b02cdc 100644 (file)
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Fill templating stuff */
$smarty = get_smarty();
$s_action = "";
$FAIfsTypes = array("ext2","ext3","xfs","swap","reiserfs","dosfat16","winfat32");
/* Display Header */
- $str = "<table style='width:100%'>";
+ $str = "<table summary='' style='width:100%'>";
if (count($this->partitions)){
$str .= "<tr>";
$str .= "<td>"._("Type")."</td>";
if($part['status']!="delete"){
/* Generate Partition select box
*/
- $PartitionType = "<select name='FAIpartitionType_".$key."' id='FAIpartitionType_".$key."' ".$dis.">";
+ $PartitionType = "<select name='FAIpartitionType_".$key."' id='FAIpartitionType_".$key."' >";
foreach($PartitionTypes as $type){
if($part['FAIpartitionType'] == $type){
$PartitionType .="<option value='".$type."' selected >".$type."</option>";
$changeState = "onClick=\"changeState('FAImountPoint_".$key."') ; ".
"changeState('FAIpartitionSize_".$key."') ; ".
"changeState('FAImountOptions_".$key."') ; ".
- "changeState('FAIpartitionType_".$key."') ; ".
"changeState('FAIfsType_".$key."') ; ".
"changeState('FAIfsOptions_".$key."') ; \"";
$tmp['rename']['from'] = $this->old_cn;
$tmp['rename']['to'] = $this->DISK_cn;
}
-
return($tmp);
}
/* Skip all checks, if preserve is set */
if($part['FAIpartitionFlags'] == "preserve"){
- $this->partitions[$key]['FAIpartitionType'] = "preserve";
$this->partitions[$key]['FAIfsType'] = "preserve";
$this->partitions[$key]['FAIpartitionSize'] = "preserve";
continue;