From: hickert Date: Wed, 12 Mar 2008 13:21:16 +0000 (+0000) Subject: msgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=03d7b0b804bf70999933386682c2712313c23d28;p=gosa.git msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9713 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc index eb6bfe944..e76d4e386 100644 --- a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc +++ b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc @@ -244,11 +244,9 @@ class department extends plugin /* All required fields are set? */ if ($this->ou == ""){ - $message[]= _("Required field 'Name' is not set."); $message[]= msgPool::required(_("Name")); } if ($this->description == ""){ - $message[]= _("Required field 'Description' is not set."); $message[]= msgPool::required(_("Description")); } diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index e587e2006..deb6fd1cc 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -198,7 +198,7 @@ class departmentManagement extends plugin $this->deptabs->delete (); $this->deptabs = NULL; } else { - msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), WARNING_DIALOG); + msg_dialog::display(_("Permission error"), msgPool::permDelete(), WARNING_DIALOG); } /* Remove lock file after successfull deletion */ del_lock ($dn); @@ -246,7 +246,7 @@ class departmentManagement extends plugin return ($display); } }else{ - msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), WARNING_DIALOG); + msg_dialog::display(_("Permission error"), msgPool::permDelete(), WARNING_DIALOG); } } @@ -265,7 +265,7 @@ class departmentManagement extends plugin if(preg_match("/d/",$acl)){ $this->remove_from_parent(); } else { - msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), WARNING_DIALOG); + msg_dialog::display(_("Permission error"), msgPool::permDelete(), WARNING_DIALOG); } }