1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Add menu item of missing during page-menu update. BC fix for {e_IMAGE} path in [img] bbcode.

This commit is contained in:
Cameron
2013-12-23 03:56:25 -08:00
parent 23a30f3a10
commit 332084d9c9
2 changed files with 9 additions and 3 deletions

View File

@@ -39,7 +39,8 @@ class bb_img extends e_bb_base
$tp = e107::getParser();
// Replace the bbcode path with a real one.
$code_text = str_replace('{e_MEDIA_IMAGE}', e_HTTP."thumb.php?src=e_MEDIA_IMAGE/", $code_text);
$code_text = str_replace('{e_MEDIA}','{e_MEDIA_IMAGE}',$code_text); //BC 0.8 fix.
$code_text = str_replace('{e_MEDIA_IMAGE}', e_HTTP."thumb.php?src=e_MEDIA_IMAGE/", $code_text);
$imgParms = $this->processParm($code_text, $parm);
foreach($imgParms as $k => $v)