summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1266ec0)
raw | patch | inline | side by side (parent: 1266ec0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 13:02:01 +0000 (13:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 13:02:01 +0000 (13:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17395 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index a01dad4e4fffee8690f4dfeefb8a66184d429a2f..2d00aedf64e98d949bd4c80924025a47fe0c24d0 100644 (file)
$entry = $headpage->entries[$id];
if(in_array('FAKE_OC_FAI', $entry['objectClass'])){
+ unset($_POST[$name]);
if(isset($headpage->entries[$id]['GROUPS'][$tab])){
$data =$headpage->entries[$id]['GROUPS'][$tab];
$type = $this->get_type($data);
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartition.inc b/gosa-plugins/fai/admin/fai/class_faiPartition.inc
index ad553a2348acd2107c0841b3b4bd92271772a260..eafb5717b590ebd9f031bf125413c6719aadd766 100644 (file)
// Toggle spare flag for partition entries
if(isset($_POST['toggleSpare']) && isset($_POST['physicalPartition'])){
- $this->raidDevices[$_POST['physicalPartition']]['spare'] =
- !$this->raidDevices[$_POST['physicalPartition']]['spare'];
+ $this->raidDevices[$_POST['physicalPartition'][0]]['spare'] =
+ !$this->raidDevices[$_POST['physicalPartition'][0]]['spare'];
}
// Toggle missing flag for partition entries
if(isset($_POST['toggleMissing']) && isset($_POST['physicalPartition'])){
- $this->raidDevices[$_POST['physicalPartition']]['missing'] =
- !$this->raidDevices[$_POST['physicalPartition']]['missing'];
+ $this->raidDevices[$_POST['physicalPartition'][0]]['missing'] =
+ !$this->raidDevices[$_POST['physicalPartition'][0]]['missing'];
}
}
}
diff --git a/gosa-plugins/fai/admin/fai/faiPartition.tpl b/gosa-plugins/fai/admin/fai/faiPartition.tpl
index cb3743dcecf43824c8067fef659b593034046080..17756ba7b6225144d8881b2286799d71a8b4c5e9 100644 (file)
</td>
</tr>
<tr>
- <td>{t}Mount point{/t}
+ <td>{t}Mount point{/t}{$must}
</td>
<td>
{/if}
<button type='submit' name='PartitionCancel'>
{msgPool type=cancelButton}</button>
-</div>
\ No newline at end of file
+</div>