summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57d6035)
raw | patch | inline | side by side (parent: 57d6035)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Mar 2008 12:48:17 +0000 (12:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Mar 2008 12:48:17 +0000 (12:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9707 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_divListUsers.inc | patch | blob | history | |
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc
index 84afb606cf2b31c9fff9c916c244c509e9c86dc4..3c462f7eb29833c60a2146743ddd2521ff14a266 100644 (file)
name='user_chgpw_%KEY%' title='"._("Change password")."'>";
}else{
$action.= "<img class='center' src='images/empty.png' alt=' '
- title='"._("You are not allowed to change the password for this user.")."'>";
+ title='"._("Not allowed")."'>";
}
/* Add snapshot icon */
name='user_del_%KEY%' title='"._("Delete user")."'>";
}else{
$action.= "<img class='center' src='images/empty.png' alt=' '
- title='"._("You are not allowed to remove this user.")."'>";
+ title='"._("Not allowed")."'>";
}
/* Create phonaccopunt informationm, if conencted && is phoneAccount */
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index b42abecb2f16e8315e5478640e9a553ca45aa26e..adcbe468d46cf99daac1cb5bffda1f984784b7eb 100644 (file)
unset ($this->usertab);
$this->usertab= NULL;
} else {
- msg_dialog::display(_("User delete"),sprintf(_("You are not allowed to delete the user '%s'!"),$dn),WARNING_DIALOG);
+ msg_dialog::display(_("User delete"),msgPool::permDelete($dn),WARNING_DIALOG);
if(isset($this->ui->uid)){
new log("security","users/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- msg_dialog::display(_("User delete"),_("You are not allowed to delete this user!"),WARNING_DIALOG);
+ msg_dialog::display(_("User delete"),msgPool::permDelete(),WARNING_DIALOG);
if(isset($this->ui->uid)){
new log("security","users/".get_class($this),$this->dn,array(),"Tried to trick deletion.");