From 7412ee9005686a7b539037731bcf90770c50bed9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 12 Jan 2006 13:00:36 +0000 Subject: [PATCH] Some style changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2463 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/class_servRepository.inc | 10 ++++- plugins/admin/systems/servRepository.tpl | 44 ++++++++++++------- 2 files changed, 36 insertions(+), 18 deletions(-) diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc index 4736c9dd3..6f75496ac 100644 --- a/plugins/admin/systems/class_servRepository.inc +++ b/plugins/admin/systems/class_servRepository.inc @@ -110,6 +110,12 @@ class servrepository extends plugin $once = false; foreach($_POST as $name => $value){ + if(preg_match("/AddRepository/",$name)){ + $once = true; + $this->dialog = new servRepositorySetup($this->config,$this->dn); + $this->dialog->acl = $this->acl; + } + if((preg_match("/^delete_/",$name))&&(!$once)){ $value = preg_replace("/delete_/","",$name); @@ -142,11 +148,13 @@ class servrepository extends plugin $this->dialog = new servRepositorySetup($this->config,$this->dn,$obj); $this->dialog->acl = $this->acl; } - + + /* if(isset($_POST['AddRepository'])){ $this->dialog = new servRepositorySetup($this->config,$this->dn); $this->dialog->acl = $this->acl; } + */ if(isset($_POST['repository_setup_save'])){ $this->dialog->save_object(); diff --git a/plugins/admin/systems/servRepository.tpl b/plugins/admin/systems/servRepository.tpl index 24f1146e5..41a421d55 100644 --- a/plugins/admin/systems/servRepository.tpl +++ b/plugins/admin/systems/servRepository.tpl @@ -1,31 +1,41 @@ -
-
-

+

+

{t}List of configured repositories.{/t}

+
+
+ +
+
+
{$Repositories} -
-
-

[i]{t}Information{/t}

-
-

- {t}This menu allows you to create, delete and edit repository settings.{/t} -

-
-
-
-

- [F]{t}Filters{/t} -

-
+
+
+

+ [i] + {t}Information{/t} +

+
+
+

+ {t}This menu allows you to create, delete and edit repository settings.{/t} +

+
+
+
+

+ [F] + {t}Filters{/t} +

+
{$alphabet} -- 2.30.2