summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a51b0b0)
raw | patch | inline | side by side (parent: a51b0b0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Sep 2006 04:28:24 +0000 (04:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Sep 2006 04:28:24 +0000 (04:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4666 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc
index 7ff8798d1e152f4f9d5a3a7d3bbb68390113a461..cc2c0619c966a059d67f13eb06aaa35dfa0fda1a 100644 (file)
function generateParts()
{
/* Define Arrays with allowed syntax */
- $PartitionTypes = array("primary","logical");
+ $PartitionTypes = array("primary"=>_("primary"),"logical"=>_("logical"));
$FAIfsTypes = array("ext2","ext3","xfs","swap","reiserfs","dosfat16","winfat32");
/* Display Header */
/* Generate Partition select box
*/
$PartitionType = "<select name='FAIpartitionType_".$key."' id='FAIpartitionType_".$key."' ".$disableALL.">";
- foreach($PartitionTypes as $type){
+ foreach($PartitionTypes as $type => $PTname){
if($part['FAIpartitionType'] == $type){
- $PartitionType .="<option value='".$type."' selected >".$type."</option>";
+ $PartitionType .="<option value='".$type."' selected >".$PTname."</option>";
}else{
- $PartitionType .="<option value='".$type."'>".$type."</option>";
+ $PartitionType .="<option value='".$type."'>".$PTname."</option>";
}
}
$PartitionType.="</select>";