mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 02:42:40 +02:00
Hero now has a background image and an image/video field. Re-install and clear db cache.
This commit is contained in:
@@ -7,12 +7,12 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$HERO_TEMPLATE = array();
|
||||
|
||||
$HERO_TEMPLATE['menu']['header'] = '<!-- Hero Menu: header -->{SETIMAGE: w=400&h=400}
|
||||
$HERO_TEMPLATE['default']['header'] = '<!-- Hero Menu: header -->{SETIMAGE: w=400&h=400}
|
||||
<div id="carousel-hero" class="carousel carousel-fade slide" data-ride="carousel" data-interval="{HERO_SLIDE_INTERVAL}">
|
||||
<div class="carousel-inner" role="listbox">';
|
||||
|
||||
|
||||
$HERO_TEMPLATE['menu']['footer'] = '</div><div class="carousel-controls">
|
||||
$HERO_TEMPLATE['default']['footer'] = '</div><div class="carousel-controls">
|
||||
<!-- Controls -->
|
||||
<a class="left carousel-left carousel-control animated zoomIn animation-delay-30" href="#carousel-hero" role="button" data-slide="prev">
|
||||
<i class="fa fa-chevron-left fa-fw"></i>
|
||||
@@ -33,19 +33,29 @@ $HERO_TEMPLATE['menu']['footer'] = '</div><div class="carousel-controls">
|
||||
</div>';
|
||||
|
||||
|
||||
$HERO_TEMPLATE['menu']['start'] = '<div class="carousel-item item {HERO_SLIDE_ACTIVE}" style="background-image:url({HERO_IMAGE})">
|
||||
$HERO_TEMPLATE['default']['start'] = '<div class="carousel-item item {HERO_SLIDE_ACTIVE}" style="background-image:url({HERO_BGIMAGE})">
|
||||
<div class="container">
|
||||
|
||||
<div class="carousel-caption">
|
||||
<div class="hero-text-container">
|
||||
<header class="hero-title animated slideInLeft animation-delay-5">
|
||||
<h1 class="animated fadeInLeft animation-delay-10 font-smoothing">{HERO_TITLE: enwrap=strong}</h1>
|
||||
<h2 class="animated fadeInLeft animation-delay-12">{HERO_DESCRIPTION: enwrap=span&class=text-bold}</h2>
|
||||
</header>
|
||||
<ul class="hero-list list-unstyled">';
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<ul class="hero-list list-unstyled">';
|
||||
|
||||
$HERO_TEMPLATE['menu']['end'] = ' </ul>
|
||||
$HERO_TEMPLATE['default']['end'] = '</ul>
|
||||
</div>
|
||||
<div class="col-md-6 ">
|
||||
<div class="pull-right animated fadeInRight animation-delay-10">
|
||||
{HERO_MEDIA}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-buttons text-right">
|
||||
|
||||
|
||||
<a href="{HERO_BUTTON1_URL}" class="btn btn-{HERO_BUTTON1_CLASS} btn-raised animated fadeInRight animation-delay-28">
|
||||
{HERO_BUTTON1_ICON} {HERO_BUTTON1_LABEL}
|
||||
</a>
|
||||
@@ -58,7 +68,8 @@ $HERO_TEMPLATE['menu']['end'] = ' </ul>
|
||||
|
||||
|
||||
|
||||
$HERO_TEMPLATE['menu']['item'] = '<li>
|
||||
$HERO_TEMPLATE['default']['item'] = '<li>
|
||||
|
||||
<div class="hero-list-icon animated zoomInUp {HERO_ANIMATION_DELAY}">
|
||||
<span class="hero-icon hero-icon-circle hero-icon-xlg label-{HERO_ICON_STYLE} badge-{HERO_ICON_STYLE} shadow-3dp">
|
||||
{HERO_ICON}
|
||||
|
Reference in New Issue
Block a user