index dc273e64fd8ce51981d11377389c31442a505db7..fbcfb4c97bfeb4d4be04e70f0d9e5d973ab05ac6 100644 (file)
var $organization = "";
var $eMail = "";
var $name = "";
- var $subscribe = TRUE;
- var $use_gosa_announce = TRUE;
+ var $subscribe = FALSE;
+ var $use_gosa_announce = FALSE;
var $feedback_url = "http://oss.gonicus.de/gosa-feedback/";
var $get_started = TRUE;
$this->features_used['asterisk'] = array("USED" => isset($oc['goFonAccount']),
"NAME" => _("Asterisk administration"));
$this->features_used['inventory'] = array("USED" => isset($oc['glpiAccount']) ,
- "NAME" => _("System invetory"));
+ "NAME" => _("System inventory"));
$this->features_used['system'] = array("USED" => FALSE ,
"NAME" => _("System-/Configmanagement"));
$this->features_used['addressbook'] = array("USED" => FALSE ,
if(!is_email($this->eMail) || empty($this->eMail)){
$msgs[] = _("Please specify a valid email address.");
}
+
+ if(!$this->subscribe && !$this->use_gosa_announce){
+ $msgs[] = _("You should have enabled at least one option, to subscribe or send your feedback.");
+ }
+
return($msgs);
}
}else{
$str .= "\nGet started: FALSE";
}
- $str .= "\nProblems : ".base64_encode($this->problems_encountered);
+ $str .= "\nProblems : ".($this->problems_encountered);
if($this->first_use){
$str .= "\nFirst use: TRUE";
$str .="\nPHP_Version: ".$this->php_version;
$str .="\nLDAP Server: ".$this->ldap_server;
$str .="\nObject count: ".$this->object_count;
- $str .="\nMissing features: ".base64_encode($this->want_to_see_next);
+ $str .="\nMissing features: ".($this->want_to_see_next);
}
$str .= "\n\nFeatures used";