index 086bbd58339b0cecab4826bc1297cfdc3077b1ee..1e60f7d9a6cdcbcaf2682ef99c0f8d7ff1dc44e2 100644 (file)
<?php
class servkolab extends plugin {
- /* CLI vars */
- var $cli_summary = "Manage server basic objects";
- var $cli_description = "Some longer text\nfor help";
- var $cli_parameters = array("eins"=>"Eins ist toll", "zwei"=>"Zwei ist noch besser");
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 = "";
var $cyrus_quotawarn = "80";
var $kolabFreeBusyFuture = "1";
var $k = "kolab";
- var $cyrus_admins = "TRUE";
var $cyrus_imap = "TRUE";
- var $cyrus_pop3 = "TRUE";
+ var $cyrus_pop3 = "FALSE";
var $cyrus_imaps = "TRUE";
var $cyrus_pop3s = "TRUE";
var $cyrus_sieve = "TRUE";
var $apache_allow_unauthenticated_fb = "TRUE";
- var $proftpd_ftp = "TRUE";
+ var $proftpd_ftp = "FALSE";
var $apache_http = "TRUE";
var $kolabHost = array();
var $orig_cn = "";
$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) {
return;
}
- /* Integration check, not translatet because they can't pop up at all, only for debug */
+ /* Integration check, not translated because they can't pop up at all, only for debug */
if(count($this->kolabHost) == 0){
print_red("Server - Kolab tab : This is not possible, we can't remove an account which doesn't exists.");
return;
/* 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])){