From: hickert Date: Mon, 10 Oct 2005 12:04:04 +0000 (+0000) Subject: Better repository selection :) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f41be34724ec4d6ee2c4eba8ef0ef66e1473793;p=gosa.git Better repository selection :) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1547 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPackageNew.inc b/plugins/admin/fai/class_faiPackageNew.inc index bc45bf43b..1d1627370 100644 --- a/plugins/admin/fai/class_faiPackageNew.inc +++ b/plugins/admin/fai/class_faiPackageNew.inc @@ -166,6 +166,10 @@ class faiPackageNew extends plugin $smarty->assign("SectionACL"," disabled "); } + + $smarty->assign("DisSection",!empty($this->FAIdebianSection)); + $smarty->assign("DisRelease",!empty($this->FAIdebianRelease)); + $smarty->assign("mirrors" ,$availableServer); $smarty->assign("mirror" ,$this->FAIdebianMirror); $smarty->assign("releases",$this->releases); diff --git a/plugins/admin/fai/faiPackage.tpl b/plugins/admin/fai/faiPackage.tpl index 021724cff..022e16f86 100644 --- a/plugins/admin/fai/faiPackage.tpl +++ b/plugins/admin/fai/faiPackage.tpl @@ -72,7 +72,7 @@
- + diff --git a/plugins/admin/fai/faiPackageNew.tpl b/plugins/admin/fai/faiPackageNew.tpl index f4d007908..a3a4381b5 100644 --- a/plugins/admin/fai/faiPackageNew.tpl +++ b/plugins/admin/fai/faiPackageNew.tpl @@ -31,6 +31,7 @@ +{if $DisRelease neq false}

{t}Sections for this release{/t} :

@@ -40,6 +41,8 @@ {$sections} +{/if} +{if $DisSection neq false}

:

@@ -48,10 +51,11 @@ - +{/if} +