From c1e4ce315463429bfc32d2c21818bad1954c9e00 Mon Sep 17 00:00:00 2001 From: cajus Date: Sat, 10 Dec 2005 10:55:41 +0000 Subject: [PATCH] Updated layout git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2277 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackageNew.inc | 2 ++ plugins/admin/fai/faiPackageNew.tpl | 14 ++++---------- .../admin/systems/class_servRepositorySetup.inc | 4 ++-- .../admin/systems/class_workstationStartup.inc | 2 +- plugins/admin/systems/servRepository.tpl | 8 +++----- plugins/admin/systems/servRepositorySetup.tpl | 15 +++++++-------- 6 files changed, 19 insertions(+), 26 deletions(-) diff --git a/plugins/admin/fai/class_faiPackageNew.inc b/plugins/admin/fai/class_faiPackageNew.inc index b90107a99..60aea4aff 100644 --- a/plugins/admin/fai/class_faiPackageNew.inc +++ b/plugins/admin/fai/class_faiPackageNew.inc @@ -61,6 +61,8 @@ class faiPackageNew extends plugin { $str = ""; 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)){ diff --git a/plugins/admin/fai/faiPackageNew.tpl b/plugins/admin/fai/faiPackageNew.tpl index 2325d3304..5ca0eff5d 100644 --- a/plugins/admin/fai/faiPackageNew.tpl +++ b/plugins/admin/fai/faiPackageNew.tpl @@ -1,7 +1,4 @@ -
- {t}Repository settings{/t} -
-
+

{t}Repository settings{/t}

{t}To add packages to your package list you have to setup the repository settings first.{/t}
@@ -21,9 +18,7 @@ -
-

- : -

+
-

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

- +
+ {t}Sections for this release{/t} {$sections} diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc index 3336616a0..9330f4831 100644 --- a/plugins/admin/systems/class_servRepositorySetup.inc +++ b/plugins/admin/systems/class_servRepositorySetup.inc @@ -72,7 +72,7 @@ class servRepositorySetup extends plugin } $divlist = new divSelectBox("servRepositorySetup"); - $divlist->setHeight("120"); + $divlist->setHeight("220"); $dellink = ""; @@ -140,7 +140,7 @@ class servRepositorySetup extends plugin while($attr = $ldap->fetch()){ $ret[$attr['cn'][0]]= $attr['cn'][0]; } - $ret['none']=_("Master"); + $ret['none']= ""; return($ret); } diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 1653aab8e..a5cfa2063 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -46,7 +46,7 @@ class workstartup extends plugin /* Creating a list of valid Mirrors * none will not be saved to ldap. */ - $this->FAIdebianMirrors = array("none"=>_("none")); + $this->FAIdebianMirrors = array(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->search("(objectClass=FAIrepository)",array("FAIdebianMirror")); diff --git a/plugins/admin/systems/servRepository.tpl b/plugins/admin/systems/servRepository.tpl index 4453b44f5..72e3b1b86 100644 --- a/plugins/admin/systems/servRepository.tpl +++ b/plugins/admin/systems/servRepository.tpl @@ -32,11 +32,9 @@ - - diff --git a/plugins/admin/systems/servRepositorySetup.tpl b/plugins/admin/systems/servRepositorySetup.tpl index fb39b0e66..e5b7b85f9 100644 --- a/plugins/admin/systems/servRepositorySetup.tpl +++ b/plugins/admin/systems/servRepositorySetup.tpl @@ -2,17 +2,17 @@
-  {t}Display groups of user{/t} - - +   +
-
+ - - -
{t}Release{/t} : + {t}Release{/t}
{t}Parent server{/t} : + {t}Parent server{/t}
{t}Url{/t} : + {t}URL{/t} - +
- {t}Sections{/t} :
+ {t}Sections{/t}
{$Sections} @@ -38,9 +38,8 @@

- +  

- -- 2.30.2