summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 63ae5bb)
raw | patch | inline | side by side (parent: 63ae5bb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Jan 2008 13:16:40 +0000 (13:16 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Jan 2008 13:16:40 +0000 (13:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8387 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/personal/connectivity/class_opengwAccount.inc b/gosa-core/plugins/personal/connectivity/class_opengwAccount.inc
index 920c62e0ffb92478ce81d154acdfa2a5f7eb1881..e2b4f5e03e40f9d10b9d49d80532d3ff1f9e954b 100644 (file)
/* Check database extension */
if(!is_callable("pg_connect") && count($this->serverCon)){
- msg_dialog::display(_("Configuration error"), _("Missing postgresql extension!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("Missing %s PHP extension!"), "postgresql"), ERROR_DIALOG);
}elseif(count($this->serverCon)){
/* Check if config exists */
diff --git a/gosa-core/plugins/personal/connectivity/class_oxchangeAccount.inc b/gosa-core/plugins/personal/connectivity/class_oxchangeAccount.inc
index 410be0a50812f7c4eed188fe9e197fa2a339656f..6561ab14c8a7634fbb4a0d7c18aa65f8d8131871 100644 (file)
return;
}
}else{
- msg_dialog::display(_("Configuration error"), _("Missing postgresql extension!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("Missing %s PHP extension!"), "postgresql"), ERROR_DIALOG);
return;
}
return;
}
}else{
- msg_dialog::display(_("Configuration error"), _("Missing postgresql extension!"), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("Missing %s PHP extension!"), "postgresql"), ERROR_DIALOG);
return;
}
}
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index 2a4df8481964d61e4f26af68fd68d9228b5f9d51..73944131d221fb9ca06f3ff6a46eaaabb9e6ef78 100644 (file)
/* Check GOsa permissions */
if (!preg_match("/w/i",$password_ACLS)){
msg_dialog::display(_("User password"),
- _("You have no permissions to change your password."),WARNING_DIALOG);
+ _("You have no permission to change your password."),WARNING_DIALOG);
}else{
change_password ($ui->dn, $_POST['new_password']);
gosa_log ("User/password has been changed");
diff --git a/gosa-core/plugins/personal/scalix/class_scalixAccount.inc b/gosa-core/plugins/personal/scalix/class_scalixAccount.inc
index 0a7b1c2661406809c522e83a5464719c952a1723..c64181448b710b4d4775c57957de5dccd63dc66f 100644 (file)
/* Check write access */
if(!$this->acl_is_writeable("scalixEmailAddress")){
- print_red(_("You are not allowed to modify alternate addresses"));
+ msg_dialog::display(_("Error"), _("You have no permission to modify these addresses."), ERROR_DIALOG);
}else{
/* Mail address already in use ? */
/* Delete email addresses */
if (isset($_POST['delete_email']) && isset ($_POST['emails_list'])){
if(!$this->acl_is_writeable("scalixEmailAddress")){
- print_red(_("You are not allowed to modify alternate addresses"));
+ msg_dialog::display(_("Error"), _("You have no permission to modify these addresses."), ERROR_DIALOG);
}else{
if (count($_POST['emails_list'])){
$this->delEmail ($_POST['emails_list']);