mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 17:19:56 +02:00
Separate template added to hero for when used within a menu. (ie. Menu Manager)
{HERO_BGIMAGE} behavior modified.
This commit is contained in:
@@ -15,6 +15,6 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
// e107::lan('hero','menu', true);
|
||||
|
||||
$text = e107::getParser()->parseTemplate("{HERO}");
|
||||
$text = e107::getParser()->parseTemplate("{HERO: template=menu}");
|
||||
e107::getRender()->tablerender(null, $text, 'hero-menu');
|
||||
|
||||
|
Reference in New Issue
Block a user