1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

LandingZero theme removed from core and moved to its own repo: https://github.com/e107inc/landingzero

This commit is contained in:
Cameron
2020-04-13 16:43:25 -07:00
parent 1d4bc0e95a
commit 4424c9906b
45 changed files with 7 additions and 5230 deletions

View File

@@ -295,7 +295,7 @@ class lancheck
var $core_plugins = array();
var $core_themes = array("bootstrap3", "voux", "landingzero");
var $core_themes = array("bootstrap3", "voux");
private $errorsOnly = false;

View File

@@ -972,18 +972,13 @@ class e_theme
unset($vars['glyphicons']);
}
if($path == "landingzero" )
{
// e107::getMessage()->addDebug("<h2>".$path."</h2>");
// e107::getMessage()->addDebug(print_a($vars,true));
// $mes->addDebug("<hr />");
}
if($path == "bootstrap3" )
{
// print_a($vars);
// echo "<table class='table'><tr><td>".print_a($vars,true)."</td><td>".print_a($adv,true)."</td></tr></table>";
// e107::getMessage()->addDebug("<h2>".$path."</h2>");
// e107::getMessage()->addDebug(print_a($vars,true));
// print_a($vars);
// echo "<table class='table'><tr><td>".print_a($vars,true)."</td><td>".print_a($adv,true)."</td></tr></table>";
}

View File

