summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 678c8c4)
raw | patch | inline | side by side (parent: 678c8c4)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Jan 2008 16:04:29 +0000 (16:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Jan 2008 16:04:29 +0000 (16:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8298 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/connectivity/class_opengwAccount.inc | patch | blob | history | |
gosa-core/plugins/personal/connectivity/class_oxchangeAccount.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/connectivity/class_opengwAccount.inc b/gosa-core/plugins/personal/connectivity/class_opengwAccount.inc
index f61846022a958253f6553f2e1dbb27d4d84a8cca..920c62e0ffb92478ce81d154acdfa2a5f7eb1881 100644 (file)
/* Check if config exists */
if($this->config->search("opengwAccount", 'DATABASE',array('tabs'))){
- msg_dialog::display(_("Configuration error"), _("Missing database configuration!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("%s database configuration is missing!"), "Open Groupware"), ERROR_DIALOG);
}else{
/* Create handle */
/* Check if we are successfully connected to db */
if(!$this->handle->connected){
- msg_dialog::display(_("Configuration error"), _("Cannot connect to database!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf( _("Cannot connect to %s database!"), "Open Groupware"), ERROR_DIALOG);
}else{
/* Assign LocationTeams */
diff --git a/gosa-core/plugins/personal/connectivity/class_oxchangeAccount.inc b/gosa-core/plugins/personal/connectivity/class_oxchangeAccount.inc
index e5c8d5bbeb58096788704fa7fede56ff42b0e19f..410be0a50812f7c4eed188fe9e197fa2a339656f 100644 (file)
isset($this->oxconf["PGPASSWD"])){
$pgcon = @pg_connect("host=".$this->oxconf["PGHOST"]." user=".$this->oxconf["PGUSER"]." password=".$this->oxconf["PGPASSWD"]." dbname=".$this->oxconf["PGDBNAME"]);
if (! $pgcon){
- msg_dialog::display(_("Error"), _("Cannot connect to database!"), ERROR_DIALOG);
+ msg_dialog::display(_("Error"), sprintf(_("Cannot connect to %s database!"), "Open-Xchange"), ERROR_DIALOG);
return;
}
}else{
- msg_dialog::display(_("Configuration error"), _("Database configuration missing!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("%s database configuration is missing!"), "Open-Xchange"), ERROR_DIALOG);
return;
}
}else{
if(isset($this->oxconf["PGUSER"]) and isset($this->oxconf["PGHOST"]) and isset($this->oxconf["PGDBNAME"]) and isset($this->oxconf["PGPASSWD"])){
$pgcon = @pg_connect("host=".$this->oxconf["PGHOST"]." user=".$this->oxconf["PGUSER"]." password=".$this->oxconf["PGPASSWD"]." dbname=".$this->oxconf["PGDBNAME"]);
if (! $pgcon){
- msg::display(_("Error"), _("Cannot connect to database!"), ERROR_DIALOG);
+ msg::display(_("Error"), sprintf(_("Cannot connect to %s database!"), "Open-Xchange"), ERROR_DIALOG);
return;
}
}else{
- msg_dialog::display(_("Configuration error"), _("Database configuration missing!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("%s database configuration is missing!"), "Open-Xchange"), ERROR_DIALOG);
return;
}
}else{