fixed config error messages

This commit is contained in:
Roland Gruber 2004-09-26 14:56:34 +00:00
parent 7373059701
commit 941bd55d8f
1 changed files with 5 additions and 5 deletions

View File

@ -256,19 +256,19 @@ class posixGroup extends baseModule {
'type' => 'ext_preg', 'type' => 'ext_preg',
'regex' => 'digit', 'regex' => 'digit',
'required' => true, 'required' => true,
'required_message' => $this->errormessages['gidNumber'][5], 'required_message' => $this->messages['gidNumber'][5],
'error_message' => $this->errormessages['gidNumber'][5]); 'error_message' => $this->messages['gidNumber'][5]);
$return['config_checks']['group']['posixGroup_maxGID'] = array ( $return['config_checks']['group']['posixGroup_maxGID'] = array (
'type' => 'ext_preg', 'type' => 'ext_preg',
'regex' => 'digit', 'regex' => 'digit',
'required' => true, 'required' => true,
'required_message' => $this->errormessages['gidNumber'][6], 'required_message' => $this->messages['gidNumber'][6],
'error_message' => $this->errormessages['gidNumber'][6]); 'error_message' => $this->messages['gidNumber'][6]);
$return['config_checks']['group']['cmpGID'] = array ( $return['config_checks']['group']['cmpGID'] = array (
'type' => 'int_greater', 'type' => 'int_greater',
'cmp_name1' => 'posixGroup_maxGID', 'cmp_name1' => 'posixGroup_maxGID',
'cmp_name2' => 'posixGroup_minGID', 'cmp_name2' => 'posixGroup_minGID',
'error_message' => $this->errormessages['gidNumber'][7]); 'error_message' => $this->messages['gidNumber'][7]);
// available PDF fields // available PDF fields
$return['PDF_fields'] = array( 'cn', $return['PDF_fields'] = array( 'cn',
'gidNumber', 'gidNumber',