Adding lang var for showing error message -refs #6373

1.9.x
unknown 11 years ago
parent 786ee194fb
commit 4d9406d727
  1. 2
      main/auth/inscription.php
  2. 2
      main/inc/lib/userportal.lib.php

@ -162,7 +162,7 @@ if ($user_already_registered_show_terms == false) {
$form->addElement('text', 'captcha', get_lang('EnterTheLettersYouSee'), array('size' => 40));
$form->addRule('captcha', get_lang('EnterTheCharactersYouReadInTheImage'), 'required', null, 'client');
$form->addRule('captcha', 'What you entered didn\'t match the picture', 'CAPTCHA', $captcha_question);
$form->addRule('captcha', get_lang('TheTextYouEnteredDoesNotMatchThePicture'), 'CAPTCHA', $captcha_question);
}
// EXTENDED FIELDS

@ -707,7 +707,7 @@ class IndexManager {
$form->addElement('text', 'captcha', get_lang('EnterTheLettersYouSee'));
$form->addRule('captcha', get_lang('EnterTheCharactersYouReadInTheImage'), 'required', null, 'client');
$form->addRule('captcha', 'What you entered didn\'t match the picture', 'CAPTCHA', $captcha_question);
$form->addRule('captcha', get_lang('TheTextYouEnteredDoesNotMatchThePicture'), 'CAPTCHA', $captcha_question);
}
}

Loading…
Cancel
Save