@@ -47,7 +47,7 @@ class InstallCest
}
public function installLandingZero(AcceptanceTester $I)
/* public function installLandingZero(AcceptanceTester $I)
{
$I->wantTo("Install e107 with landingzero");
$this->installe107($I, array('sitetheme'=>'landingzero'));
@@ -55,7 +55,7 @@ class InstallCest
$this->testNoUpdatesRequired($I);
$this->checkTinyMceIsInstalled($I);
}
}*/
private function installe107(AcceptanceTester $I, $params = array())
{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,523 +0,0 @@
/*
Landing Zero theme - A free landing page theme from BootstrapZero
http://www.bootstrapzero.com
*/
@import url(https://fonts.googleapis.com/css?family=Questrial);
@import url(https://fonts.googleapis.com/css?family=Dancing+Script:700);
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: 'Questrial','Helvetica Neue',Arial,sans-serif;
background-color: #282828;
color: #d3d3d3;
webkit-tap-highlight-color: #222;
}
hr {
max-width: 80px;
border-width: 3px;
opacity: 0.09;
margin-top: 15px;
margin-bottom: 15px;
}
hr.light {
border-color: #fff;
}
a {
color: #9c27b0;
-webkit-transition: all .35s;
-moz-transition: all .35s;
transition: all .35s;
}
a:hover,
a:focus {
color: #9c27c1;
outline: 0;
}
h1,h2,h3,h4,h5,h6 {
font-family: 'Questrial','Helvetica Neue',Arial,sans-serif;
}
p {
font-size: 17px;
line-height: 1.7;
margin-bottom: 20px;
}
.wide-space {
letter-spacing: 1.6px;
}
.icon-lg {
font-size: 50px;
line-height: 18px;
}
.bg-primary {
background-color: #333;
}
.bg-dark {
color: #eee;
background-color: #222;
}
.cursive {
font-family: 'Dancing Script', cursive;
text-transform: none;
}
.text-faded {
color: rgba(245,245,245,0.7);
}
.text-dark {
color: #111;
}
.text-primary {
color: #9c27b0;
}
.modal-content {
background-color: #1d1d1d;
}
section {
padding: 70px 0;
}
aside {
padding: 50px 0;
}
footer {
padding: 15px;
}
.no-padding {
padding: 0;
}
.navbar-default {
border-color: rgba(35,35,35,.05);
font-family: 'Questrial','Helvetica Neue',Arial,sans-serif;
background-color: #222;
-webkit-transition: all .4s;
-moz-transition: all .4s;
transition: all .4s;
}
.navbar-header > .navbar-brand {
font-family: 'Questrial','Helvetica Neue',Arial,sans-serif;
color: #9c27b0;
padding: 15px;
-webkit-transition: padding .2s ease-in;
-moz-transition: padding .2s ease-in;
transition: padding .2s ease-in;
}
.navbar-header > .navbar-brand:hover,
.navbar-header > .navbar-brand:focus {
color: #8b27b0;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
background-color: #181818;
}
.navbar-default .navbar-toggle, .navbar-default .navbar-collapse {
border-color: transparent;
}
.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
text-transform: uppercase;
font-size: 13px;
font-weight: 700;
color: #eee;
}
.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
color: #9c27b0;
}
.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
color: #9c27b0 !important;
background-color: transparent;
}
.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover
{
background-color: transparent;
}
@media(min-width:768px) {
.navbar-default {
border-color: transparent;
background-color: transparent;
min-height: 60px;
}
.navbar-header > .navbar-brand {
color: rgba(255,255,255,0.7);
padding: 19px;
}
.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
color: #f4f4f4;
}
.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
color: rgba(255,255,255,0.8);
padding: 20px;
letter-spacing: 1.1px;
text-shadow: 1px 1px 1px rgba(60,60,60,0.7);
}
.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
color: #fefefe;
}
.navbar-default.affix {
border-color: rgba(34,34,34,.05);
background-color: #222;
}
.navbar-default.affix .navbar-header .navbar-brand {
font-size: 15px;
color: #9c27b0;
padding: 20px;
letter-spacing: 1px;
}
.navbar-default.affix .navbar-header .navbar-brand:hover,
.navbar-default.affix .navbar-header .navbar-brand:focus {
color: #8b27b0;
}
.navbar-default.affix .nav > li>a,
.navbar-default.affix .nav>li>a:focus {
color: #ddd;
text-shadow: 1px 1px 1px rgba(30,30,30,0.7);
}
.navbar-default.affix .nav > li>a:hover,
.navbar-default.affix .nav>li>a:focus:hover {
color: #9c27b0;
}
}
header {
position: relative;
min-height: auto;
text-align: center;
color: #fff;
width: 100%;
background-color: #c9c9c9;
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
header .header-content {
position: relative;
width: 100%;
padding: 100px 15px;
text-align: center;
z-index: 2;
}
header .header-content .inner h1 {
margin-top: 0;
margin-bottom: 0;
}
header .header-content .inner p {
margin-bottom: 50px;
font-size: 16px;
font-weight: 300;
color: rgba(255,255,255,0.7);
}
#video-background {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 1;
}
#video-background.collapsing {
display:none;
}
footer {
background-color:#2d2d2d;
}
@media(min-width:768px) {
.icon-lg {
font-size: 80px;
}
header {
min-height: 100%;
}
header .header-content {
position: absolute;
top: 50%;
padding: 0 50px;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
header .header-content .inner {
margin-right: auto;
margin-left: auto;
max-width: 1000px;
}
header .header-content .inner h1 {
font-size: 53px;
}
header .header-content .inner p {
margin-right: auto;
margin-left: auto;
max-width: 80%;
font-size: 18px;
}
section {
min-height: 600px;
padding: 100px 0;
}
}
.form-control {
display: block;
width: 100%;
height: 35px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.5;
color: #eee;
background-color: #36333d;
background-image: none;
border: 1px solid #36333d;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
color: #222;
background-color: #ccc;
box-shadow: none;
}
textarea {
resize: none;
}
.margin-top-0 {
margin-top: 0;
}
.feature {
margin: 50px auto 0;
max-width: 400px;
}
@media(min-width:992px) {
.feature {
margin: 20px auto 0;
}
}
.feature p {
margin-bottom: 0;
}
.call-to-action h2 {
margin: 0 auto 20px;
}
.gallery-box {
display: block;
position: relative;
margin: 0 auto;
max-width: 650px;
overflow:hidden;
}
.gallery-box .gallery-box-caption {
display: block;
position: absolute;
bottom: 0;
width: 100%;
height: 100%;
text-align: center;
color: #fff;
opacity: 0;
background: rgba(44,44,44,.8);
-webkit-transition: all .35s;
-moz-transition: all .35s;
transition: all .35s;
}
.gallery-box .gallery-box-caption .gallery-box-content {
position: absolute;
top: 50%;
width: 100%;
text-align: center;
transform: translateY(-50%);
}
.gallery-box:hover .gallery-box-caption {
opacity: 1;
}
.gallery-box:hover img {
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
.gallery-box img {
-webkit-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
.no-gutter > [class*=col-] {
padding-right: 0;
padding-left: 0;
}
.btn-default {
border-color: #fff;
color: #222;
background-color: #fff;
-webkit-transition: all .35s;
-moz-transition: all .35s;
transition: all .35s;
}
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
border-color: #ededed;
color: #222;
background-color: #f2f2f2;
opacity: 0.7;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
border-color: #fff;
background-color: #fff;
opacity: 0.7;
}
.btn-default .badge {
color: #fff;
background-color: #222;
}
.btn.btn-primary {
background-color: transparent;
border:1px solid #f0f0f0;
border-color:#f0f0f0;
-webkit-transition: all .35s;
-moz-transition: all .35s;
transition: all .35s;
}
.btn.btn-primary:hover {
opacity: 0.7;
}
.btn {
border: 0;
border-radius: 290px;
font-family: 'Helvetica Neue',Arial,sans-serif;
}
.btn-xl {
padding: 15px 30px;
font-size: 20px;
}
::-moz-selection {
text-shadow: none;
color: #fff;
background: #222;
}
::selection {
text-shadow: none;
color: #fff;
background: #222;
}
img::selection {
color: #fff;
background: 0 0;
}
img::-moz-selection {
color: #fff;
background: 0 0;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

View File

@@ -1,30 +0,0 @@
(function($) {
"use strict";
$('body').scrollspy({
target: '.navbar-fixed-top',
offset: 60
});
$('#topNav').affix({
offset: {
top: 200
}
});
new WOW().init();
$('a.page-scroll').bind('click', function(event) {
var $ele = $(this);
$('html, body').stop().animate({
scrollTop: ($($ele.attr('href')).offset().top - 60)
}, 1450, 'easeInOutExpo');
event.preventDefault();
});
$('#galleryModal').on('show.bs.modal', function (e) {
$('#galleryImage').attr("src",$(e.relatedTarget).data("src"));
});
})(jQuery);

View File

@@ -1,509 +0,0 @@
(function() {
var MutationObserver, Util, WeakMap, getComputedStyle, getComputedStyleRX,
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
Util = (function() {
function Util() {}
Util.prototype.extend = function(custom, defaults) {
var key, value;
for (key in defaults) {
value = defaults[key];
if (custom[key] == null) {
custom[key] = value;
}
}
return custom;
};
Util.prototype.isMobile = function(agent) {
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent);
};
Util.prototype.createEvent = function(event, bubble, cancel, detail) {
var customEvent;
if (bubble == null) {
bubble = false;
}
if (cancel == null) {
cancel = false;
}
if (detail == null) {
detail = null;
}
if (document.createEvent != null) {
customEvent = document.createEvent('CustomEvent');
customEvent.initCustomEvent(event, bubble, cancel, detail);
} else if (document.createEventObject != null) {
customEvent = document.createEventObject();
customEvent.eventType = event;
} else {
customEvent.eventName = event;
}
return customEvent;
};
Util.prototype.emitEvent = function(elem, event) {
if (elem.dispatchEvent != null) {
return elem.dispatchEvent(event);
} else if (event in (elem != null)) {
return elem[event]();
} else if (("on" + event) in (elem != null)) {
return elem["on" + event]();
}
};
Util.prototype.addEvent = function(elem, event, fn) {
if (elem.addEventListener != null) {
return elem.addEventListener(event, fn, false);
} else if (elem.attachEvent != null) {
return elem.attachEvent("on" + event, fn);
} else {
return elem[event] = fn;
}
};
Util.prototype.removeEvent = function(elem, event, fn) {
if (elem.removeEventListener != null) {
return elem.removeEventListener(event, fn, false);
} else if (elem.detachEvent != null) {
return elem.detachEvent("on" + event, fn);
} else {
return delete elem[event];
}
};
Util.prototype.innerHeight = function() {
if ('innerHeight' in window) {
return window.innerHeight;
} else {
return document.documentElement.clientHeight;
}
};
return Util;
})();
WeakMap = this.WeakMap || this.MozWeakMap || (WeakMap = (function() {
function WeakMap() {
this.keys = [];
this.values = [];
}
WeakMap.prototype.get = function(key) {
var i, item, j, len, ref;
ref = this.keys;
for (i = j = 0, len = ref.length; j < len; i = ++j) {
item = ref[i];
if (item === key) {
return this.values[i];
}
}
};
WeakMap.prototype.set = function(key, value) {
var i, item, j, len, ref;
ref = this.keys;
for (i = j = 0, len = ref.length; j < len; i = ++j) {
item = ref[i];
if (item === key) {
this.values[i] = value;
return;
}
}
this.keys.push(key);
return this.values.push(value);
};
return WeakMap;
})());
MutationObserver = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (MutationObserver = (function() {
function MutationObserver() {
if (typeof console !== "undefined" && console !== null) {
console.warn('MutationObserver is not supported by your browser.');
}
if (typeof console !== "undefined" && console !== null) {
console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.');
}
}
MutationObserver.notSupported = true;
MutationObserver.prototype.observe = function() {};
return MutationObserver;
})());
getComputedStyle = this.getComputedStyle || function(el, pseudo) {
this.getPropertyValue = function(prop) {
var ref;
if (prop === 'float') {
prop = 'styleFloat';
}
if (getComputedStyleRX.test(prop)) {
prop.replace(getComputedStyleRX, function(_, _char) {
return _char.toUpperCase();
});
}
return ((ref = el.currentStyle) != null ? ref[prop] : void 0) || null;
};
return this;
};
getComputedStyleRX = /(\-([a-z]){1})/g;
this.WOW = (function() {
WOW.prototype.defaults = {
boxClass: 'wow',
animateClass: 'animated',
offset: 0,
mobile: true,
live: true,
callback: null
};
function WOW(options) {
if (options == null) {
options = {};
}
this.scrollCallback = bind(this.scrollCallback, this);
this.scrollHandler = bind(this.scrollHandler, this);
this.resetAnimation = bind(this.resetAnimation, this);
this.start = bind(this.start, this);
this.scrolled = true;
this.config = this.util().extend(options, this.defaults);
this.animationNameCache = new WeakMap();
this.wowEvent = this.util().createEvent(this.config.boxClass);
}
WOW.prototype.init = function() {
var ref;
this.element = window.document.documentElement;
if ((ref = document.readyState) === "interactive" || ref === "complete") {
this.start();
} else {
this.util().addEvent(document, 'DOMContentLoaded', this.start);
}
return this.finished = [];
};
WOW.prototype.start = function() {
var box, j, len, ref;
this.stopped = false;
this.boxes = (function() {
var j, len, ref, results;
ref = this.element.querySelectorAll("." + this.config.boxClass);
results = [];
for (j = 0, len = ref.length; j < len; j++) {
box = ref[j];
results.push(box);
}
return results;
}).call(this);
this.all = (function() {
var j, len, ref, results;
ref = this.boxes;
results = [];
for (j = 0, len = ref.length; j < len; j++) {
box = ref[j];
results.push(box);
}
return results;
}).call(this);
if (this.boxes.length) {
if (this.disabled()) {
this.resetStyle();
} else {
ref = this.boxes;
for (j = 0, len = ref.length; j < len; j++) {
box = ref[j];
this.applyStyle(box, true);
}
}
}
if (!this.disabled()) {
this.util().addEvent(window, 'scroll', this.scrollHandler);
this.util().addEvent(window, 'resize', this.scrollHandler);
this.interval = setInterval(this.scrollCallback, 50);
}
if (this.config.live) {
return new MutationObserver((function(_this) {
return function(records) {
var k, len1, node, record, results;
results = [];
for (k = 0, len1 = records.length; k < len1; k++) {
record = records[k];
results.push((function() {
var l, len2, ref1, results1;
ref1 = record.addedNodes || [];
results1 = [];
for (l = 0, len2 = ref1.length; l < len2; l++) {
node = ref1[l];
results1.push(this.doSync(node));
}
return results1;
}).call(_this));
}
return results;
};
})(this)).observe(document.body, {
childList: true,
subtree: true
});
}
};
WOW.prototype.stop = function() {
this.stopped = true;
this.util().removeEvent(window, 'scroll', this.scrollHandler);
this.util().removeEvent(window, 'resize', this.scrollHandler);
if (this.interval != null) {
return clearInterval(this.interval);
}
};
WOW.prototype.sync = function(element) {
if (MutationObserver.notSupported) {
return this.doSync(this.element);
}
};
WOW.prototype.doSync = function(element) {
var box, j, len, ref, results;
if (element == null) {
element = this.element;
}
if (element.nodeType !== 1) {
return;
}
element = element.parentNode || element;
ref = element.querySelectorAll("." + this.config.boxClass);
results = [];
for (j = 0, len = ref.length; j < len; j++) {
box = ref[j];
if (indexOf.call(this.all, box) < 0) {
this.boxes.push(box);
this.all.push(box);
if (this.stopped || this.disabled()) {
this.resetStyle();
} else {
this.applyStyle(box, true);
}
results.push(this.scrolled = true);
} else {
results.push(void 0);
}
}
return results;
};
WOW.prototype.show = function(box) {
this.applyStyle(box);
box.className = box.className + " " + this.config.animateClass;
if (this.config.callback != null) {
this.config.callback(box);
}
this.util().emitEvent(box, this.wowEvent);
this.util().addEvent(box, 'animationend', this.resetAnimation);
this.util().addEvent(box, 'oanimationend', this.resetAnimation);
this.util().addEvent(box, 'webkitAnimationEnd', this.resetAnimation);
this.util().addEvent(box, 'MSAnimationEnd', this.resetAnimation);
return box;
};
WOW.prototype.applyStyle = function(box, hidden) {
var delay, duration, iteration;
duration = box.getAttribute('data-wow-duration');
delay = box.getAttribute('data-wow-delay');
iteration = box.getAttribute('data-wow-iteration');
return this.animate((function(_this) {
return function() {
return _this.customStyle(box, hidden, duration, delay, iteration);
};
})(this));
};
WOW.prototype.animate = (function() {
if ('requestAnimationFrame' in window) {
return function(callback) {
return window.requestAnimationFrame(callback);
};
} else {
return function(callback) {
return callback();
};
}
})();
WOW.prototype.resetStyle = function() {
var box, j, len, ref, results;
ref = this.boxes;
results = [];
for (j = 0, len = ref.length; j < len; j++) {
box = ref[j];
results.push(box.style.visibility = 'visible');
}
return results;
};
WOW.prototype.resetAnimation = function(event) {
var target;
if (event.type.toLowerCase().indexOf('animationend') >= 0) {
target = event.target || event.srcElement;
return target.className = target.className.replace(this.config.animateClass, '').trim();
}
};
WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) {
if (hidden) {
this.cacheAnimationName(box);
}
box.style.visibility = hidden ? 'hidden' : 'visible';
if (duration) {
this.vendorSet(box.style, {
animationDuration: duration
});
}
if (delay) {
this.vendorSet(box.style, {
animationDelay: delay
});
}
if (iteration) {
this.vendorSet(box.style, {
animationIterationCount: iteration
});
}
this.vendorSet(box.style, {
animationName: hidden ? 'none' : this.cachedAnimationName(box)
});
return box;
};
WOW.prototype.vendors = ["moz", "webkit"];
WOW.prototype.vendorSet = function(elem, properties) {
var name, results, value, vendor;
results = [];
for (name in properties) {
value = properties[name];
elem["" + name] = value;
results.push((function() {
var j, len, ref, results1;
ref = this.vendors;
results1 = [];
for (j = 0, len = ref.length; j < len; j++) {
vendor = ref[j];
results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value);
}
return results1;
}).call(this));
}
return results;
};
WOW.prototype.vendorCSS = function(elem, property) {
var j, len, ref, result, style, vendor;
style = getComputedStyle(elem);
result = style.getPropertyCSSValue(property);
ref = this.vendors;
for (j = 0, len = ref.length; j < len; j++) {
vendor = ref[j];
result = result || style.getPropertyCSSValue("-" + vendor + "-" + property);
}
return result;
};
WOW.prototype.animationName = function(box) {
var animationName;
try {
animationName = this.vendorCSS(box, 'animation-name').cssText;
} catch (_error) {
animationName = getComputedStyle(box).getPropertyValue('animation-name');
}
if (animationName === 'none') {
return '';
} else {
return animationName;
}
};
WOW.prototype.cacheAnimationName = function(box) {
return this.animationNameCache.set(box, this.animationName(box));
};
WOW.prototype.cachedAnimationName = function(box) {
return this.animationNameCache.get(box);
};
WOW.prototype.scrollHandler = function() {
return this.scrolled = true;
};
WOW.prototype.scrollCallback = function() {
var box;
if (this.scrolled) {
this.scrolled = false;
this.boxes = (function() {
var j, len, ref, results;
ref = this.boxes;
results = [];
for (j = 0, len = ref.length; j < len; j++) {
box = ref[j];
if (!(box)) {
continue;
}
if (this.isVisible(box)) {
this.show(box);
continue;
}
results.push(box);
}
return results;
}).call(this);
if (!(this.boxes.length || this.config.live)) {
return this.stop();
}
}
};
WOW.prototype.offsetTop = function(element) {
var top;
while (element.offsetTop === void 0) {
element = element.parentNode;
}
top = element.offsetTop;
while (element = element.offsetParent) {
top += element.offsetTop;
}
return top;
};
WOW.prototype.isVisible = function(box) {
var bottom, offset, top, viewBottom, viewTop;
offset = box.getAttribute('data-wow-offset') || this.config.offset;
viewTop = window.pageYOffset;
viewBottom = viewTop + Math.min(this.element.clientHeight, this.util().innerHeight()) - offset;
top = this.offsetTop(box);
bottom = top + box.clientHeight;
return top <= viewBottom && bottom >= viewTop;
};
WOW.prototype.util = function() {
return this._util != null ? this._util : this._util = new Util();
};
WOW.prototype.disabled = function() {
return !this.config.mobile && this.util().isMobile(navigator.userAgent);
};
return WOW;
})();
}).call(this);

View File

@@ -1,28 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system -
|
+----------------------------------------------------------------------------+
*/
define("LAN_LZ_THEME_00", "OK");
define("LAN_LZ_THEME_01", "Get Started");
define("LAN_LZ_THEME_02", "Toggle Video");
define("LAN_LZ_THEME_03", "Your browser does not support the video tag. I suggest you upgrade your browser.");
define("LAN_LZ_THEME_04", "Flexible Layouts");
define("LAN_LZ_THEME_05", "Close");
define("LAN_LZ_THEME_06", "Features");
define("LAN_LZ_THEME_07", "Please enter a message.");
define("LAN_LZ_THEME_08", "Phone Number");
define("LAN_LZ_THEME_09", "Please enter your phone number.");
define("LAN_LZ_THEME_10", "Follow");
define("LAN_LZ_THEME_11", "Phone");
define("LAN_LZ_THEME_12", "Your message here...");
define("LAN_LZ_THEME_13", "Get in Touch");
define("LAN_LZ_THEME_14", "We love feedback. Fill out the form below and we'll get back to you as soon as possible.");
define("LAN_LZ_THEME_15", "Tell us your email");
define("LAN_LZ_THEME_16", "Subscribe for updates");
define("LAN_LZ_THEME_17", "Stay Posted");
define("LAN_LZ_THEME_18", "YOU MIGHT ALSO LIKE");

