Прывітанне Міхал,

Гэта падалося вельмі дзіўным, таму я выключыў убудова канфліктаў і пайшоў прама ў файле PHP.

Я працаваў код трохі і знайшоў наступнае рашэнне. Магчыма, гэта што-то толькі, якія ўплываюць мой сайт, але мне здаецца, што як толькі адзінарныя двукоссі былі ўведзеныя (\\ ') у HTML, рэдактар зламаўся. Такім чынам, я змяніў усё адзінарныя двукоссі на падвойныя двукоссі, і ўсё працавала. Акрамя таго, я павінен быў выдаліць $ vbphrase ['vbenterprisetranslator_postin_noselection'] і замяніць яго на «англійская» радка. Глядзіце змены кода ніжэй у vbenterprisetranslator_functions_hooks.php:

Знайсці:

PHP Code:
function vbet_editor_toolbar_end(&$editor_template_name) {
if (!
$vbulletin->templatecache["$editor_template_name"]) {
fetch_template("$editor_template_name");
}
$toReplace '<div id=\"$editorid';
if (
false === strpos($vbulletin->templatecache["$editor_template_name"], $toReplace)) {
$toReplace '<div id=\"{$editorid';
}
require_once(
DIR'/includes/vbenterprisetranslator_functions_utils.php');
global 
$vbphrase$vbulletin$stylevar;
$additionalScript '<div class=\'smallfont\' style=\'text-align:left;\'>'
.$vbphrase['vbenterprisetranslator_postin']
.
'&nbsp;<label for=\'vbet_addbbcodes\'><input id=\'vbet_addbbcodes\' type=\'radio\' name=\'vbet_postInLanguage\' value=\''
.$vbulletin->userinfo['vbet_def_lang'].'\' checked>'
.'<img src=\'images/vbet/flags/'
.$vbulletin->userinfo['vbet_def_lang'].'.gif\' alt=\'$name\' border=\'0\'/>'
.$vbphrase['vbenterprisetranslator_flag_'.strtr($vbulletin->userinfo['vbet_def_lang'], '-''_')]
.
'</label>&nbsp;&nbsp;&nbsp;<label for=\'vbet_nobbcodes\'><input id=\'vbet_nobbcodes\' type=\'radio\' name=\'vbet_postInLanguage\' value=\'0\'>'
.$vbphrase['vbenterprisetranslator_postin_noselection']
.
'</label></div>'.$toReplace;
$vbulletin->templatecache[$editor_template_name] =& vbet_replaceFirst($toReplace$additionalScript$vbulletin->templatecache["$editor_template_name"]);

Замяніць:

PHP Code:
function vbet_editor_toolbar_end(&$editor_template_name) {
if (!
$vbulletin->templatecache["$editor_template_name"]) {
fetch_template("$editor_template_name");
}
$toReplace '<div id=\"{$editorid';
require_once(
DIR'/includes/vbenterprisetranslator_functions_utils.php');
global 
$vbphrase$vbulletin$stylevar;
$additionalScript '<div class=\"smallfont\" style=\"text-align:left;\">'
.$vbphrase['vbenterprisetranslator_postin']
.
'&nbsp;<label for=\"vbet_addbbcodes\"><input id=\"vbet_addbbcodes\" type=\"radio\" name=\"vbet_postInLanguage\" value=\"'
.$vbulletin->userinfo['vbet_def_lang'].'\" checked>'
.'<img src=\"images/vbet/flags/'
.$vbulletin->userinfo['vbet_def_lang'].'.gif\" alt=\"$name\" border=\"0\"/>'
.$vbphrase['vbenterprisetranslator_flag_'.strtr($vbulletin->userinfo['vbet_def_lang'], '-''_')]
.
'</label>&nbsp;&nbsp;&nbsp;<label for=\"vbet_nobbcodes\"><input id=\"vbet_nobbcodes\" type=\"radio\" name=\"vbet_postInLanguage\" value=\"0\">'
'English</label></div>'
$toReplace;
$vbulletin->templatecache[$editor_template_name] = vbet_replaceFirst($toReplace$additionalScript$vbulletin->templatecache[$editor_template_name]);

Я таксама пазбавіўся ад strpos заклік да эканоміі рэсурсаў, як жорстка версіі, здаецца, працуе