From: hickert Date: Fri, 9 Jul 2010 13:48:52 +0000 (+0000) Subject: Several FAI fixed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cdd8bf4b5bc5769d28b6b4aeaa884e7547618a12;p=gosa.git Several FAI fixed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18978 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 2ac9586db..e5e48b03e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -237,10 +237,9 @@ class faiManagement extends management $acl = $this->ui->get_permissions($this->acl_base,"fai/faiProfile"); if(preg_match("/c/",$acl)){ $type= $this->get_type(array("objectClass"=>array("FAIprofile"))); - $str= management::newEntry('newEntry',array(),array(),$type[0],$type[2],$type[1]); + $str= management::newEntry('newEntry',array(),array(),$type[0],$type[2],'fai'); if($str) return($str); $this->tabObject->set_acl_base($this->acl_base); - $this->tabObject->by_object[$type[1]]->cn = $name; }else{ msg_dialog::display(_("Permission error"), sprintf(_("You have no permission to create a new %s!"), _("profile")), ERROR_DIALOG); } diff --git a/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl b/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl index 80a4e0c4e..1a8402db6 100644 --- a/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl @@ -36,7 +36,7 @@ {render acl=$DISKdescriptionACL} - + {/render} @@ -104,4 +104,4 @@ - \ No newline at end of file + diff --git a/gosa-plugins/fai/admin/fai/faiPartition.tpl b/gosa-plugins/fai/admin/fai/faiPartition.tpl index 17756ba7b..924b2d452 100644 --- a/gosa-plugins/fai/admin/fai/faiPartition.tpl +++ b/gosa-plugins/fai/admin/fai/faiPartition.tpl @@ -37,13 +37,13 @@ {t}Size{/t} - {html_options options=$partitionSizeTypes selected=$FAIpartitionSizeType} {if $FAIpartitionSizeType != "remaining"} - {html_options options=$sizeTypes selected=$sizeStart_Type} {else} @@ -56,7 +56,7 @@ {if $FAIpartitionSizeType != "fixed" && $FAIpartitionSizeType != "remaining"} - {html_options options=$sizeTypes selected=$sizeStop_Type} {else}