1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Banner plugin may use keywords to display relevant banners on current news/pages. (exact match only, so use with caution)

This commit is contained in:
Cameron
2016-03-11 23:12:19 -08:00
parent e9869319f3
commit 85f67aa084
5 changed files with 33 additions and 12 deletions

View File

@@ -2885,7 +2885,9 @@ class e_form
}
$tags = str_replace(', ',',', $tags); //BC Fix, all tags should be comma separated without spaces ie. one,two NOT one, two
e107::setRegistry('core/form/related',$tags); // TODO Move to elsewhere so it works without rendering? e107::related() set and get by plugins?
if(!varset($parm['limit']))
{
$parm = array('limit' => 5);
@@ -2925,7 +2927,10 @@ class e_form
continue;
}
$parm['current'] = intval(varset($curVal[$plug]));
$parm['current'] = intval(varset($curVal[$plug]));
$tmp = $obj->compile($tags,$parm);