View File

@@ -1,17 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system -
|
+----------------------------------------------------------------------------+
*/
define("LAN_LZ_THEMEPREF_00", "Image background for video [1920x1080px]");
define("LAN_LZ_THEMEPREF_01", "Image background for mobile devices");
define("LAN_LZ_THEMEPREF_02", "First frame of video [1920x1080px]");
define("LAN_LZ_THEMEPREF_03", "URL path to header video in mp4 format");
define("LAN_LZ_THEMEPREF_04", "Signup/Login Placement");
define("LAN_LZ_THEMEPREF_05", "top");
define("LAN_LZ_THEMEPREF_06", "bottom");
?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 KiB

View File

@@ -1,338 +0,0 @@
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
color: white;
background-color: transparent;
}
@media (min-width: 768px) {
#layout-full, #layout-sidebar-right, #layout-sidebar-left {
padding-top: 120px;
}
}
@media (min-width: 992px) {
#layout-full, #layout-sidebar-right, #layout-sidebar-left { padding-top: 60px; }
#sidebar { margin-top:20px }
}
.dropdown-menu {
background-color: #282828;
color: white;
}
.dropdown-menu>li>a {
color: white;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
background-color: #9c27b0;
}
.panel {
background-color: transparent;
}
.lz-social-icons li { min-width:80px; text-align:center}
.panel-default {
border-color: black;
}
.panel-default>.panel-heading {
color: white;
background-color: #222;
border-color: #9c27b0;
}
.bg-dark .panel-default {
border-color: #9c27b0;
}
.bg-dark .panel-default>.panel-heading {
color: white;
background-color: #9c27b0;
border-bottom: 1px solid #9c27b0;
}
.breadcrumb {
background-color: #222;
}
.thumbnail {
background-color: #222;
border: 1px solid #9c27b0;
}
.thumbnail h5 {
text-align: center;
}
.label-info {
background-color: #9c27b0;
}
.main-section { min-height:800px }
.form-control[readonly] { color: #eee; background-color: #36333d; }
/* CUSTOM Responsive Styles */
/* Extra small devices Phones (<768px) .col-xs */
@media all and (max-width: 767px) {
body { padding-top: 50px; }
.featurebox .carousel-indicators { top:10px; }
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right { margin-top: 30px; }
.news-images-main { padding-left: 0; padding-bottom:15px; padding-right:0}
}
/* Small devices Tablets .col-sm */
@media all and (min-width: 768px) and (max-width: 991px) {
.news-images-main { padding-left: 0; padding-bottom:5px }
}
/* Medium devices Desktops (≥992px) .col-md */
@media all and (min-width: 992px) and (max-width: 1199px) {
.news-images-main { padding-left: 0; padding-bottom:5px}
section.news-view-item { padding-top: 0; }
}
/* Large devices (large desktops, 1200px and up).col-lg */
@media all and (min-width: 1200px) {
.news-images-main { padding-left: 0; padding-bottom:5px}
section.news-view-item { padding-top: 0; }
h3.post-title { margin-top:5px }
}
.btn-success {
color: #9c27b0;
background-color: #282828;
border: solid #9c27b0 1px;
}
.btn-success:hover {
color: #9c27b0;
background-color: #36333d;
border: solid #9c27b0 1px;
}
.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
background-color: inherit;
border-color: inherit;
}
/* fix for boostrap colors */
a.list-group-item:focus, a.list-group-item:hover {
color: white;
text-decoration: none;
background-color: #9c27b0;
}
.btn-success.disabled, .btn-success.disabled.active, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled], .btn-success[disabled].active, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success.active, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover {
background-color: #282828;
border: solid #9c27b0 1px;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
opacity: .65;
}
.well {
background-color: inherit;
}
.well legend {
color: #9c27b0;
border: 1px solid #9c27b0;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
color: #fff;
background-color: #9c27b0;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
background-color: #9c27b0;
border-color: #9c27b0;
}
.pagination>li>a, .pagination>li>span {
color: white;
background-color: #282828;
border: 1px solid #9c27b0;
}
.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
color: white;
cursor: not-allowed;
background-color: #9c27b0;
border-color: #9c27b0;
}
.label-primary {
background-color: #282828;
border: solid 1px white;
}
.progress-bar-info {
background-color: #9c27b0;
}
.jumbotron {
background-color: #222;
}
.list-group-item {
background-color: #222;
}
.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
background-color: #9c27b0;
}
a.list-group-item {
color: white;
}
a.list-group-item .list-group-item-heading {
color: white;
}
.panel-primary {
border-color: #9c27b0;
}
.panel-primary>.panel-heading {
color: #fff;
background-color: #9c27b0;
border-color: #9c27b0;
}
.panel-footer {
background-color: #222;
}
.table-striped>tbody>tr:nth-of-type(odd) {
background-color: #222;
}
.footercolumn li.nav-header {
font-family: 'Questrial','Helvetica Neue',Arial,sans-serif;
font-size: 18px;
margin-top: 10px;
margin-bottom: 10px;
font-weight: 500;
line-height: 1.1;
color: inherit;
}
.footercolumn li.nav-header li {
font-size: 14px;
line-height: 1.42857143;
color: inherit;
font-weight: normal;
}
/* New Column Class for width < 558px */
@media (max-width: 558px) {
.col-xxs-12 {
position: relative;
min-height: 1px;
width: 100%;
float: none;
text-align: center;
}
}
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
color: #fff;
background-color: #9c27c1;
border-color: #9c27c1;
}
.options .e-instant-edit {
right: initial;
margin-right: initial;
}
article .panel-footer i {
padding-left: 10px;
}
article .panel-footer i.fa-user {
padding-right: 3px;
}
.news-menu-archive { text-align:right }
#forum {
border-color: black;
}
#forum .table-bordered>tbody>tr>td,
#forum .table-bordered>tbody>tr>th,
#forum .table-bordered>tfoot>tr>td,
#forum .table-bordered>tfoot>tr>th,
#forum .table-bordered>thead>tr>td,
#forum .table-bordered>thead>tr>th {
border: 1px solid black;
}
#forum tr.forum-title {
background-color:#36333d;
}
#forum tr.forum-parent {
background-color: #9c27c1;
}
#forum .table-hover>tbody>tr:hover {
background-color: #36333d;
}
#forum-viewtopic li.forum-viewtopic-post {
border: 1px solid black;
}
#forum-viewtopic li.forum-viewtopic-post:nth-child(odd) {
background-color: #36333d;
}
#forum-viewforum .table-bordered>tbody>tr:hover {
background-color: #36333d;
}
#forum-viewforum .table-bordered>tbody>tr>th {
background-color: #9c27c1;
}
#layout-sidebar-right .navbar-default, #layout-full .navbar-default {
border-color: rgba(34,34,34,.05);
background-color: #222;
}
.navbar-default.affix .navbar-header .navbar-brand {
font-size: 18px;
color: inherit;
letter-spacing: 0;
text-shadow: none;
/* padding: inherit;*/
}

View File

@@ -1,119 +0,0 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Contact Template
*/
// $Id$
if (!defined('e107_INIT')) { exit; }
/*
if(!isset($CONTACT_INFO))
{
$CONTACT_INFO = "
<table style='".USER_WIDTH."' cellpadding='1' cellspacing='7'>
<tr>
<td>
{SITECONTACTINFO}
<br />
</td>
</tr>
</table>";
}
*/
$CONTACT_TEMPLATE['info'] = "
<div id='contactInfo' >
<address>{SITECONTACTINFO}</address>
</div>
";
$CONTACT_TEMPLATE['menu'] = '
<div class="contactMenuForm">
<div class="col-md-4">
<label></label>
{CONTACT_NAME}
</div>
<div class="col-md-4">
<label></label>
{CONTACT_EMAIL}
</div>
<div class="col-md-4">
<label></label>
<input class="form-control" placeholder="'.LAN_LZ_THEME_11.'" name="phone" type="text">
</div>
<div class="col-md-12">
<label></label>
{CONTACT_BODY: rows=5&cols=30&placeholder='.LAN_LZ_THEME_12.'}
</div>
<div class="col-md-4 col-md-offset-4">
<label></label>
{CONTACT_SUBMIT_BUTTON}
</div>
</div>
';
// Option I - new sc style variable and format, global available per shortcode (mode also applied)
// sc_style is renamed to sc_wrapper and uppercased now - distinguished from the legacy $sc_style variable and compatible with the new template standards, we deprecate $sc_style soon
// $SC_WRAPPER['CONTACT_EMAIL_COPY'] = "<tr><td>{---}".LANCONTACT_07."</td></tr>";
// $SC_WRAPPER['CONTACT_PERSON'] = "<tr><td>".LANCONTACT_14."<br />{---}</td></tr>";
// $SC_WRAPPER['CONTACT_IMAGECODE'] = "<tr><td>".LANCONTACT_16."<br />{---}";
// $SC_WRAPPER['CONTACT_IMAGECODE_INPUT'] = "{---}</td></tr>";
// Option II - Wrappers, used ONLY with batch objects, requires explicit wrapper registration
// In this case (see contact.php) e107::getScBatch('contact')->wrapper('contact/form')
// Only one Option is used - WRAPPER > SC_STYLE
$CONTACT_WRAPPER['form']['CONTACT_IMAGECODE'] = "<div class='control-group form-group'><label for='code-verify'>{CONTACT_IMAGECODE_LABEL}</label> {---}";
$CONTACT_WRAPPER['form']['CONTACT_IMAGECODE_INPUT'] = "{---}</div>";
$CONTACT_WRAPPER['form']['CONTACT_EMAIL_COPY'] = "<div class='control-group form-group'>{---}".LANCONTACT_07."</div>";
$CONTACT_WRAPPER['form']['CONTACT_PERSON'] = "<div class='control-group form-group'><label for='contactPerson'>".LANCONTACT_14."</label>{---}</div>";
$CONTACT_TEMPLATE['form'] = "
<form action='".e_SELF."' method='post' id='contactForm' >
{CONTACT_PERSON}
<div class='control-group form-group'><label for='contactName'>".LANCONTACT_03."</label>
{CONTACT_NAME}
</div>
<div class='control-group form-group'><label for='contactEmail'>".LANCONTACT_04."</label>
{CONTACT_EMAIL}
</div>
<div class='control-group form-group'><label for='contactSubject'>".LANCONTACT_05."</label>
{CONTACT_SUBJECT}
</div>
{CONTACT_EMAIL_COPY}
<div class='control-group form-group'><label for='contactBody'>".LANCONTACT_06."</label>
{CONTACT_BODY}
</div>
{CONTACT_IMAGECODE}
{CONTACT_IMAGECODE_INPUT}
<div class='form-group'>
{CONTACT_SUBMIT_BUTTON}
</div>
</form>";
// Customize the email subject
// Variables: CONTACT_SUBJECT and CONTACT_PERSON as well as any custom fields set in the form. )
$CONTACT_TEMPLATE['email']['subject'] = "{CONTACT_SUBJECT}";
?>

