Code

Unified multiple msgPool templates
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 8 Mar 2008 14:04:56 +0000 (14:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 8 Mar 2008 14:04:56 +0000 (14:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9464 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/class_posixAccount.inc

index 3086b4de4dda3e00921db8d169d9b5d77dcecac4..995a66a63a4d706015b5a31d73485bae9b42b0cf 100644 (file)
@@ -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");
       }
     }