summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8b7790)
raw | patch | inline | side by side (parent: b8b7790)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 May 2005 05:20:08 +0000 (05:20 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 May 2005 05:20:08 +0000 (05:20 +0000) |
plugins/admin/systems/class_servKolab.inc | patch | blob | history |
index 2ab91d46735c98891b20235c172806ba298347ef..fd87b6a7b76d8999fa75e2e2bc77836ae4a43edc 100644 (file)
error_reporting(E_ALL);
$message = array();
if(($this->kolabFreeBusyFuture=="")) {
- $message[] = _("Free/Busy settings -> Future days must be set.");
- }elseif((($this->kolabFreeBusyFuture=="")<0)){
- $message[] = _("Free/Busy settings -> Future days must be a positive value.");
- }elseif(strcasecmp($this->kolabFreeBusyFuture,(int)$this->kolabFreeBusyFuture)){
- $message[] = _("Free/Busy settings -> Future days must be a value.");
+ $message[] = _("Future days in Free/Busy settings must be set.");
+ }elseif(!is_uid($this->kolabFreeBusyFuture) || $this->kolabFreeBusyFuture < 0){
+ $message[] = _("Future days in Free/Busy settings must be a positive value.");
}
if(!is_int((int)($this->cyrus_quotawarn))) {
- $message[] = _("Cyrus Quota settings -> The given Quota settings value must be a number.");
+ $message[] = _("The given Quota settings value must be a number.");
}elseif(!(($this->cyrus_quotawarn<=100)&&($this->cyrus_quotawarn>=0))){
- $message[] = _("Cyrus Quota settings -> Please choose a value between 1 and 100 for Quota settings.");
+ $message[] = _("Please choose a value between 1 and 100 for Quota settings.");
}elseif(strcasecmp($this->cyrus_quotawarn,(int)$this->cyrus_quotawarn)){
- $message[] = _("Cyrus Quota settings -> Future days must be a value.");
+ $message[] = _("Future days must be a value.");
}
if(empty($this->postfix_mynetworks))
{
- $message[] = _("SMTP privileged networks -> No value is given.");
+ $message[] = _("No SMTP privileged networks set.");
}
if(empty($this->postfix_relayhost))
{
- $message[] = _("SMTP smarthost/relayhost -> No value is given.");
+ $message[] = _("No SMTP smarthost/relayhost set.");
}