View File

@@ -1,33 +0,0 @@
<?php
/*
* Copyright (c) e107 Inc 2013 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
*
* Featurebox core category templates
*/
// TODO - list of all available shortcodes & schortcode parameters
$FEATUREBOX_CATEGORY_TEMPLATE = array();
/*
* Default Template
* Example call: {FEATUREBOX} or {FEATUREBOX|default}
*/
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['list_start'] = '
<div id="three" class="no-padding">
<div class="container-fluid">
<div class="row no-gutter">';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['list_end'] = '
</div>
</div>
</div>';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['col_start'] = '';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['col_end'] = '';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['item_start'] = '';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['item_end'] = '';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['item_separator'] = ' ';
$FEATUREBOX_CATEGORY_TEMPLATE['landingzero_homepage']['item_empty'] = '';
?>

View File

@@ -1,57 +0,0 @@
<?php
/*
* Copyright (c) e107 Inc 2009 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* Featurebox core item templates
*/
global $sc_style;
// e107 v2.x Defaults.
$FEATUREBOX_TEMPLATE['landingzero_homepage'] = '{SETIMAGE: w=1080&h=720&crop=1}
<div class="col-lg-4 col-sm-6">
<a href="#galleryModal" class="gallery-box" data-toggle="modal" data-src="{FEATUREBOX_IMAGE|landingzero_homepage=src} ">
<img src="{FEATUREBOX_IMAGE|landingzero_homepage=src}" class="img-responsive" alt="{FEATUREBOX_TITLE}">
<div class="gallery-box-caption">
<div class="gallery-box-content">
<div>
<i class="icon-lg ion-ios-search"></i>
</div>
</div>
</div>
</a>
</div>
';
$FEATUREBOX_TEMPLATE['landingzero_homepage_modal'] = '{SETIMAGE: w=900&h=650&crop=1}
<div class="portfolio-modal modal fade" id="portfolioModal{FEATUREBOX_COUNTER}" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-content">
<div class="close-modal" data-dismiss="modal">
<div class="lr">
<div class="rl">
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<div class="modal-body">
<h2>{FEATUREBOX_TITLE}</h2>
<hr class="star-primary">
{FEATUREBOX_IMAGE}
{FEATUREBOX_TEXT}
<button type="button" class="btn btn-default btn-secondary" data-dismiss="modal"><i class="fa fa-times"></i> ' . LAN_CLOSE . '</button>
</div>
</div>
</div>
</div>
</div>
</div>
';
?>

View File

@@ -1,205 +0,0 @@
<?php
/**
* Copyright (c) 2012 e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
*
* @file
* Templates for "gallery" plugin.
*/
// {GALLERY_SLIDESHOW=X} X = Gallery Category. Default: 1 (ie. 'gallery_1') Overrides preference in admin.
// {GALLERY_SLIDES=X} X = number of items per slide.
// {GALLERY_JUMPER=space} will remove numbers and just leave spaces.
$GALLERY_TEMPLATE['slideshow_wrapper'] = '
<div id="gallery-slideshow-wrapper">
<div id="gallery-slideshow-content">
{GALLERY_SLIDES=4}
</div>
</div>
<div class="gallery-slideshow-controls">
<a href="#" class="gallery-control gal-next btn btn-xs btn-default btn-secondary pull-right">
' . LAN_NEXT . ' {GLYPH=fa-chevron-right}
</a>
<a href="#" class="gallery-control gal-prev btn btn-xs btn-default btn-secondary">
{GLYPH=fa-chevron-left} ' . LAN_PREVIOUS . '
</a>
<span class="gallery-slide-jumper-container">
{GALLERY_JUMPER}
</span>
</div>
';
$GALLERY_TEMPLATE['slideshow_slide_item'] = '<span class="gallery-slide-item">{GALLERY_THUMB: w=150&h=120}</span>';
$GALLERY_TEMPLATE['prettyphoto']['content'] = '
<div class="pp_pic_holder">
<div class="ppt">&nbsp;</div>
<div class="pp_top">
<div class="pp_left"></div>
<div class="pp_middle"></div>
<div class="pp_right"></div>
</div>
<div class="pp_content_container">
<div class="pp_left">
<div class="pp_right">
<div class="pp_content">
<div class="pp_loaderIcon"></div>
<div class="pp_fade">
<a href="#" class="pp_expand" title="Expand the image">' . LAN_EXPAND . '</a>
<div class="pp_hoverContainer">
<a class="pp_next" href="#">' . LAN_NEXT . '</a>
<a class="pp_previous" href="#">' . LAN_PREVIOUS . '</a>
</div>
<div id="pp_full_res"></div>
<div class="pp_details">
<div class="pp_nav">
<a href="#" class="pp_arrow_previous">' . LAN_PREVIOUS . '</a>
<p class="currentTextHolder">0/0</p>
<a href="#" class="pp_arrow_next">' . LAN_NEXT . '</a>
</div>
<p class="pp_description"></p>
{pp_social}
<a class="pp_close" href="#">' . LAN_CLOSE . '</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pp_bottom">
<div class="pp_left"></div>
<div class="pp_middle"></div>
<div class="pp_right"></div>
</div>
</div>
<div class="pp_overlay"></div>
';
$GALLERY_TEMPLATE['prettyphoto']['gallery_item'] = '
<div class="pp_gallery">
<a href="#" class="pp_arrow_previous">' . LAN_PREVIOUS . '</a>
<div>
<ul>
{gallery}
</ul>
</div>
<a href="#" class="pp_arrow_next">' . LAN_NEXT . '</a>
</div>
';
$GALLERY_TEMPLATE['prettyphoto']['image_item'] = '
<img id="fullResImage" src="{path}" />
';
$GALLERY_TEMPLATE['prettyphoto']['flash_item'] = '
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}">
<param name="wmode" value="{wmode}" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="{path}" />
<embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed>
</object>
';
$GALLERY_TEMPLATE['prettyphoto']['quicktime_item'] = '
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}">
<param name="src" value="{path}">
<param name="autoplay" value="{autoplay}">
<param name="type" value="video/quicktime">
<embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed>
</object>
';
$GALLERY_TEMPLATE['prettyphoto']['iframe_item'] = '
<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>
';
$GALLERY_TEMPLATE['prettyphoto']['inline_item'] = '
<div class="pp_inline">{content}</div>
';
$GALLERY_TEMPLATE['prettyphoto']['custom_item'] = '';
$GALLERY_TEMPLATE['prettyphoto']['social_item'] = '
<div class="pp_social">
<div class="twitter">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="none">' . LAN_SHARE . '</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<div class="facebook">
<iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href=\'+location.href+\'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe>
</div>
</div>
';
// Portfolio Template
$GALLERY_TEMPLATE['portfolio']['start'] = '<div id="three" class="no-padding">
<div class="container-fluid">
<div class="row no-gutter">';
$GALLERY_TEMPLATE['portfolio']['item'] = ' <div class="col-lg-4 col-sm-6">
<a href="#galleryModal" class="gallery-box" data-toggle="modal" data-src="{GALLERY_THUMB: w=1080&h=720&thumbsrc}">
<img src="{GALLERY_THUMB: w=1080&h=720&thumbsrc}" class="img-responsive" alt="{GALLERY_CAPTION=text}">
<div class="gallery-box-caption">
<div class="gallery-box-content">
<div>
<i class="icon-lg ion-ios-search"></i>
</div>
</div>
</div>
</a>
</div>';
$GALLERY_TEMPLATE['portfolio']['end'] = ' </div>
</div>
</div>';
// Gallery List
$GALLERY_TEMPLATE['list']['start'] = '{GALLERY_BREADCRUMB}'.$GALLERY_TEMPLATE['portfolio']['start'];
$GALLERY_TEMPLATE['list']['item'] = $GALLERY_TEMPLATE['portfolio']['item'];
$GALLERY_TEMPLATE['list']['end'] = $GALLERY_TEMPLATE['portfolio']['end'];
$GALLERY_TEMPLATE['list']['end'] .= '
<div class="center">
<div class="gallery-list-nextprev">{GALLERY_NEXTPREV}</div>
<div class="gallery-list-back">
<a class="btn btn-primary" href="{GALLERY_BASEURL}">' . LAN_BACK . '</a>
</div>
</div>
';
$GALLERY_TEMPLATE['list']['caption'] = LAN_PLUGIN_GALLERY_TITLE;
// Gallery Category.
$GALLERY_TEMPLATE['cat']['start'] = '{GALLERY_BREADCRUMB}<section id="three" class="no-padding">
<div class="container-fluid">
<div class="row no-gutter">';
$GALLERY_TEMPLATE['cat']['item'] = ' <div class="col-lg-4 col-sm-6">
<a href="{GALLERY_CAT_URL}" class="gallery-box" data-toggle="modal" data-src="{GALLERY_CAT_THUMB: w=1080&h=720&thumbsrc}">
<img src="{GALLERY_CAT_THUMB: w=1080&h=720&thumbsrc}" class="img-responsive" alt="{GALLERY_CAT_CAPTION=text}">
<div class="gallery-box-caption">
<div class="gallery-box-content">
<div>
{GALLERY_CAT_TITLE=title}
</div>
</div>
</div>
</a>
</div>';
$GALLERY_TEMPLATE['cat']['end'] = ' </div>
</div>
</section>';

View File

