- Code: Select all
<script type="text/javascript">
//<![CDATA[
if(jQuery.cookie('glang') && jQuery.cookie('glang') != 'ru') jQuery(function($){$('body').translate('ru', $.cookie('glang'), {toggle:true, not:'.notranslate'});});
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;var lang=lang_pair.split('|')[1];jQuery.cookie('glang', lang, {path: '/'});jQuery(function($){$('body').translate('ru', lang, {toggle:true, not:'.notranslate'});});}
//]]>
And I'm pretty much sure it's due to $ presence. IPB parser thinks it's PHP and tries to parse it accordingly.
Any workaround for this?