mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 09:39:55 +02:00
Hero cleanup for Bootstrap5. Switched to placeholder images. Admin-ui type 'image' now loads remote URLs correctly.
This commit is contained in:
@@ -13,15 +13,8 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
e107::lan('hero',true, true);
|
||||
// e107::lan('hero','menu', true);
|
||||
|
||||
$text = e107::getParser()->parseTemplate("{HERO}");
|
||||
e107::getRender()->tablerender(null, $text, 'hero-menu');
|
||||
|
||||
if(deftrue('e_FRONTPAGE'))
|
||||
{
|
||||
$text = e107::getParser()->parseTemplate("{HERO}", true);
|
||||
e107::getRender()->tablerender(null, $text, 'hero-menu');
|
||||
}
|
||||
elseif(ADMIN)
|
||||
{
|
||||
$text = "<div class='alert alert-danger'>".LAN_HERO_MENU_001."</div>";
|
||||
e107::getRender()->tablerender(null, $text,'hero-menu');
|
||||
}
|
||||
|
Reference in New Issue
Block a user