@@ -1,115 +0,0 @@
<?php
#### Panel Template - Used by menu_class.php for Custom Menu Content.
$MENU_TEMPLATE['default']['start'] = '';
$MENU_TEMPLATE['default']['body'] = '{CMENUBODY}';
$MENU_TEMPLATE['default']['end'] = '';
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu">';
$MENU_TEMPLATE['button']['body'] = '<div>{CMENUBODY}</div>{CPAGEBUTTON}';
$MENU_TEMPLATE['button']['end'] = '</div>';
### Additional control over image thumbnailing is possible via SETIMAGE e.g. {SETIMAGE: w=200&h=150&crop=1}
$MENU_TEMPLATE['buttom-image']['start'] = '<div class="cpage-menu">';
$MENU_TEMPLATE['buttom-image']['body'] = '<div>{CMENUIMAGE}</div>{CPAGEBUTTON}';
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
$MENU_TEMPLATE['aboutmodal']['start'] = '<div id="aboutModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">';
$MENU_TEMPLATE['aboutmodal']['body'] = '
<div class="modal-body">
<h2 class="text-center">{CMENUTITLE}</h2>
<h5 class="text-center">
{CPAGETITLE}
</h5>
<p class="text-justify">
{CMENUBODY}
</p>
<p class="text-center">{CPAGEBUTTON}</p>
<br/>
<button class="btn btn-primary btn-lg center-block" data-dismiss="modal" aria-hidden="true">'.LAN_LZ_THEME_00.' </button>
</div>';
$MENU_TEMPLATE['aboutmodal']['end'] = '
</div>
</div>
</div>';
/* <p class="text-faded"> need be inserted in menu body */
$MENU_TEMPLATE['sectionone']['start'] = '';
$MENU_TEMPLATE['sectionone']['body'] = '
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 text-center">
<h2 class="margin-top-0 text-primary">{CMENUTITLE}</h2>
<br>
<p class="text-faded">{CMENUBODY}</p>
<a href="{CMENUURL}" class="btn btn-default btn-secondary btn-xl page-scroll">{CMENUTEXT}</a>
</div>';
$MENU_TEMPLATE['sectionone']['end'] = '';
$MENU_TEMPLATE['sectiontwo']['start'] = '';
$MENU_TEMPLATE['sectiontwo']['body'] = '
<div class="col-lg-4 col-md-4 text-center">
<div class="feature">
<i class="icon-lg {CMENUICON=css} wow fadeIn" data-wow-delay=".3s"></i>
<h3>{CMENUTITLE}</h3>
<p class="text-muted">{CMENUBODY}</p>
</div>
</div>';
$MENU_TEMPLATE['sectiontwo']['end'] = '';
$MENU_TEMPLATE['verticalfeatures-fadeInRight']['start'] = '';
$MENU_TEMPLATE['verticalfeatures-fadeInRight']['body'] = '
<div class="media wow fadeInRight">
<h3>{CMENUTITLE}</h3>
<div class="media-body media-middle">
<p>{CMENUBODY}</p>
</div>
<div class="media-right">
<i class="icon-lg {CMENUICON=css}"></i>
</div>
</div>';
$MENU_TEMPLATE['verticalfeatures-fadeInRight']['end'] = '';
$MENU_TEMPLATE['verticalfeatures-fadeIn']['start'] = '';
$MENU_TEMPLATE['verticalfeatures-fadeIn']['body'] = '
<div class="media wow fadeIn">
<h3>{CMENUTITLE}</h3>
<div class="media-left">
<i class="icon-lg {CMENUICON=css}"></i>
</div>
<div class="media-body media-middle">
<p>{CMENUBODY}</p>
</div>
</div>';
$MENU_TEMPLATE['verticalfeatures-fadeIn']['end'] = '';
$MENU_TEMPLATE['call-to-action']['start'] = '';
$MENU_TEMPLATE['call-to-action']['body'] = '
<div class="call-to-action">
<h2 class="text-primary">{CMENUTITLE}</h2>
<a href="{CMENUURL}" target="ext" class="btn btn-default btn-secondary btn-lg wow flipInX">{CMENUTEXT}</a>
</div>
<br>
<hr/>
<br>
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div class="row">
<h6 class="wide-space text-center">{CPAGETITLE}</h6>
{CPAGEBODY}
</div>
</div>
</div>';
$MENU_TEMPLATE['call-to-action']['end'] = '';
?>

View File

@@ -1,148 +0,0 @@
<?php
/*
* Copyright (c) 2012 e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: e_shortcode.php 12438 2011-12-05 15:12:56Z secretr $
*
* Navigation Template
*/
// TEMPLATE FOR {NAVIGATION=main}
$NAVIGATION_TEMPLATE['main']['start'] = '<ul class="nav navbar-nav">';
// Main Link
$NAVIGATION_TEMPLATE['main']['item'] = '
<li>
<a class="page-scroll" role="button" href="{LINK_URL}"{LINK_OPEN} title="{LINK_DESCRIPTION}">
{LINK_ICON}{LINK_NAME}
</a>
</li>
';
// Main Link - active state
$NAVIGATION_TEMPLATE['main']['item_active'] = '
<li class="active">
<a class="e-tip" role="button" data-target="#" href="{LINK_URL}"{LINK_OPEN} title="{LINK_DESCRIPTION}">
{LINK_ICON} {LINK_NAME}
</a>
</li>
';
// Main Link which has a sub menu.
$NAVIGATION_TEMPLATE['main']['item_submenu'] = '
<li class="dropdown {LINK_IDENTIFIER}">
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" title="{LINK_DESCRIPTION}">
{LINK_ICON}{LINK_NAME}
<span class="caret"></span>
</a>
{LINK_SUB}
</li>
';
// Main Link which has a sub menu - active state.
$NAVIGATION_TEMPLATE['main']['item_submenu_active'] = '
<li class="dropdown active {LINK_IDENTIFIER}">
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}">
{LINK_ICON}{LINK_NAME}
<span class="caret"></span>
</a>
{LINK_SUB}
</li>
';
$NAVIGATION_TEMPLATE['main']['end'] = '</ul>';
// Sub menu
$NAVIGATION_TEMPLATE['main']['submenu_start'] = '
<ul class="dropdown-menu" role="menu" >
';
// Sub menu Link
$NAVIGATION_TEMPLATE['main']['submenu_item'] = '
<li role="menuitem" >
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
</li>
';
// Sub menu Link - active state
$NAVIGATION_TEMPLATE['main']['submenu_item_active'] = '
<li role="menuitem" class="active">
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
</li>
';
// Sub Menu Link which has a sub menu.
$NAVIGATION_TEMPLATE['main']['submenu_loweritem'] = '
<li role="menuitem" class="dropdown-submenu">
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
<span class="caret"></span>
{LINK_SUB}
</li>
';
$NAVIGATION_TEMPLATE['main']['submenu_loweritem_active'] = '
<li role="menuitem" class="dropdown-submenu active">
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
<span class="caret"></span>
{LINK_SUB}
</li>
';
$NAVIGATION_TEMPLATE['main']['submenu_end'] = '</ul>';
// TEMPLATE FOR {NAVIGATION=side}
$NAVIGATION_TEMPLATE['side']['start'] = '<ul class="nav nav-list"><li class="nav-header">Sidebar</li>
';
$NAVIGATION_TEMPLATE['side']['item'] = '<li><a href="{LINK_URL}"{LINK_OPEN} title="{LINK_DESCRIPTION}">{LINK_ICON}{LINK_NAME}</a></li>
';
$NAVIGATION_TEMPLATE['side']['item_submenu'] = '<li class="nav-header">{LINK_ICON}{LINK_NAME}{LINK_SUB}</li>
';
$NAVIGATION_TEMPLATE['side']['item_active'] = '<li class="active"{LINK_OPEN}><a href="{LINK_URL}" title="{LINK_DESCRIPTION}">{LINK_ICON}{LINK_NAME}</a></li>
';
$NAVIGATION_TEMPLATE['side']['end'] = '</ul>
';
$NAVIGATION_TEMPLATE['side']['submenu_start'] = '';
$NAVIGATION_TEMPLATE['side']['submenu_item'] = '<li><a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a></li>';
$NAVIGATION_TEMPLATE['side']['submenu_loweritem'] = '
<li role="menuitem" class="dropdown-submenu">
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
{LINK_SUB}
</li>
';
$NAVIGATION_TEMPLATE['side']['submenu_item_active'] = '<li class="active"><a href="{LINK_URL}">{LINK_ICON}{LINK_NAME}</a></li>';
$NAVIGATION_TEMPLATE['side']['submenu_end'] = '';
// Footer links. - ie. 3 columns of links.
$NAVIGATION_TEMPLATE["footer"]["start"] = "<ul class='list-unstyled nav-footer row'>\n";
$NAVIGATION_TEMPLATE["footer"]["item"] = "<li class='col-md-6'><a href='{LINK_URL}'{LINK_OPEN} title=\"{LINK_DESCRIPTION}\">{LINK_ICON}{LINK_NAME}</a></li>\n";
$NAVIGATION_TEMPLATE["footer"]["item_submenu"] = "<li class='nav-header col-md-6'>{LINK_ICON}{LINK_NAME}{LINK_SUB}</li>\n";
$NAVIGATION_TEMPLATE["footer"]["item_active"] = "<li class='active'{LINK_OPEN}><a href='{LINK_URL}' title=\"{LINK_DESCRIPTION}\">{LINK_ICON}{LINK_NAME}</a></li>\n";
$NAVIGATION_TEMPLATE["footer"]["end"] = "</ul>\n";
$NAVIGATION_TEMPLATE["footer"]["submenu_start"] = "<ul class='list-unstyled'>";
$NAVIGATION_TEMPLATE["footer"]["submenu_item"] = "<li><a href='{LINK_URL}'{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a></li>\n";
$NAVIGATION_TEMPLATE["footer"]["submenu_loweritem"] = "<li><a href='{LINK_URL}'{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>{LINK_SUB}</li>\n";
$NAVIGATION_TEMPLATE["footer"]["submenu_item_active"] = "<li class='active'><a href='{LINK_URL}'>{LINK_ICON}{LINK_NAME}</a></li>\n";
$NAVIGATION_TEMPLATE["footer"]["submenu_end"] = "</ul>";
$NAVIGATION_TEMPLATE['alt'] = $NAVIGATION_TEMPLATE['side'];
$NAVIGATION_TEMPLATE['alt5'] = $NAVIGATION_TEMPLATE['side'];
$NAVIGATION_TEMPLATE['alt6'] = $NAVIGATION_TEMPLATE['side'];
?>

View File

@@ -1,122 +0,0 @@
<?php
/**
* Copyright (C) e107 Inc (e107.org), Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* News menus templates
*/
if (!defined('e107_INIT')) exit;
global $sc_style;
// $sc_style['NEWS_CATEGORY_NEWS_COUNT']['pre'] = '(';
// $sc_style['NEWS_CATEGORY_NEWS_COUNT']['post'] = ')';
// category menu
$NEWS_MENU_TEMPLATE['category']['start'] = '<ul class="nav nav-list news-menu-category">';
$NEWS_MENU_TEMPLATE['category']['end'] = '</ul>';
$NEWS_MENU_TEMPLATE['category']['item'] = '
<li><a class="e-menu-link newscats{active}" href="{NEWS_CATEGORY_URL}">{NEWS_CATEGORY_TITLE} <span class="pull-right">{NEWS_CATEGORY_NEWS_COUNT}</span></a></li>
';
//$NEWS_MENU_WRAPPER['category']['NEWS_CATEGORY_NEWS_COUNT'] = "({---})"; // Wrap brackets around the news count when value is returned.
//$NEWS_MENU_TEMPLATE['category']['separator'] = '<br />';
// months menu
$NEWS_MENU_TEMPLATE['months']['start'] = '<ul class="nav nav-list news-menu-months">';
$NEWS_MENU_TEMPLATE['months']['end'] = '</ul>';
$NEWS_MENU_TEMPLATE['months']['item'] = '
<li><a class="e-menu-link newsmonths{active}" href="{url}">{month} <span class="badge pull-right">{count}</span></a></li>
';
//$NEWS_MENU_TEMPLATE['months']['separator'] = '<br />';
// latest menu
$NEWS_MENU_TEMPLATE['latest']['start'] = '<ul class="nav nav-list news-menu-latest">';
$NEWS_MENU_TEMPLATE['latest']['end'] = '</ul>'; // Example: $NEWS_MENU_TEMPLATE['latest']['end'] '<br />{currentTotal} from {total}';
$NEWS_MENU_TEMPLATE['latest']['item'] = '<li><a class="e-menu-link newsmonths" href="{NEWSURL}">{NEWSTITLE} {NEWSCOMMENTCOUNT}</a></li>';
$NEWS_MENU_WRAPPER['latest']['NEWSCOMMENTCOUNT'] = "({---})";
// Other News Menu.
/*
$NEWS_MENU_TEMPLATE['other']['caption'] = '';
$NEWS_MENU_TEMPLATE['other']['start'] = "
{SETIMAGE: w=700&h=400&crop=1}"; // set the {NEWSIMAGE} dimensions.
$NEWS_MENU_TEMPLATE['other']['item'] = '
<a href="{NEWSURL}" class="thumbnail">{NEWSIMAGE: type=tag&item=1}</a>
<h2 class="home-post-title"><a href="{NEWSURL}">{NEWSTITLE}</a></h2>
<p>{NEWSBODY}</p>
<div class="row home-post-footer">
<div class="col-md-8">
<div class="home-post-meta">
<i class="fa fa-clock-o"></i> {NEWSDATE=short}
<i class="fa fa-folder-open"></i> {NEWSCATEGORY}
<i class="fa fa-tags"></i> {NEWSTAGS}
</div>
</div>
<div class="col-md-4">
<a href="{NEWSURL}" class="btn btn-primary btn-block">'.LAN_READ_MORE.'</a>
</div>
</div>';
$NEWS_MENU_TEMPLATE['other']['end'] = "";
*/
$NEWS_MENU_TEMPLATE['other']['caption'] = TD_MENU_L1;
$NEWS_MENU_TEMPLATE['other']['start'] = "<div id='otherNews' data-interval='false' class='carousel slide othernews-block'>
<div class='carousel-inner'>
{SETIMAGE: w=500&h=300&crop=1}"; // set the {NEWSIMAGE} dimensions.
$NEWS_MENU_TEMPLATE['other']['item'] = '<div class="item {ACTIVE}">
{NEWSTHUMBNAIL=placeholder}
<h3>{NEWSTITLE}</h3>
<p>{NEWSSUMMARY}</p>
<p class="text-right"><a class="btn btn-primary btn-othernews" href="{NEWSURL}">'.LAN_READ_MORE.' &raquo;</a></p>
</div>';
$NEWS_MENU_TEMPLATE['other']['end'] = "</div></div>";
// Other News Menu. 2
$NEWS_MENU_TEMPLATE['other2']['caption'] = TD_MENU_L2;
$NEWS_MENU_TEMPLATE['other2']['start'] = "<ul class='media-list unstyled list-unstyled othernews2-block'>{SETIMAGE: w=100&h=100&crop=1}"; // set the {NEWSIMAGE} dimensions.
$NEWS_MENU_TEMPLATE['other2']['item'] = "<li class='media'>
<span class='media-object pull-left'>{NEWSTHUMBNAIL=placeholder}</span>
<div class='media-body'><h4>{NEWSTITLELINK}</h4>
<p class='text-right'><a class='btn btn-primary btn-othernews2' href='{NEWSURL}'>".LAN_READ_MORE." &raquo;</a></p>
</div>
</li>\n";
$NEWS_MENU_TEMPLATE['other2']['end'] = "</ul>";
//$NEWS_MENU_TEMPLATE['latest']['separator'] = '<br />'; // Shouldn't be needed.

