1
0
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:
Cameron
2013-05-31 18:40:56 -07:00
parent 8d94fa8b23
commit b8cdc71795
8 changed files with 27 additions and 26 deletions

View File

@@ -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)