From: hickert Date: Thu, 6 Aug 2009 13:30:08 +0000 (+0000) Subject: Some cosmetic modifications for the FAI partition stuff. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7ec626805e9d09603df062745f7faaddb88668ad;p=gosa.git Some cosmetic modifications for the FAI partition stuff. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13986 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiPartition.inc b/gosa-plugins/fai/admin/fai/class_faiPartition.inc index f8a9a1215..e0ecbd3b2 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPartition.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPartition.inc @@ -308,7 +308,11 @@ class faiPartition extends plugin // Remove partition if(isset($_POST['delPhysicalPartition']) && isset($_POST['physicalPartition'])){ - unset($this->raidDevices[$_POST['physicalPartition']]); + foreach($_POST['physicalPartition'] as $key){ + if(isset($this->raidDevices[$key])){ + unset($this->raidDevices[$key]); + } + } } // Toggle spare flag for partition entries diff --git a/gosa-plugins/fai/admin/fai/faiPartition.tpl b/gosa-plugins/fai/admin/fai/faiPartition.tpl index 6cad08f1e..fc2da49fd 100644 --- a/gosa-plugins/fai/admin/fai/faiPartition.tpl +++ b/gosa-plugins/fai/admin/fai/faiPartition.tpl @@ -63,18 +63,18 @@ - -  {t}Resize existing partition{/t} + +   - -  {t}Bootable{/t} + +   - -  {t}Preserve{/t} + +   @@ -95,7 +95,8 @@

{t}Combined physical partitions{/t}

- {html_options options=$plist}
@@ -133,8 +134,8 @@ - - {t}Encrypted{/t} + +   {t}Tune options{/t}