Marcin Kalak
17-10-12, 11:47
Một từ đục tính năng mới cho các chức danh gây ra vấn đề trong các liên kết. Nhanh chóng sẽ sửa chữa cho vấn đề là:
Mở tập tin bao gồm / vbenterprisetranslator_functions_detection.php
Tìm mã:
$index = 0;
$index_prev = 0;
$index_prev_s = 0;
while (true) {
if($index_prev_s!=$index_prev)
{
$index_prev=$index;
$index_prev_s=$index_prev;
}
$index = strpos($title,$ignored, $index);
$help = substr($title,$index_prev, ($index-$index_prev));
if ($index !== false) {
if(vbet_containsSeparated($title,$ignoredLen, $index)) {
$index_prev_s++;
if((strstr($help,""))) {
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LARGE_LANGTITLE_NT_LENGTH;
}
else
{
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LANGTITLE_NT_LENGTH;
}
}
} else {
break;
}
$index += $ignoredLen;
}
$title = str_replace("[langtitle=".$language."] ", " ", $title);
Thêm trước khi mã:
/*
Thêm sau khi mã:
*/
Điều này sẽ chỉ tắt đục từ tiêu đề. Trong phiên bản kế tiếp, chúng tôi sẽ sửa chữa vấn đề này.
Mở tập tin bao gồm / vbenterprisetranslator_functions_detection.php
Tìm mã:
$index = 0;
$index_prev = 0;
$index_prev_s = 0;
while (true) {
if($index_prev_s!=$index_prev)
{
$index_prev=$index;
$index_prev_s=$index_prev;
}
$index = strpos($title,$ignored, $index);
$help = substr($title,$index_prev, ($index-$index_prev));
if ($index !== false) {
if(vbet_containsSeparated($title,$ignoredLen, $index)) {
$index_prev_s++;
if((strstr($help,""))) {
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LARGE_LANGTITLE_NT_LENGTH;
}
else
{
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LANGTITLE_NT_LENGTH;
}
}
} else {
break;
}
$index += $ignoredLen;
}
$title = str_replace("[langtitle=".$language."] ", " ", $title);
Thêm trước khi mã:
/*
Thêm sau khi mã:
*/
Điều này sẽ chỉ tắt đục từ tiêu đề. Trong phiên bản kế tiếp, chúng tôi sẽ sửa chữa vấn đề này.