View File

@@ -1,220 +0,0 @@
<?php
/**
* Copyright (C) e107 Inc (e107.org), Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* News default templates
*/
if (!defined('e107_INIT')) exit;
global $sc_style;
###### Default list item (temporary) - TODO rewrite news ######
//$NEWS_MENU_TEMPLATE['list']['start'] = '<ul class="nav nav-list news-menu-months">';
//$NEWS_MENU_TEMPLATE['list']['end'] = '</ul>';
$NEWS_MENU_TEMPLATE['list']['start'] = '<div class="thumbnails">';
$NEWS_MENU_TEMPLATE['list']['end'] = '</div>';
// XXX The ListStyle template offers a listed summary of items with a minimum of 10 items per page.
// As displayed by news.php?cat.1 OR news.php?all
// {NEWSBODY} should not appear in the LISTSTYLE as it is NOT the same as what would appear on news.php (no query)
// Template/CSS to be reviewed for best bootstrap implementation
$NEWS_TEMPLATE['list']['caption'] = '{NEWSCATEGORY}';
$NEWS_TEMPLATE['list']['start'] = '{SETIMAGE: w=400&h=350&crop=1}';
$NEWS_TEMPLATE['list']['end'] = '';
$NEWS_TEMPLATE['list']['item'] = '
<div class="row row-fluid">
<div class="span3 col-md-3">
<div class="thumbnail">
{NEWSTHUMBNAIL=placeholder}
</div>
</div>
<div class="span9 col-md-9">
<h3 class="media-heading">{NEWSTITLELINK}</h3>
<p>
{NEWSSUMMARY}
</p>
<p>
<a href="{NEWSURL}" class="btn btn-small btn-primary">'.LAN_READ_MORE.'</a>
</p>
</div>
</div>
<hr class="visible-xs" />
';
//$NEWS_MENU_TEMPLATE['list']['separator'] = '<br />';
// XXX As displayed by news.php (no query) or news.php?list.1.1 (ie. regular view of a particular category)
//XXX TODO GEt this looking good in the default Bootstrap theme.
/*
$NEWS_TEMPLATE['default']['item'] = '
{SETIMAGE: w=400}
<div class="view-item">
<h2>{NEWSTITLE}</h2>
<small class="muted">
<span class="date">{NEWSDATE=short} by <span class="author">{NEWSAUTHOR}</span></span>
</small>
<div class="body">
{NEWSIMAGE}
{NEWSBODY}
{EXTENDED}
</div>
<div class="options">
<span class="category">{NEWSCATEGORY}</span> {NEWSTAGS} {NEWSCOMMENTS} {EMAILICON} {PRINTICON} {PDFICON} {ADMINOPTIONS}
</div>
</div>
';
*/
$NEWS_WRAPPER['default']['item']['NEWSIMAGE: item=1'] = ' ';
$NEWS_TEMPLATE['default']['caption'] = '<!-- -->'; // trick to enable tablerender and display an empty row. .
$NEWS_TEMPLATE['default']['item'] = '
{SETIMAGE: w=600&h=600}
<article class="post animated fadeInLeft animation-delay-8">
<div class="panel panel-default">
<div class="panel-body">
<h3 class="post-title"><a href="{NEWSURL}" class="transicion">{NEWSTITLE} </a></h3>
<div class="row">
<div class="col-lg-12">
{NEWSIMAGE: item=1}
</div>
<div class="col-lg-12">
<p> {NEWSSUMMARY}</p>
</div>
</div>
</div>
<div class="panel-footer">
<div class="row">
<div class="col-lg-10 col-md-9 col-sm-8">
<i class="fa fa-clock-o"></i> {NEWSDATE=short} <i class="fa fa-user"> </i> {NEWSAUTHOR} <i class="fa fa-folder-open"></i> {NEWSCATEGORY}.
</div>
<div class="col-lg-2 col-md-3 col-sm-4">
<a href="{NEWSURL}" class="pull-right">'.LAN_READ_MORE.' &raquo;</a>
</div>
</div>
</div>
</div>
</article> <!-- post -->
';
###### Default view item (temporary) ######
//$NEWS_MENU_TEMPLATE['view']['start'] = '<ul class="nav nav-list news-menu-months">';
//$NEWS_MENU_TEMPLATE['view']['end'] = '</ul>';
// As displayed by news.php?extend.1
$NEWS_WRAPPER['view']['item']['NEWSIMAGE: item=1'] = '<span class="news-images-main pull-left col-xs-12 col-sm-6 col-md-6">{---}</span>';
$NEWS_TEMPLATE['view']['item'] = '
{SETIMAGE: w=900&h=600}
<section class="news-view-item">
<h2 class="post-title">{NEWSTITLELINK}</h2> {TAGS}
<img src="{NEWSIMAGE: type=src&item=1}" class="img-responsive imageborder" alt="{NEWSTITLE}">
<hr class="news-heading-sep">
<div class="row">
<div class="col-md-6"><small>{GLYPH=user} &nbsp;{NEWSAUTHOR} &nbsp; {GLYPH=time} &nbsp;{NEWSDATE=short} </small></div>
<div class="col-md-6 text-right options"><small>{GLYPH=tags} &nbsp;{NEWSTAGS} &nbsp; {GLYPH=folder-open} &nbsp;{NEWSCATEGORY} </small></div>
</div>
<hr>
<div class="body">
<p class="lead">{NEWSSUMMARY}</p>
<div class="text-justify">
{NEWSBODY=body}
</div>
<div class="news-videos-1">
{NEWSVIDEO: item=1}
{NEWSVIDEO: item=2}
{NEWSVIDEO: item=3}
</div>
<br />
{SETIMAGE: w=400&h=400}
<div class="row news-images-1">
<div class="col-md-6">{NEWSIMAGE: item=2}</div>
<div class="col-md-6">{NEWSIMAGE: item=3}</div>
</div>
<div class="row news-images-2">
<div class="col-md-6">{NEWSIMAGE: item=4}</div>
<div class="col-md-6">{NEWSIMAGE: item=5}</div>
</div>
{NEWSVIDEO: item=4}
{NEWSVIDEO: item=5}
<div class="body-extended text-justify">
{NEWSBODY=extended}
</div>
</div>
<hr>
<div class="options hidden-print ">
<div class="btn-group">{NEWSCOMMENTLINK: glyph=comments&class=btn btn-default}{PRINTICON: class=btn btn-default}{ADMINOPTIONS: class=btn btn-default}{SOCIALSHARE}</div>
</div>
</section>
{NEWSRELATED}
<hr>
{NEWSNAVLINK}
';
//$NEWS_MENU_TEMPLATE['view']['separator'] = '<br />';
###### news_categories.sc
$NEWS_TEMPLATE['category']['body'] = '
<div style="padding:5px"><div style="border-bottom:1px inset black; padding-bottom:1px;margin-bottom:5px">
{NEWSCATICON}&nbsp;{NEWSCATEGORY}
</div>
{NEWSCAT_ITEM}
</div>
';
$NEWS_TEMPLATE['category']['item'] = '
<div style="width:100%;padding-bottom:2px">
<table style="width:100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="width:2px;vertical-align:top">&#8226;
</td>
<td style="text-align:left;vertical-align:top;padding-left:3px">
{NEWSTITLELINK}
<br />
</td></tr>
</table>
</div>
';
### Related 'start' - Options: Core 'single' shortcodes including {SETIMAGE}
### Related 'item' - Options: {RELATED_URL} {RELATED_IMAGE} {RELATED_TITLE} {RELATED_SUMMARY}
### Related 'end' - Options: Options: Core 'single' shortcodes including {SETIMAGE}
/*
$NEWS_TEMPLATE['related']['start'] = "<hr><h4>".defset('LAN_RELATED', 'Related')."</h4><ul class='e-related'>";
$NEWS_TEMPLATE['related']['item'] = "<li><a href='{RELATED_URL}'>{RELATED_TITLE}</a></li>";
$NEWS_TEMPLATE['related']['end'] = "</ul>";*/
$NEWS_TEMPLATE['related']['start'] = '{SETIMAGE: w=350&h=350&crop=1}<h2 class="caption">'.LAN_LZ_THEME_18.'</h2><div class="row">';
$NEWS_TEMPLATE['related']['item'] = '<div class="col-md-4"><a href="{RELATED_URL}">{RELATED_IMAGE}</a><h3><a href="{RELATED_URL}">{RELATED_TITLE}</a></h3></div>';
$NEWS_TEMPLATE['related']['end'] = '</div>';

View File

