From 248743de86820a4b41c6355f423ea37b4422a446 Mon Sep 17 00:00:00 2001 From: cajus Date: Sat, 8 Mar 2008 14:04:56 +0000 Subject: [PATCH] Unified multiple msgPool templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9464 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/personal/posix/class_posixAccount.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 3086b4de4..995a66a63 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -1043,10 +1043,10 @@ class posixAccount extends plugin $message[]= msgPool::depends("shadowWarning", "shadowMax"); } if ($this->shadowWarning > $this->shadowMax){ - $message[]= msgPool::smaller("shadowWarning", "shadowMax"); + $message[]= msgPool::toobig("shadowWarning", "shadowMax"); } if ($this->activate_shadowMin && $this->shadowWarning < $this->shadowMin){ - $message[]= msgPool::bigger("shadowWarning", "shadowMin"); + $message[]= msgPool::toosmall("shadowWarning", "shadowMin"); } } if ($this->activate_shadowInactive){ @@ -1059,7 +1059,7 @@ class posixAccount extends plugin } if ($this->activate_shadowMin && $this->activate_shadowMax){ if ($this->shadowMin > $this->shadowMax){ - $message[]= msgPool::smaller("shadowMin", "shadowMax"); + $message[]= msgPool::toobig("shadowMin", "shadowMax"); } } @@ -1096,10 +1096,10 @@ class posixAccount extends plugin $message[]= msgPool::depends("shadowWarning", "shadowMax"); } if ($this->shadowWarning > $this->shadowMax && in_array("activate_shadowWarning",$this->multi_boxes)){ - $message[]= msgPool::smaller("shadowWarning", "shadowMax"); + $message[]= msgPool::toobig("shadowWarning", "shadowMax"); } if ($this->activate_shadowMin && $this->shadowWarning < $this->shadowMin && in_array("activate_shadowMin",$this->multi_boxes)){ - $message[]= msgPool::bigger("shadowWarning", "shadowMin"); + $message[]= msgPool::tosmall("shadowWarning", "shadowMin"); } } if ($this->activate_shadowInactive && in_array("activate_shadowInactive",$this->multi_boxes)){ @@ -1112,7 +1112,7 @@ class posixAccount extends plugin } if ($this->activate_shadowMin && $this->activate_shadowMax && in_array("activate_shadowMin",$this->multi_boxes)){ if ($this->shadowMin > $this->shadowMax){ - $message[]= msgPool::smaller("shadowMin", "shadowMax"); + $message[]= msgPool::toobig("shadowMin", "shadowMax"); } } -- 2.30.2