summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 600cc81)
raw | patch | inline | side by side (parent: 600cc81)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Nov 2010 13:38:05 +0000 (13:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Nov 2010 13:38:05 +0000 (13:38 +0000) |
-Updated error messages
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20172 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20172 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/class_Groupware.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc
index 9e2dacb018410aa789d769eb00552ff1003be2ad..1e195296baba44ea62675a90bfd93d38f63013e3 100644 (file)
$res = $this->rpcExec('gwAcctdAdd', $this->uid, $this->mailAddress);
if($res === NULL){
$message = _("Groupware account creation failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
return;
}
}
$res = $this->groupwareDao->save("primaryMail", $this->uid, $this->mailAddress);
if($res === NULL){
$message = _("Setting account mail address failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
$res = $this->groupwareDao->save("alternateAddresses", $this->uid, array($this->alternateAddresses));
if($res === NULL){
$message = _("Saving alternate addresses failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
}
$res = $this->groupwareDao->save("forwardingAddresses", $this->uid, array($addresses));
if($res === NULL){
$message = _("Saving forward addresses failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
$res = $this->groupwareDao->save("quotaSize", $this->uid, $quota);
if($res === NULL){
$message = _("Saving quota failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
$res = $this->saveFoldersAndAcls($this->uid, $this->mailFolder);
if($res === NULL){
$message = _("Saving mail folder failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
$res = $this->groupwareDao->save("mailLocation", $this->uid, $this->mailLocation);
if($res === NULL){
$message = _("Saving mail location failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
$res = $this->groupwareDao->save("mailLimit", $this->uid, array( $this->mailLimitSendValue, $this->mailLimitReceiveValue));
if($res === NULL){
$message = _("Saving mail limitations failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}
}
if($res === NULL){
$message = _("Saving vacation message failed!");
- msg_dialog::display(_("Error"),
- $message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),
- ERROR_DIALOG);
+ msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);
}
}