@@ -1,373 +0,0 @@
<?php
/**
* Bootstrap 3 Theme for e107 v2.x
* Landing Zero Theme by www.bootstrapzero.com adapted for e107 CMS.
* Released under the terms and conditions of the
* GNU General Public License (http://gnu.org).
*/
if (!defined('e107_INIT')) { exit; }
define("BOOTSTRAP", 3);
define("FONTAWESOME", 4);
define('VIEWPORT', "width=device-width, initial-scale=1.0");
e107::lan('theme');
$cndPref = e107::pref('theme', 'cdn','cdnjs');
e107::library('load', 'bootstrap');
e107::library('load', 'fontawesome');
switch($cndPref)
{
case "jsdelivr":
// e107::css('url', 'https://cdn.jsdelivr.net/bootstrap/3.3.7/css/bootstrap.min.css');
// e107::css('url', 'https://cdn.jsdelivr.net/fontawesome/4.7.0/css/font-awesome.min.css');
// e107::js("footer", "https://cdn.jsdelivr.net/bootstrap/3.3.6/js/bootstrap.min.js", 'jquery');
e107::js("footer", "https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js", 'jquery');
break;
/*case "localhost": //@todo add back once correct core path is determined.
e107::js("theme", "js/bootstrap.min.js", 'jquery');
e107::js("theme", "js/jquery.easing.min.js", 'jquery');
break; */
case "cdnjs":
default:
// e107::css('url', 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css');
// e107::css('url', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
// e107::js("footer", "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js", 'jquery', 2);
e107::js("footer", "https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js", 'jquery', 2);
}
e107::js("theme", "js/wow.js", 'jquery');
e107::js("theme", "js/scripts.js", 'jquery');
e107::css('theme', 'css/animate.min.css');
e107::css('theme', 'css/ionicons.min.css');
e107::css('theme', 'css/styles.css');
$videomobilehide = e107::pref('landingzero', 'videomobilehide');
$foot1 = e107::pref('landingzero', 'foot1');
$foot2 = e107::pref('landingzero', 'foot2');
$foot3 = e107::pref('landingzero', 'foot3');
e107::js("footer-inline", "$('.e-tip').tooltip({container: 'body'})"); // activate bootstrap tooltips.
// Legacy Stuff.
define('OTHERNEWS_COLS',false); // no tables, only divs.
define('OTHERNEWS_LIMIT', 3); // Limit to 3.
define('OTHERNEWS2_COLS',false); // no tables, only divs.
define('OTHERNEWS2_LIMIT', 3); // Limit to 3.
define('COMMENTLINK', e107::getParser()->toGlyph('fa-comment'));
define('COMMENTOFFSTRING', '');
define('PRE_EXTENDEDSTRING', '<br />');
/**
* @param string $caption
* @param string $text
* @param string $id : id of the current render
* @param array $info : current style and other menu data.
*/
function tablestyle($caption, $text, $id='', $info=array())
{
// global $style; // no longer needed.
$style = $info['setStyle'];
echo "<!-- tablestyle: style=".$style." id=".$id." -->\n\n";
$type = $style;
if(empty($caption))
{
$type = 'box';
}
if($id == 'wm') // Example - If rendered from 'welcome message'
{
echo '<h1 class="cursive">'.$caption.'</h1><h4>'.str_replace(array("<p>","</p>"), "", $text).'</h4>';
return;
}
if($style == 'col-md-4' || $style == 'col-md-6' || $style == 'col-md-8')
{
echo ' <div class="col-xs-12 '.$style.'">';
if(!empty($caption))
{
echo '<h2>'.$caption.'</h2>';
}
echo '
'.$text.'
</div>';
return;
}
if($style === 'menu' && !empty($info['footer']) && !empty($info['text']))
{
$style = 'menu-footer';
}
if($style == 'menu')
{
echo '<div class="panel panel-default">
<div class="panel-heading">'.$caption.'</div>
<div class="panel-body">
'.$text.'
</div>
</div>';
return;
}
if($style == 'menu-footer')
{
echo '<div class="panel panel-default">
<div class="panel-heading">'.$caption.'</div>
<div class="panel-body">
'.$info['text'].'
</div>
<div class="panel-footer text-align:right">'.$info['footer'].'</div>
</div>';
return;
}
if($style == 'portfolio')
{
echo '
<div class="col-lg-4 col-md-4 col-sm-6">
'.$text.'
</div>';
return;
}
if($style == 'nocaption')
{
echo str_replace(array("<p>","</p>"), "", $text);
return;
}
if ($style == 'footercolumn')
{
echo '<h4 class="caption">' . $caption . '</h4>' . str_replace(array("<p>","</p>"), "", $text);
return;
}
if ($style == 'footercolumn-12')
{
echo '<div class="col-xs-12 col-sm-3 footercolumn">
<h4 class="caption">' . $caption . '</h4>' . $text . '</div>';
return;
}
// default.
if(!empty($caption))
{
echo '<h2 class="caption">'.$caption.'</h2>';
}
echo $text;
return;
}
// applied before every layout.
$LAYOUT['_header_'] = '
<nav id="topNav" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-scroll" href="'.SITEURL.'#first"><i class="ion-ios-analytics-outline"></i>{SITENAME}</a>
</div>
<div class="navbar-collapse collapse" id="bs-navbar">
{NAVIGATION=main}
{BOOTSTRAP_USERNAV: placement=top}
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" data-toggle="modal" title="{SITETAG}" href="#aboutModal">About</a>
</li>
</ul>
</div>
</div>
</nav>
';
// applied after every layout.
$LAYOUT['_footer_'] = '<hr>
<footer id="footer">
<div class="container-fluid">
<div class="row">
{SETSTYLE=footercolumn}
<div class="col-xs-6 col-sm-6 col-xxs-12 footercolumn">{NAVIGATION=footer}</div>
<div class="col-xs-6 col-sm-6 col-md-3 col-xxs-12 footercolumn">{LZ_SUBSCRIBE}</div>
<div class="col-xs-12 col-sm-6 col-md-3 col-xxs-12 text-right"><h4>'.LAN_LZ_THEME_10.'</h4>{XURL_ICONS}</div>
</div>
<br/>
<span class="pull-right text-muted small">{SITEDISCLAIMER=2016}</span>
</div>
</footer>
<div id="galleryModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<img src="#" id="galleryImage" class="img-responsive" alt="gallery"/>
<p>
<br/>
<button class="btn btn-primary btn-lg center-block" data-dismiss="modal" aria-hidden="true">'.LAN_LZ_THEME_05.' <i class="ion-android-close"></i></button>
</p>
</div>
</div>
</div>
</div>
{SETSTYLE=nocaption}
{ABOUTMODAL}
';
// $LAYOUT is a combined $HEADER and $FOOTER, automatically split at the point of "{---}"
// Frontpage has to be welcome message
$LAYOUT['homepage'] = '
<header id="first">
<div class="header-content">
<div class="inner">
{WMESSAGE=force}
{LANDING_TOGGLE}<a href="#one" class="btn btn-primary btn-xl page-scroll">'.LAN_LZ_THEME_01.'</a>
</div>
</div>
{VIDEOBACKGROUND}
</header>
<section class="bg-primary" id="one">
<div class="container">
<div class="row">
{ALERTS}
{SETSTYLE=nocaption}
{MENU=1}
</div>
</div>
</section>
<section id="two">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="margin-top-0 text-primary">'.LAN_LZ_THEME_04.'</h2>
<hr class="primary">
</div>
</div>
</div>
<div class="container">
<div class="row">
{MENU=10}
</div>
</div>
</section>
{GALLERY_PORTFOLIO: limit=6}
<section class="container-fluid" id="four">
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-4">
<h2 class="text-center text-primary">'.LAN_LZ_THEME_06.'</h2>
<hr>
{MENU=9}
</div>
</div>
</section>
<aside class="bg-dark">
<div class="container text-center">
{MENU=8}
</div>
</aside>
<section id="last">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="margin-top-0 wow fadeIn">'.LAN_LZ_THEME_13.'</h2>
<hr class="primary">
<p>'.LAN_LZ_THEME_14.'</p>
</div>
<div class="col-lg-10 col-lg-offset-1 text-center">
{MENU=contact/contact}
</div>
</div>
</div>
</section>
{---}
';
$LAYOUT['full'] = '
{SETSTYLE=default}
<div class="container-fluid main-section">
{ALERTS}
{MENU=1}
{---}
</div>';
$LAYOUT['sidebar_right'] = '
{SETSTYLE=default}
<div class="container-fluid main-section">
{ALERTS}
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6">
{---}
</div>
<div id="sidebar" class="col-xs-12 col-sm-6 col-md-3">
{SETSTYLE=menu}
{MENU=1}
</div>
<div class="bg-dark col-xs-12 col-sm-6 col-md-3">
{SETSTYLE=menu}
{MENU=2}
</div>
</div>
</div>';
$LAYOUT['sidebar_left'] = $LAYOUT['sidebar_right'];
$NEWSCAT = "\n\n\n\n<!-- News Category -->\n\n\n\n
<div style='padding:2px;padding-bottom:12px'>
<div class='newscat_caption'>
{NEWSCATEGORY}
</div>
<div style='width:100%;text-align:left'>
{NEWSCAT_ITEM}
</div>
</div>
";
$NEWSCAT_ITEM = "\n\n\n\n<!-- News Category Item -->\n\n\n\n
<div style='width:100%;display:block'>
<table style='width:100%'>
<tr><td style='width:2px;vertical-align:middle'>&#8226;&nbsp;</td>
<td style='text-align:left;height:10px'>
{NEWSTITLELINK}
</td></tr></table></div>
";
?>

View File

@@ -1,53 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<e107Theme name="Landing Zero" version="2.0" date="2016-12-31" compatibility="2.1.4">
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
<summary>A free landing page theme with video background</summary>
<description>Landing Zero Theme by bootstrapzero.com is a device-agnostic, modern responsive design that is customizable. It's designed to work well on desktops, laptops, tablets and mobile phones. Home page contains a video background. This single-page Bootstrap template has a sleek darkgrey color scheme, accent color and smooth scrolling. </description>
<category>generic</category>
<plugins>
<plugin name='gallery' url='core' />
<plugin name='rss_menu' url='core' />
<plugin name='tinymce4' url='core' />
<plugin name='social' url='core' />
</plugins>
<keywords>
<word>bootstrap</word>
<word>clean</word>
<word>video</word>
</keywords>
<screenshots>
<image>preview_default.jpg</image>
<image>preview_onepage.jpg</image>
</screenshots>
<stylesheets>
<css file="style.css" name="Default" />
</stylesheets>
<layouts>
<layout name='homepage' title='Homepage Option 1' default='false'>
<custompages>FRONTPAGE</custompages>
</layout>
<layout name='full' title='Full width page' >
<custompages>forum gallery</custompages>
</layout>
<layout name='sidebar_right' title='Blog sidebar-right' default='true' >
<custompages>/news</custompages>
<menuPresets>
<area id='1'>
<menu name='news_categories' />
<menu name='other_news' />
<menu name='other_news2' />
<menu name='blogcalendar' />
</area>
</menuPresets>
</layout>
<layout name='sidebar_left' title='Blog sidebar-left' default='false' >
<custompages>/page</custompages>
</layout>
</layouts>
<glyphicons>
<glyph name='ionicons' pattern='\.(ion-[a-z-]*):before\{' path='css/ionicons.min.css' prefix='ion-' tag='i' />
</glyphicons>
<themePrefs>
<pref name='usernav_placement'>top</pref>
</themePrefs>
</e107Theme>

View File

@@ -1,45 +0,0 @@
<?php
if (!defined('e107_INIT')) { exit; }
e107::lan('theme', 'admin',true);
class theme_config implements e_theme_config
{
function __construct()
{
e107::themeLan('admin','landingzero',true);
}
function config()
{
// v2.1.4 format.
$fields = array(
'videobackground' => array('title' => LAN_LZ_THEMEPREF_00, 'type'=>'image', 'help'=>''),
'videomobilebackground' => array('title' => LAN_LZ_THEMEPREF_01, 'type'=>'image', 'help'=>''),
'videoposter' => array('title' => LAN_LZ_THEMEPREF_02, 'type'=>'image', 'help'=>''),
'videourl' => array('title' => LAN_LZ_THEMEPREF_03, 'type'=>'text', 'writeParms'=>array('size'=>'xxlarge'),'help'=>''),
'usernav_placement' => array('title' => LAN_LZ_THEMEPREF_04, 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array('top'=>LAN_LZ_THEMEPREF_05, 'bottom'=>LAN_LZ_THEMEPREF_06))),
// 'cdn' => array('title' => 'CDN', 'type'=>'dropdown', 'writeParms'=>array('optArray'=>array( 'cdnjs' => 'CDNJS (Cloudflare)', 'jsdelivr' => 'jsDelivr')))
);
return $fields;
}
function help()
{
return null;
}
function process()
{
return null;
}
}
?>

