From: cajus Date: Mon, 8 May 2006 11:31:04 +0000 (+0000) Subject: Some cleanup in the handling of new package creation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa6641bd8a48421d0e64a284d9d4b874b0552032;p=gosa.git Some cleanup in the handling of new package creation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3220 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/TODO b/TODO index ea965da92..11317ec03 100644 --- a/TODO +++ b/TODO @@ -30,8 +30,6 @@ Target for 2.4.1: * Fix fai objects to generate tags if needed (sub objects, phone me...) -* Remove the refresh button from faiPackageNew (the second one) - Target for 2.5: =============== diff --git a/plugins/admin/fai/class_faiPackageNew.inc b/plugins/admin/fai/class_faiPackageNew.inc index e9aaa6d26..1267e712c 100644 --- a/plugins/admin/fai/class_faiPackageNew.inc +++ b/plugins/admin/fai/class_faiPackageNew.inc @@ -62,12 +62,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 .=""; } diff --git a/plugins/admin/fai/faiPackageNew.tpl b/plugins/admin/fai/faiPackageNew.tpl index 22ded91ef..e7dc4be30 100644 --- a/plugins/admin/fai/faiPackageNew.tpl +++ b/plugins/admin/fai/faiPackageNew.tpl @@ -18,12 +18,14 @@ @@ -32,12 +34,11 @@
- + - {html_options options=$releases selected=$release} +   +
{$sections} -
-

  +