From 4a8fde389b77c4a1c8114a632fab6b4cb6c99217 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 12 Mar 2008 12:57:44 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9709 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/acl/class_aclManagement.inc | 12 ++++++------ gosa-core/plugins/admin/acl/class_divListACL.inc | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 1e7f03144..afa143fc3 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -160,7 +160,7 @@ class aclManagement extends plugin $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); } } @@ -197,7 +197,7 @@ class aclManagement extends plugin /* 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); } } @@ -250,7 +250,7 @@ class aclManagement extends plugin /* 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); } } @@ -274,7 +274,7 @@ class aclManagement extends plugin /* 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."); @@ -313,7 +313,7 @@ class aclManagement extends plugin /* 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); } } @@ -337,7 +337,7 @@ class aclManagement extends plugin /* 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 73d597de7..7d7088ae9 100644 --- a/gosa-core/plugins/admin/acl/class_divListACL.inc +++ b/gosa-core/plugins/admin/acl/class_divListACL.inc @@ -48,7 +48,7 @@ class divListACL extends MultiSelectWindow $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 */ -- 2.30.2