From 3d8ddf7c18687a740924382d4cc8fb3e4016a668 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 29 Sep 2006 03:51:12 +0000 Subject: [PATCH] Fixed problem with koab tab. All fields resetted on load. Added missing cyrus_admins git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4827 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servKolab.inc | 6 +++--- plugins/admin/systems/servkolab.tpl | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/admin/systems/class_servKolab.inc b/plugins/admin/systems/class_servKolab.inc index 086bbd583..7df78c069 100644 --- a/plugins/admin/systems/class_servKolab.inc +++ b/plugins/admin/systems/class_servKolab.inc @@ -8,6 +8,7 @@ class servkolab extends plugin { var $postfix_mydomain = ""; var $postfix_mydestination = ""; + var $cyrus_admins = ""; var $postfix_mynetworks = "127.0.0.1/8"; var $postfix_enable_virus_scan = "TRUE"; var $postfix_relayhost = ""; @@ -16,7 +17,6 @@ class servkolab extends plugin { var $cyrus_quotawarn = "80"; var $kolabFreeBusyFuture = "1"; var $k = "kolab"; - var $cyrus_admins = "TRUE"; var $cyrus_imap = "TRUE"; var $cyrus_pop3 = "TRUE"; var $cyrus_imaps = "TRUE"; @@ -42,7 +42,7 @@ class servkolab extends plugin { $this->dn = "k=kolab,".$config->current['BASE']; /* Load variables, if given*/ - plugin::plugin($config, $this->dn, $parent); + plugin::plugin($config, $this->dn); /* Copy needed attributes */ foreach($this->attributes as $val) { @@ -228,7 +228,7 @@ class servkolab extends plugin { /* Save checkboxes */ foreach (array( "postfix_enable_virus_scan", "postfix_allow_unauthenticated", - "cyrus_admins", "cyrus_imap", "cyrus_pop3", "cyrus_imaps", + "cyrus_imap", "cyrus_pop3", "cyrus_imaps", "cyrus_pop3s", "cyrus_sieve", "apache_allow_unauthenticated_fb", "proftpd_ftp", "apache_http") as $cb){ if (isset($_POST[$cb])){ diff --git a/plugins/admin/systems/servkolab.tpl b/plugins/admin/systems/servkolab.tpl index 446340eb2..57231d2fa 100644 --- a/plugins/admin/systems/servkolab.tpl +++ b/plugins/admin/systems/servkolab.tpl @@ -19,6 +19,13 @@ + + {t}Cyrus admins{/t} + + + + +

 

-- 2.30.2