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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user