View File

@@ -1,385 +0,0 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* e107 Bootstrap Theme Shortcodes.
*
*/
class theme_shortcodes extends e_shortcode
{
var $override = true;
function __construct()
{
if($img = $this->sc_videobackground('file'))
{
$inlinecss = 'header { background-image: url('.$img.') }';
e107::css("inline", $inlinecss);
}
}
function sc_aboutmodal()
{
$text = e107::getParser()->parseTemplate('{CMENU=aboutmodal}');
return $text;
}
function sc_videobackground($parm=null)
{
if($this->isMobile() ) //|| !empty($_GET['configure'])
{
return null;
}
/* first frame */
if($videoposter = e107::pref('theme', 'videoposter', false))
{
$videoposter = e107::getParser()->thumbURL($videoposter);
}
else
{
$videoposter = SITEURLBASE.THEME_ABS."images/background01.jpg";
}
if($parm == 'file')
{
return $videoposter;
}
/* mp4 video url */
if(!$videourl = e107::pref('theme', 'videourl', false))
{
$videourl = "https://s3-us-west-2.amazonaws.com/coverr/mp4/Traffic-blurred2.mp4";
}
$text = '
<video autoplay="" loop="" class="fillWidth fadeIn wow collapse in" data-wow-delay="0.5s" poster="'.$videoposter.'" id="video-background">
<source src="'.$videourl.'" type="video/mp4">'.LAN_LZ_THEME_03.'
</video>';
return $text;
}
function isMobile()
{
return preg_match("/\b(?:a(?:ndroid|vantgo)|b(?:lackberry|olt|o?ost)|cricket|docomo|hiptop|i(?:emobile|p[ao]d)|kitkat|m(?:ini|obi)|palm|(?:i|smart|windows )phone|symbian|up\.(?:browser|link)|tablet(?: browser| pc)|(?:hp-|rim |sony )tablet|w(?:ebos|indows ce|os))/i", $_SERVER["HTTP_USER_AGENT"]);
}
function sc_landing_toggle()
{
if($this->isMobile() || (e_ADMIN_AREA === true))
{
return null;
}
return '<hr><a href="#video-background" id="toggleVideo" data-toggle="collapse" class="btn btn-primary btn-xl">'.LAN_LZ_THEME_02.'</a>
&nbsp; ';
}
function sc_cmenutext()
{
$sc = e107::getScBatch('page', null, 'cpage');
$data = $sc->getVars();
return vartrue($data['menu_button_text'],'');
}
function sc_sitedisclaimer($copyYear = NULL)
{
$default = "Proudly powered by <a href='http://e107.org'>e107</a> which is released under the terms of the GNU GPL License.";
$sitedisclaimer = deftrue('SITEDISCLAIMER',$default);
$copyYear = vartrue($copyYear,'2013');
$curYear = date('Y');
$text = '&copy; '. $copyYear . (($copyYear != $curYear) ? ' - ' . $curYear : '');
$text .= ' '.$sitedisclaimer;
return e107::getParser()->toHTML($text, true, 'SUMMARY');
}
//@todo Replace with social template.
function sc_xurl_icons()
{
$social = array(
'rss' => array('href' => (e107::isInstalled('rss_menu') ? e107::url('rss_menu', 'index', array('rss_url' => 'news')) : ''), 'title' => 'RSS/Atom Feed'),
'facebook' => array('href' => deftrue('XURL_FACEBOOK'), 'title' => 'Facebook'),
'twitter' => array('href' => deftrue('XURL_TWITTER'), 'title' => 'Twitter'),
'google' => array('href' => deftrue('XURL_GOOGLE'), 'title' => 'Google Plus'),
'linkedin' => array('href' => deftrue('XURL_LINKEDIN'), 'title' => 'LinkedIn'),
'github' => array('href' => deftrue('XURL_GITHUB'), 'title' => 'Github'),
'pinterest' => array('href' => deftrue('XURL_PINTEREST'), 'title' => 'Pinterest'),
'flickr' => array('href' => deftrue('XURL_FLICKR'), 'title' => 'Flickr'),
'instagram' => array('href' => deftrue('XURL_INSTAGRAM'), 'title' => 'Instagram'),
'youtube' => array('href' => deftrue('XURL_YOUTUBE'), 'title' => 'YouTube'),
'question-circle' => array('href' => deftrue('XURL_VIMEO'), 'title' => 'e107 HELP')
);
//Fixme - GooglePlus not working.
$text = '';
$textstart = '<ul class="list-inline lz-social-icons">';
$textend = '</ul>';
foreach($social as $id => $data)
{
if($data['href'] != '')
{
$text .= '
<li><a rel="nofollow" target="_blank" href="' . $data['href'] . '" title="' . $data['title'] . '"><i class="icon-lg ion-social-' . $id . '-outline"></i></a>&nbsp;</li>';
$text .= "\n";
}
}
if($text != '')
{
return $textstart . $text . $textend;
}
}
function sc_lz_subscribe()
{
$pref = e107::pref('core');
$ns = e107::getRender();
if(empty($pref['signup_option_class']))
{
return false;
}
$frm = e107::getForm();
$text = $frm->open('lz-subscribe','post', e_SIGNUP);
$text .= "<div class='form-group'>";
$text .= $frm->text('email','', null, array('placeholder'=>LAN_LZ_THEME_15, 'size'=>'xxlarge'));
$text .= "</div>";
$text .= "<div class='form-group'>";
$text .= " ".$frm->button('subscribe', 1, 'submit', LAN_LZ_THEME_16, array('class'=>'btn-primary'));
$text .= "</div>";
$text .= $frm->close();
$caption = LAN_LZ_THEME_17;
return $ns->tablerender($caption,$text,'lz-subscribe', true);
}
function sc_lz_contactform() //FIXME Use contact_template.php instead ie. $CONTACT_TEMPLATE['menu']
{
//
$text = '
<div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="margin-top-0 wow fadeIn">Get in Touch</h2>
<hr class="primary">
<p>We love feedback. Fill out the form below and we\'ll get back to you as soon as possible.</p>
</div>
<div class="col-lg-10 col-lg-offset-1 text-center">
<form class="contact-form row">
<div class="col-md-4">
<label></label>
<input type="text" class="form-control" placeholder="Name">
</div>
<div class="col-md-4">
<label></label>
<input type="text" class="form-control" placeholder="Email">
</div>
<div class="col-md-4">
<label></label>
<input type="text" class="form-control" placeholder="Phone">
</div>
<div class="col-md-12">
<label></label>
<textarea class="form-control" rows="9" placeholder="Your message here.."></textarea>
</div>
<div class="col-md-4 col-md-offset-4">
<label></label>
<button type="button" data-toggle="modal" data-target="#alertModal" class="btn btn-primary btn-block btn-lg">Send <i class="ion-android-arrow-forward"></i></button>
</div>
</form>
</div>
';
return $text;
}
function sc_contact_submit_button($parm='')
{
return "<input type='submit' name='send-contactus' value=\"".LANCONTACT_08."\" class='btn btn-primary btn-block btn-lg' />";
}
function sc_bootstrap_usernav($parm=null)
{
$placement = e107::pref('theme', 'usernav_placement', 'top');
if($parm['placement'] != $placement)
{
return '';
}
include_lan(e_PLUGIN."login_menu/languages/".e_LANGUAGE.".php");
$tp = e107::getParser();
require(e_PLUGIN."login_menu/login_menu_shortcodes.php"); // don't use 'require_once'.
$direction = vartrue($parm['dir']) == 'up' ? ' dropup' : '';
$userReg = defset('USER_REGISTRATION');
if(!USERID) // Logged Out.
{
$text = '
<ul class="nav navbar-nav navbar-right'.$direction.'">';
if($userReg==1)
{
$text .= '
<li><a href="'.e_SIGNUP.'">'.LAN_LOGINMENU_3.'</a></li>
'; // Signup
}
$socialActive = e107::pref('core', 'social_login_active');
if(!empty($userReg) || !empty($socialActive)) // e107 or social login is active.
{
$text .= '
<li class="divider-vertical"></li>
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">'.LAN_LOGINMENU_51.' <strong class="caret"></strong></a>
<div class="dropdown-menu col-sm-12" style="min-width:250px; padding: 15px; padding-bottom: 0px;">
{SOCIAL_LOGIN: size=2x&label=1}
'; // Sign In
}
else
{
return '';
}
if(!empty($userReg)) // value of 1 or 2 = login okay.
{
// global $sc_style; // never use global - will impact signup/usersettings pages.
// $sc_style = array(); // remove any wrappers.
$text .='
<form method="post" onsubmit="hashLoginPassword(this);return true" action="'.e_REQUEST_HTTP.'" accept-charset="UTF-8">
<p>{LM_USERNAME_INPUT}</p>
<p>{LM_PASSWORD_INPUT}</p>
<div class="form-group"></div>
{LM_IMAGECODE_NUMBER}
{LM_IMAGECODE_BOX}
<div class="checkbox">
<label class="string optional" for="autologin"><input style="margin-right: 10px;" type="checkbox" name="autologin" id="autologin" value="1">
'.LAN_LOGINMENU_6.'</label>
</div>
<input class="btn btn-primary btn-block" type="submit" name="userlogin" id="userlogin" value="'.LAN_LOGINMENU_51.'">
';
$text .= '
<a href="{LM_FPW_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_4.'</a>
<a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_40.'</a>
';
/*
$text .= '
<label style="text-align:center;margin-top:5px">or</label>
<input class="btn btn-primary btn-block" type="button" id="sign-in-google" value="Sign In with Google">
<input class="btn btn-primary btn-block" type="button" id="sign-in-twitter" value="Sign In with Twitter">
';
*/
$text .= "<p></p>
</form>
</div>
</li>
";
}
$text .= "
</ul>";
return $tp->parseTemplate($text, true, $login_menu_shortcodes);
}
// Logged in.
//TODO Generic LANS. (not theme LANs)
$text = '
<ul class="nav navbar-nav navbar-right'.$direction.'">
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{SETIMAGE: w=20&h=20&crop=1} {USER_AVATAR: shape=circle} <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="{LM_USERSETTINGS_HREF}"><span class="glyphicon glyphicon-cog"></span> '.LAN_SETTINGS.'</a>
</li>
<li>
<a class="dropdown-toggle no-block" role="button" href="{LM_PROFILE_HREF}"><span class="glyphicon glyphicon-user"></span> '.LAN_LOGINMENU_13.'</a>
</li>
<li class="divider"></li>';
if(ADMIN)
{
$text .= '<li><a href="'.e_ADMIN_ABS.'"><span class="fa fa-cogs"></span> '.LAN_LOGINMENU_11.'</a></li>';
}
$text .= '
<li><a href="'.e_HTTP.'index.php?logout"><span class="glyphicon glyphicon-off"></span> '.LAN_LOGOUT.'</a></li>
</ul>
</li>
</ul>
';
return $tp->parseTemplate($text,true,$login_menu_shortcodes);
}
}
?>