summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e90082)
raw | patch | inline | side by side (parent: 7e90082)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Mar 2008 12:57:44 +0000 (12:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Mar 2008 12:57:44 +0000 (12:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9709 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/acl/class_aclManagement.inc | patch | blob | history | |
gosa-core/plugins/admin/acl/class_divListACL.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc
index 1e7f0314458a5a7bb1b5b49f36bce3d8158fe67d..afa143fc324391f2c3c2e239c36cea1b440f1dfe 100644 (file)
$this->acltabs= new aclroletab($this->config, NULL,$this->dn);
$this->acltabs->set_acl_base($this->DivListACL->selectedBase);
}else{
- msg_dialog::display(_("Permission error"), _("You have no permission to create a new role!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), .msgPool::permCreate(), ERROR_DIALOG);
}
}
/* Set ACL and move DN to the headline */
session::set('objectinfo',$this->dn);
}else{
- msg_dialog::display(_("Permission error"), _("You have no permission to edit this ACL!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permModify(), ERROR_DIALOG);
}
}
/* Obviously the acl isn't allowed to delete. Show message and
clean session. */
- msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
}
}
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
if(isset($this->ui->uid)){
new log("security","aclroles/".get_class($this),$this->dn,array(),"Warning: '".$this->ui->uid."' tried to trick acl role deletion.");
/* Obviously the acl isn't allowed to delete. Show message and
clean session. */
- msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
}
}
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"),msgPool::permDelete(), ERROR_DIALOG);
if(isset($this->ui->uid)){
new log("security","aclroles/".get_class($this),$this->dn,array(),"Warning: '".$this->ui->uid."' tried to trick acl role deletion.");
diff --git a/gosa-core/plugins/admin/acl/class_divListACL.inc b/gosa-core/plugins/admin/acl/class_divListACL.inc
index 73d597de78548319ecdbc7d61f10f9d47654261d..7d7088ae96c5722b0b37eee305db3813e8adf713 100644 (file)
$this->ui = get_userinfo();
/* Set list strings */
- $this->SetTitle(_("List of acl"));
+ $this->SetTitle(_("List of acls"));
$this->SetSummary(_("List of acls"));
/* Result page will look like a headpage */