1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Fix for {NAV_CLASS}

This commit is contained in:
Cameron
2020-12-27 14:30:51 -08:00
parent e66d3f32de
commit 0215ef4404

View File

@@ -1648,8 +1648,8 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
$sc->navClass = $opts['class'];
}
$head = e107::getParser()->parseTemplate($template['start'],true);
$foot = e107::getParser()->parseTemplate($template['end'],true);
$head = e107::getParser()->parseTemplate($template['start'], true, $sc);
$ret = "";
$sc->counter = 1;
@@ -1670,6 +1670,8 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
$sc->counter++;
}
$foot = e107::getParser()->parseTemplate($template['end'], true, $sc);
return ($ret != '') ? $head.$ret.$foot : '';
}