From: hickert Date: Wed, 9 May 2007 09:03:22 +0000 (+0000) Subject: Updated default values X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fc581e6881a105995e7b06c5eed28808b361d60;p=gosa.git Updated default values git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Feedback.inc b/setup/class_setupStep_Feedback.inc index 191bab8f8..fd6e394c5 100644 --- a/setup/class_setupStep_Feedback.inc +++ b/setup/class_setupStep_Feedback.inc @@ -28,8 +28,8 @@ class Step_Feedback extends setup_step 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; @@ -178,6 +178,11 @@ class Step_Feedback extends setup_step 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); }