1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-05 14:13:18 -08:00
parent d37d4bf8af
commit 09fb747374
30 changed files with 125 additions and 89 deletions

View File

@@ -120,7 +120,7 @@ class plugin_gallery_index_controller extends eControllerFront
$sc = e107::getScBatch('gallery', true);
$sc->breadcrumb();
$text = "";
// $text = "";
if(defset('BOOTSTRAP') === true || defset('BOOTSTRAP') === 2) // Convert bootsrap3 to bootstrap2 compat.
{
@@ -132,7 +132,7 @@ class plugin_gallery_index_controller extends eControllerFront
foreach($this->catList as $val)
{
$sc->setVars($val);
$text .= e107::getParser()->parseTemplate($template['cat']['item'], true);
$text .= e107::getParser()->parseTemplate($template['cat']['item']);
}
$text .= e107::getParser()->parseTemplate($template['cat']['end'], true, $sc);