reCAPTCHA и другое

Удаляем старую капчу и заменяем ее на рекапчу второй версии;
заменяеем подключение языковых файлов, и связанных с ними параметров;
исправление ошибки с путем к карктинке званий в админке;
исправление ошибки с неверной английской локалью.

После обновления необходимо выполнить следующие запросы к базе:

DROP TABLE IF EXISTS `bb_captcha`;
DELETE FROM `bb_cron` WHERE `cron_script` = 'captcha_gen_gc.php';
This commit is contained in:
Exile 2014-12-06 01:35:23 +03:00
commit 5745161a54
58 changed files with 281 additions and 584 deletions

View file

@ -1,8 +1,5 @@
<?php
setlocale(LC_ALL, 'eu_US.UTF-8');
$lang['CONTENT_ENCODING'] = 'UTF-8';
// Common, these terms are used extensively on several pages
$lang['ADMIN'] = 'Administrating';
$lang['FORUM'] = 'Forum';
@ -659,12 +656,6 @@ $lang['COPYRIGHT_HOLDERS'] = 'For copyright holders';
$lang['ADVERT'] = 'Advertise on this site';
$lang['NOT_FOUND'] = 'File not found';
// Visual confirmation system strings
$lang['CONFIRM_CODE_WRONG'] = 'The confirmation code you entered was incorrect';
$lang['CONFIRM_CODE_IMPAIRED'] = 'If you are visually impaired or cannot otherwise read this code please contact the %sAdministrator%s for help.';
$lang['CONFIRM_CODE'] = 'Confirmation code';
$lang['CONFIRM_CODE_EXPLAIN'] = 'Enter the code exactly as you see it. The code is case sensitive and zero has a diagonal line through it.';
// Memberslist
$lang['SORT'] = 'Sort';
$lang['SORT_TOP_TEN'] = 'Top Ten Posters';
@ -2800,4 +2791,8 @@ $lang['UPLOAD_ERRORS'] = array(
UPLOAD_ERR_NO_TMP_DIR => 'temporary directory not found',
UPLOAD_ERR_CANT_WRITE => 'write error',
UPLOAD_ERR_EXTENSION => 'upload stopped by extension',
);
);
// Captcha
$lang['CAPTCHA'] = 'Check that you are not a robot';
$lang['CAPTCHA_WRONG'] = 'You could not confirm that you are not a robot';