From: hickert Date: Fri, 29 Sep 2006 03:51:12 +0000 (+0000) Subject: Fixed problem with koab tab. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d8ddf7c18687a740924382d4cc8fb3e4016a668;p=gosa.git 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 --- 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} + + + + +