1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Fixes #4706 'quote' bbcode in TinyMce and fixes fatal error under PHP 8.1 (LAN_WROTE)

This commit is contained in:
Cameron
2022-03-29 13:59:25 -07:00
parent 0c14d6d3f5
commit f922456a8f
3 changed files with 9 additions and 5 deletions

View File

@@ -1,13 +1,10 @@
//<?
$class = e107::getBB()->getClass('quote');
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_parser_functions.php");
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/".e_LANGUAGE.".php");
if(deftrue('BOOTSTRAP'))
{
return '<blockquote>
<p>'.$code_text.'</p>
<small><cite title="'.$parm.'">'.$parm.'</cite></small>
</blockquote>';
return '<blockquote><p>'.$code_text.'</p><small><cite title="'.$parm.'">'.$parm.'</cite></small></blockquote>';
}
return "<div class='indent {$class}'><em>$parm ".LAN_WROTE."</em> ...<br />$code_text</div>";