X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Ffai%2Fclass_faiPackageNew.inc;h=b3330346b43bc76c8d0e4bf050d999836aebfdd2;hb=90cb0cbd940168e234d506e42644e52fc7af5c4d;hp=8866bdf3c5c3d788ebadce84afc1bd17fc797bb9;hpb=07e6492263fef837908f515518bd362b433a44ce;p=gosa.git
diff --git a/plugins/admin/fai/class_faiPackageNew.inc b/plugins/admin/fai/class_faiPackageNew.inc
index 8866bdf3c..b3330346b 100644
--- a/plugins/admin/fai/class_faiPackageNew.inc
+++ b/plugins/admin/fai/class_faiPackageNew.inc
@@ -32,6 +32,7 @@ class faiPackageNew extends plugin
$display = "";
$smarty = get_smarty();
$atr = $this->getServerInfos();
+ $releases= array();
foreach($atr as $release => $sections){
$releases[$release]=$release;
}
@@ -49,7 +50,6 @@ class faiPackageNew extends plugin
}
$smarty->assign("releases" ,$releases);
- $smarty->assign("releaseKeys" ,array_flip($releases));
$smarty->assign("release" ,$this->FAIdebianRelease);
$smarty->assign("sections",$this->generateSections($sections));
@@ -63,12 +63,11 @@ class faiPackageNew extends plugin
if(is_array($secs)){
sort($secs);
$secs= array_unique($secs);
- $rel = " onClick='document.mainform.submit();' ";
foreach($secs as $section){
if(in_array($section,$this->FAIdebianSection)){
- $str .= "".$section."
";
+ $str .= "".$section."
";
}else{
- $str .= "".$section."
";
+ $str .= "".$section."
";
}
$str .="";
}