mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Correction of shortcode global issue. As per e107 v1.x - shortcodes should only ever be registered globally using e_shortcode.php or xxx.sc files.
This commit is contained in:
@@ -142,12 +142,12 @@ class plugin_gallery_index_controller extends eControllerFront
|
||||
$sc->setVars($row)
|
||||
->addVars($cat);
|
||||
|
||||
$inner .= $tp->parseTemplate($template['LIST_ITEM'],TRUE);
|
||||
$inner .= $tp->parseTemplate($template['LIST_ITEM'],TRUE, $sc);
|
||||
}
|
||||
|
||||
$text = $tp->parseTemplate($template['LIST_START'],TRUE);
|
||||
$text = $tp->parseTemplate($template['LIST_START'],TRUE, $sc);
|
||||
$text .= $inner;
|
||||
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
||||
$text .= $tp->parseTemplate($template['LIST_END'],TRUE, $sc);
|
||||
|
||||
$this->addTitle($catname)
|
||||
->addTitle(LAN_PLUGIN_GALLERY_TITLE)
|
||||
|
Reference in New Issue
Block a user