"The Voux" blog theme added. Based on http://voux-with-out-slider-themexpose.blogspot.in/
BIN
e107_themes/voux/install/2_.jpg
Normal file
After Width: | Height: | Size: 133 KiB |
BIN
e107_themes/voux/install/8.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
e107_themes/voux/install/DeathtoStock_NYC5-840x512.jpg
Normal file
After Width: | Height: | Size: 126 KiB |
BIN
e107_themes/voux/install/DeathtoStock_Portraits-4-840x512.jpg
Normal file
After Width: | Height: | Size: 131 KiB |
BIN
e107_themes/voux/install/gasmask.jpg
Normal file
After Width: | Height: | Size: 89 KiB |
1287
e107_themes/voux/install/install.xml
Normal file
BIN
e107_themes/voux/install/logo2B252832529.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
e107_themes/voux/install/post5-1080x720.jpg
Normal file
After Width: | Height: | Size: 176 KiB |
BIN
e107_themes/voux/install/post8-1080x715.jpg
Normal file
After Width: | Height: | Size: 136 KiB |
BIN
e107_themes/voux/install/sketch-subscribe.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
e107_themes/voux/preview.png
Normal file
After Width: | Height: | Size: 880 KiB |
549
e107_themes/voux/style.css
Normal file
@ -0,0 +1,549 @@
|
||||
/* Move down content because we have a fixed navbar that is 50px tall */
|
||||
body {
|
||||
padding-top: 50px;
|
||||
color: #343434;
|
||||
font: normal normal 14px Lato;
|
||||
line-height: 26px;
|
||||
letter-spacing: 0px;
|
||||
text-transform: none;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
|
||||
a { color: #E8839E}
|
||||
|
||||
a { text-decoration: none; color: #777777; }
|
||||
a:hover { color: #000000; }
|
||||
|
||||
.btn-primary { background: #FFF1F3; color: black; border-color:silver }
|
||||
.btn-primary:hover,.btn-primary.focus, .btn-primary:focus {
|
||||
color: #fff;
|
||||
background-color: #E8839E;
|
||||
border-color: #E8839E;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#sidebar {
|
||||
padding-top:20px;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.alert {
|
||||
margin-top:20px
|
||||
}
|
||||
|
||||
|
||||
/* Make posted content images responsive too */
|
||||
.bbcode-img { display: block; max-width: 100%; height: auto; }
|
||||
|
||||
/* Sign in Page */
|
||||
|
||||
.form-signin {
|
||||
max-width: 330px;
|
||||
padding: 15px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.form-signin .form-signin-heading,
|
||||
.form-signin .checkbox {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.form-signin .checkbox {
|
||||
font-weight: normal;
|
||||
}
|
||||
.form-signin .form-control {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.form-signin .form-control:focus {
|
||||
z-index: 2;
|
||||
}
|
||||
.form-signin input[type="text"] {
|
||||
margin-bottom: -1px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
.form-signin input[type="password"] {
|
||||
margin-bottom: 10px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Page Sections */
|
||||
.section,
|
||||
.section-colored {
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
.section-colored {
|
||||
background-color: #e1e1e1; /* change this to change the background color of a colored section */
|
||||
}
|
||||
|
||||
.img-home-portfolio, .img-customer, .portfolio-item {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/* CUSTOMIZE THE CAROUSEL
|
||||
-------------------------------------------------- */
|
||||
|
||||
/* Carousel base class */
|
||||
|
||||
.featurebox.carousel {
|
||||
min-height:460px;
|
||||
}
|
||||
/* Since positioning the image, we need to help out the caption */
|
||||
.carousel-caption {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Declare heights because of positioning of img element */
|
||||
.featurebox.carousel .item {
|
||||
min-height:460px;
|
||||
background-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right {
|
||||
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
img.featurebox { border-radius: 5px }
|
||||
|
||||
.xurl-social-icons a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
padding-left:15px;
|
||||
transition: opacity .5s ease-out;
|
||||
-moz-transition: opacity .5s ease-out;
|
||||
-webkit-transition: opacity .5s ease-out;
|
||||
-o-transition: opacity .5s ease-out;
|
||||
}
|
||||
|
||||
.xurl-social-icons a:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.btn-featurebox, .btn-cpage { margin-top:10px }
|
||||
|
||||
.tab-pane { padding-top:15px }
|
||||
|
||||
#login-template { max-width: 330px; margin-right: auto; margin-left: auto; }
|
||||
#login-template h2.caption { text-align:center; font-size:120%; opacity:0.8 }
|
||||
#login-template .logo { padding-top:50px; margin-left:auto; margin-right: auto }
|
||||
|
||||
.modal-lg { width: 70% }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#logo {
|
||||
padding: 60px 0;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
div#logo img {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
|
||||
.news-title, .news-title a {
|
||||
margin:0;
|
||||
font: 22px Montserrat;
|
||||
color: #343434;
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
-o-transition: .3s;
|
||||
-ms-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
-webkit-transition: .3s;
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.news-category a {
|
||||
color: #DCA714;
|
||||
font: 10px Lato;
|
||||
display: inline-block;
|
||||
margin-bottom:15px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.news-header {
|
||||
|
||||
text-align: center;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.news-header h2 a::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -19px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 12%;
|
||||
height: 2px;
|
||||
background-color: #343434;
|
||||
}
|
||||
|
||||
.news-description { margin-top: 30px; text-align:justify }
|
||||
.news-description p { text-align: center}
|
||||
|
||||
.navbar-nav {
|
||||
|
||||
font: 11px Open Sans;
|
||||
font-weight: 400;
|
||||
letter-spacing: 2px;
|
||||
color: #343434;
|
||||
line-height: 40px;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
-o-transition: .3s;
|
||||
-ms-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
-webkit-transition: .3s;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.navbar { background-color: #F8F8F8; }
|
||||
.navbar a { color: black }
|
||||
|
||||
a.more-link {
|
||||
margin-top: 30px;
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
display: inline-block;
|
||||
-o-transition: .3s;
|
||||
-ms-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
-webkit-transition: .3s;
|
||||
position: relative;
|
||||
height: 30px;
|
||||
letter-spacing: 2px;
|
||||
font-family: 'Lato', sans-serif;
|
||||
-o-transition: .3s;
|
||||
-ms-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
-webkit-transition: .3s;
|
||||
color: #DCA714;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.options {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
background-color: #F8F8F8;
|
||||
display: table;
|
||||
width: 100%;
|
||||
}
|
||||
/* CUSTOM Responsive Styles */
|
||||
|
||||
article.default-item { margin-bottom:100px }
|
||||
article.view-item { margin-bottom: 0 }
|
||||
|
||||
|
||||
a.social-share {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: inline-block;
|
||||
line-height: 27px;
|
||||
-o-transition: .3s;
|
||||
-ms-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
-webkit-transition: .3s;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
background-color: #343434;
|
||||
border-radius: 50%;
|
||||
margin: 3px;
|
||||
font-size: 13px;
|
||||
padding:2px 0 0 2px;
|
||||
border:0;
|
||||
}
|
||||
|
||||
.news-date a, .news-date-full a {
|
||||
color: #DCA714;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.news-date, .news-comments { padding-top: 5px; font-size: 12px; color: #AEAEAE; text-align: center; }
|
||||
|
||||
.news-date-full { padding-top:20px }
|
||||
|
||||
.menu h2 {
|
||||
font: 16px Raleway;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
line-height: 1.25;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
display: block;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
letter-spacing: 2px;
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
color: #343434;
|
||||
font-weight: 700;
|
||||
position: relative;
|
||||
padding: 14px 11px;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
img.img-rounded { border-radius: 0 }
|
||||
|
||||
.xurl-social-icons { padding:0; margin:0; font-size: 0.5em; margin-right:15px}
|
||||
a.social-share:hover { background-color: rgb(254, 152, 167); }
|
||||
|
||||
.navbar-toggle .icon-bar {
|
||||
background-color: silver;
|
||||
}
|
||||
|
||||
.nav > li > a:focus, .nav > li > a:hover {
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
color: black;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
.cpage-menu img { margin-bottom:15px }
|
||||
.cpage-menu.about p { margin:0 }
|
||||
.cpage-menu a.btn-cpage {border:initial; background:initial; padding:0; margin:0; color: #777777; }
|
||||
.cpage-menu a.btn-cpage:hover { color: black }
|
||||
|
||||
.menu { margin-bottom:40px }
|
||||
|
||||
|
||||
h2.caption {
|
||||
padding-bottom: 3px;
|
||||
display: inline-block;
|
||||
margin-top: 0;
|
||||
font-family: Raleway;
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
line-height: 1.25;
|
||||
letter-spacing: 3px;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
color: #222;
|
||||
margin-bottom: 20px;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.e-related h3 a {
|
||||
font-size: 14px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
color: #000;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
article.default-item ul { padding-left: 15px; display: inline-block; }
|
||||
.news-menu-latest h4 { font-size: 1.1em}
|
||||
|
||||
hr {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
|
||||
div.share-this-story { text-align:center }
|
||||
div.share-this-story small { margin-top:20px; display:block }
|
||||
div.share-this-story a.social-share { width:auto; border-radius:3px; background:inherit; padding: 2px 10px; color: #777777; border: 1px solid #ddd; box-shadow: 0 3px 0 rgba(0,0,0,0.05);}
|
||||
div.share-this-story a.social-share:after { content: attr(data-original-title); color: #777777; text-transform: uppercase; padding-left:4px; font: normal normal 12px Lato; }
|
||||
|
||||
.newscatlist-title { display: none }
|
||||
.navbar-nav li.active a { color: #DCA714 }
|
||||
|
||||
nav { text-align: center }
|
||||
|
||||
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
|
||||
z-index: 3;
|
||||
color: #fff;
|
||||
cursor: default;
|
||||
background-color: #DCA714;
|
||||
border-color: #DCA714;
|
||||
}
|
||||
|
||||
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
|
||||
z-index: 2;
|
||||
color: #DCA714;
|
||||
background-color: #eee;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.pagination > li > a, .pagination > li > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 6px 12px;
|
||||
margin-left: -1px;
|
||||
line-height: 1.42857143;
|
||||
color: #DCA714;
|
||||
text-decoration: none;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.xurl-social-icons a { color: #343434; font-size:1.5em; padding-left:15px; padding-top:5px; padding-bottom:0; margin:0; display:inline-block; }
|
||||
.xurl-social-icons a:hover { color:#777777;; }
|
||||
|
||||
.banner-menu-item { text-align:center }
|
||||
.banner-menu-item img { margin: 0 auto; }
|
||||
|
||||
|
||||
.footer-xurl .xurl-social-icons a { padding:5px; margin-right:20px;color: #666; font-family: "Open Sans", sans-serif; font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; opacity: 1;
|
||||
}
|
||||
.footer-xurl .xurl-social-icons a span { color: white; background-color: #666; border-radius:50%; font-size:14px; padding:15px 10px 9px 9px; width:28px; height:28px; line-height:0; opacity: 1;}
|
||||
.footer-xurl .xurl-social-icons a:after { content: attr(title); padding-left:8px;}
|
||||
.footer-xurl .xurl-social-icons a:hover span { background-color: black }
|
||||
.footer-xurl .xurl-social-icons a:hover { color: black }
|
||||
|
||||
footer { background-color: #F8F8F8; padding:50px 0; margin-top:50px }
|
||||
|
||||
|
||||
.tagcloud-menu span {
|
||||
font-size: 11px;
|
||||
line-height: normal;
|
||||
opacity: 1;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.tagcloud-menu a {
|
||||
color: #DCA714;
|
||||
float: left;
|
||||
border: 1px solid #eee;
|
||||
line-height: 100%;
|
||||
margin: 5px 5px 5px 0;
|
||||
padding: 8px 10px;
|
||||
text-transform: uppercase;
|
||||
transition: all .6s;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary.focus:active, .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: #DCA714;
|
||||
background-color: transparent;
|
||||
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #DCA714;
|
||||
border-color: #DCA714;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
div.comments-form-login { text-align: center }
|
||||
div.comments-form-login div { padding-bottom:10px }
|
||||
.comment-avatar img { border-radius: 50%; }
|
||||
.pager { margin-bottom: 40px; }
|
||||
img.news-image-1 { margin-bottom:15px }
|
||||
|
||||
#comments-container li { padding:20px 8px }
|
||||
#comments-container li:nth-child(even) { background-color: #F8F8F8; }
|
||||
|
||||
.signup-xup { width:64px; height:64px; margin:0 5px; padding:12px; }
|
||||
.signup-xup i { font-size: 3em; }
|
||||
|
||||
|
||||
#footer-social {
|
||||
background: #F8F8F8;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
padding: 40px 0;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
#footer-copyright { padding-top: 12px; padding-bottom:12px; font-family: "Open Sans", sans-serif; }
|
||||
|
||||
|
||||
.btn {
|
||||
|
||||
cursor: pointer;
|
||||
padding: 9px;
|
||||
font-size: 17px;
|
||||
font-family: Playfair Display;
|
||||
|
||||
outline: none;
|
||||
line-height: 23px;
|
||||
border-radius:0;
|
||||
}
|
||||
|
||||
.btn-primary { background-color: #0d0d0d; border: none; color: #fff; }
|
||||
|
||||
.navbar-nav.dropup li a.dropdown-toggle { padding-top:0; padding-bottom:0}
|
||||
|
||||
.othernews2-block a.btn { display: none; }
|
||||
.othernews2-block img { width:72px; }
|
||||
|
||||
|
||||
|
||||
/* Extra small devices Phones (<768px) .col-xs */
|
||||
@media all and (max-width: 767px) {
|
||||
|
||||
.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}
|
||||
#sidebar { padding-left: 15px; }
|
||||
.e-related div h3 a { margin-bottom: 50px; }
|
||||
.bbcode-img { width: 100%; }
|
||||
.footer-xurl { text-align: center }
|
||||
.news-date { text-align: center; margin-top: 10px; padding-bottom:10px }
|
||||
}
|
||||
|
||||
/* 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}
|
||||
|
||||
}
|
||||
|
||||
/* Large devices (large desktops, 1200px and up).col-lg */
|
||||
@media all and (min-width: 1200px) {
|
||||
|
||||
.news-images-main { padding-left: 0; padding-bottom:5px}
|
||||
}
|
||||
|
||||
|
53
e107_themes/voux/templates/menu_template.php
Normal file
@ -0,0 +1,53 @@
|
||||
<?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['2-column_1:1_text-left']['start'] = '{SETIMAGE: w=700&h=450}';
|
||||
$MENU_TEMPLATE['2-column_1:1_text-left']['body'] = '
|
||||
<div class="cpage-menu col-lg-6 col-md-6 col-sm-6"><h2>{CMENUICON}{CMENUTITLE}</h2>{CMENUBODY}<p>{CPAGEBUTTON}</p></div>
|
||||
<div class="cpage-menu col-lg-6 col-md-6 col-sm-6">{CMENUIMAGE}</div>
|
||||
';
|
||||
$MENU_TEMPLATE['2-column_1:1_text-left']['end'] = '';
|
||||
|
||||
|
||||
$MENU_TEMPLATE['2-column_1:1_text-right']['start'] = '{SETIMAGE: w=700&h=450}';
|
||||
$MENU_TEMPLATE['2-column_1:1_text-right']['body'] = '
|
||||
<div class="cpage-menu col-lg-6 col-md-6 col-sm-6">{CMENUIMAGE}</div>
|
||||
<div class="cpage-menu col-lg-6 col-md-6 col-sm-6"><h2>{CMENUICON}{CMENUTITLE}</h2>{CMENUBODY}<p>{CPAGEBUTTON}</p></div>
|
||||
';
|
||||
$MENU_TEMPLATE['2-column_1:1_text-right']['end'] = '';
|
||||
|
||||
|
||||
$MENU_TEMPLATE['2-column_2:1_text-left']['start'] = '';
|
||||
$MENU_TEMPLATE['2-column_2:1_text-left']['body'] = '
|
||||
<div class="cpage-menu col-lg-8 col-md-8"><h4>{CMENUICON}{CMENUTITLE}</h4>{CMENUBODY}</div>
|
||||
<div class="cpage-menu col-lg-4 col-md-4">
|
||||
<a class="btn btn-lg btn-primary pull-right" href="{CPAGEBUTTON=href}">'.LAN_READ_MORE.'</a>
|
||||
</div>
|
||||
';
|
||||
$MENU_TEMPLATE['2-column_2:1_text-left']['end'] = '';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
114
e107_themes/voux/templates/news/news_menu_template.php
Normal file
@ -0,0 +1,114 @@
|
||||
<?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} {NEWS_CATEGORY_NEWS_COUNT}</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} ({count})</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_TEMPLATE['latest']['start'] = '{SETIMAGE: w=80&h=80&crop=1}<ul class="news-menu-latest media-list">';
|
||||
$NEWS_MENU_TEMPLATE['latest']['item'] = '<li class="media">
|
||||
<div class="media-left">
|
||||
<a href="{NEWSURL}">
|
||||
<img class="media-object" src="{NEWSIMAGE: type=src}" alt="{NEWSTITLE: attribute=1}" width="80">
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading">{NEWSTITLELINK}</h4>
|
||||
<div><small class="text-muted">{NEWSDATE=short}</small></div>
|
||||
</div></li>
|
||||
';
|
||||
|
||||
$NEWS_MENU_TEMPLATE['latest']['end'] = '</ul>';
|
||||
|
||||
$NEWS_MENU_WRAPPER['latest']['NEWSCOMMENTCOUNT'] = "({---})";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Other News Menu.
|
||||
$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=400&h=200&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.' »</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." »</a></p>
|
||||
</div>
|
||||
</li>\n";
|
||||
|
||||
$NEWS_MENU_TEMPLATE['other2']['end'] = "</ul>";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//$NEWS_MENU_TEMPLATE['latest']['separator'] = '<br />'; // Shouldn't be needed.
|
257
e107_themes/voux/templates/news/news_template.php
Normal file
@ -0,0 +1,257 @@
|
||||
<?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_TEMPLATE['default']['item'] = '
|
||||
{SETIMAGE: w=850&h=1200}
|
||||
<article class="default-item">
|
||||
<div class="news-header">
|
||||
<span class="news-category">{NEWSCATEGORY}</span>
|
||||
<h2 class="news-title">{NEWSTITLELINK}</h2>
|
||||
</div>
|
||||
{NEWSIMAGE: item=1}
|
||||
<div class="news-description">
|
||||
{NEWSMETADIZ}
|
||||
<p><a class="more-link" href="{NEWSURL}">Continue Reading <i class="fa fa-long-arrow-right"></i></a></p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="options">
|
||||
<div class="col-md-4 text-left news-comments">{NEWSCOMMENTS}</div>
|
||||
<div class="col-md-4">{SOCIALSHARE: class=soci} </div>
|
||||
<div class="col-md-4 text-right news-date">{NEWSDATE=short} by {NEWSAUTHOR}</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
';
|
||||
|
||||
//{ADMINOPTIONS: class=btn btn-default}
|
||||
|
||||
|
||||
|
||||
|
||||
###### 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_TEMPLATE['view']['item'] = '
|
||||
{SETIMAGE: w=900&h=600}
|
||||
<div class="view-item">
|
||||
<h2 class="news-title">{NEWSTITLELINK}</h2>
|
||||
<p class="lead">{NEWSSUMMARY}</p>
|
||||
<hr class="news-heading-sep">
|
||||
<div class="row">
|
||||
<div class="col-md-6"><small>{GLYPH=user} {NEWSAUTHOR} {GLYPH=time} {NEWSDATE=short} </small></div>
|
||||
<div class="col-md-6 text-right options"><small>{GLYPH=tags} {NEWSTAGS} {GLYPH=folder-open} {NEWSCATEGORY} </small></div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
|
||||
<div class="body">
|
||||
{NEWSIMAGE: item=1}
|
||||
{NEWSBODY=body}
|
||||
<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">
|
||||
{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>
|
||||
|
||||
</div>
|
||||
{NEWSRELATED}
|
||||
<hr>
|
||||
{NEWSNAVLINK}
|
||||
';*/
|
||||
//$NEWS_MENU_TEMPLATE['view']['separator'] = '<br />';
|
||||
//$NEWS_WRAPPER['view']['item']['NEWSIMAGE: item=1'] = '<span class="news-images-main col-xs-12 col-md-12">{---}</span>';
|
||||
|
||||
$NEWS_TEMPLATE['view']['item'] = '
|
||||
{SETIMAGE: w=850&h=1200}
|
||||
<article class="view-item">
|
||||
<div class="news-header">
|
||||
<span class="news-category">{NEWSCATEGORY}</span>
|
||||
<h2 class="news-title">{NEWSTITLELINK}</h2>
|
||||
<div class="news-date-full">{NEWSDATE=long}</div>
|
||||
</div>
|
||||
{NEWSIMAGE: item=1} {NEWSBODY=body}
|
||||
<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">
|
||||
{NEWSBODY=extended}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<hr />
|
||||
<div class="share-this-story">
|
||||
<h2 class="caption">SHARE THIS STORY</h2>
|
||||
<div>
|
||||
{SOCIALSHARE: type=facebook-share,twitter&class=soci}
|
||||
<small>{GLYPH=tags} TAGS: {NEWSTAGS}</small>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{NEWSRELATED: limit=3}
|
||||
<hr>
|
||||
{NEWSNAVLINK}
|
||||
';
|
||||
|
||||
|
||||
|
||||
###### 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} {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">•
|
||||
</td>
|
||||
<td style="text-align:left;vertical-align:top;padding-left:3px">
|
||||
{NEWSTITLELINK}
|
||||
<br />
|
||||
</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
';
|
||||
|
||||
|
||||
|
||||
$NEWS_TEMPLATE['related']['start'] = '{SETIMAGE: w=350&h=350&crop=1}<h2 class="caption">YOU MIGHT ALSO LIKE</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>';
|
922
e107_themes/voux/theme.php
Normal file
@ -0,0 +1,922 @@
|
||||
<?php
|
||||
/**
|
||||
* Voux Blog Theme for e107 v2.x
|
||||
* @see : http://voux-with-out-slider-themexpose.blogspot.in/
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
define("BOOTSTRAP", 3);
|
||||
define("FONTAWESOME", 4);
|
||||
define('VIEWPORT', "width=device-width, initial-scale=1.0");
|
||||
|
||||
|
||||
//
|
||||
|
||||
/* @see https://www.cdnperf.com */
|
||||
// Warning: Some bootstrap CDNs are not compiled with popup.js
|
||||
// use https if e107 is using https.
|
||||
|
||||
e107::js("url", "https://cdn.jsdelivr.net/bootstrap/3.3.6/js/bootstrap.min.js", 'jquery', 2);
|
||||
e107::css('url', 'https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css');
|
||||
e107::css('url', 'https://cdn.jsdelivr.net/fontawesome/4.5.0/css/font-awesome.min.css');
|
||||
e107::css('url', 'http://fonts.googleapis.com/css?family=Bad+Script|Raleway:400,500,600,700,300|Lora:400');
|
||||
// e107::css('theme','voux.css');
|
||||
e107::css('url', 'http://fonts.googleapis.com/css?family=Montserrat:400,700&ver=4.2.4');
|
||||
e107::css('url', 'http://fonts.googleapis.com/css?family=Domine:400,700&ver=4.2.4');
|
||||
e107::css('url', 'http://fonts.googleapis.com/css?family=Lato:300,400,700,400italic&ver=4.2.4');
|
||||
e107::css('url', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300&subset=latin,cyrillic-ext&ver=3.9.2');
|
||||
|
||||
/* @example prefetch */
|
||||
//e107::link(array('rel'=>'prefetch', 'href'=>THEME.'images/browsers.png'));
|
||||
|
||||
// http://voux-with-out-slider-themexpose.blogspot.in/
|
||||
|
||||
// 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', 'Comments ');
|
||||
define('COMMENTOFFSTRING', 'Comments disabled');
|
||||
|
||||
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($style == 'navdoc' || $style == 'none')
|
||||
{
|
||||
echo $text;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
if($id == 'wm') // Example - If rendered from 'welcome message'
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if($id == 'featurebox') // Example - If rendered from 'featurebox'
|
||||
{
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
if($style == 'jumbotron')
|
||||
{
|
||||
echo '<div class="jumbotron">
|
||||
<div class="container">';
|
||||
if(!empty($caption))
|
||||
{
|
||||
echo '<h1>'.$caption.'</h1>';
|
||||
}
|
||||
echo '
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>';
|
||||
return;
|
||||
}
|
||||
|
||||
if($style == 'col-md-3' || $style == 'col-md-4' || $style == 'col-md-6' || $style == 'col-md-8' || $style == 'col-md-9')
|
||||
{
|
||||
echo ' <div class="col-xs-12 '.$style.'">';
|
||||
|
||||
if(!empty($caption))
|
||||
{
|
||||
echo '<h2>'.$caption.'</h2>';
|
||||
}
|
||||
|
||||
echo '
|
||||
'.$text.'
|
||||
</div>';
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
if($style == 'menu')
|
||||
{
|
||||
echo '<div class="menu">
|
||||
<h2 class="title">'.$caption.'</h2>
|
||||
<div class="content">
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>';
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
if($style == 'portfolio')
|
||||
{
|
||||
echo '
|
||||
<div class="col-lg-4 col-md-4 col-sm-6">
|
||||
'.$text.'
|
||||
</div>';
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// default.
|
||||
|
||||
if(!empty($caption))
|
||||
{
|
||||
echo '<h2 class="caption">'.$caption.'</h2>';
|
||||
}
|
||||
|
||||
echo $text;
|
||||
|
||||
|
||||
|
||||
return;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// applied before every layout.
|
||||
$LAYOUT['_header_'] = '
|
||||
<div class="navbar navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
<div class="navbar-collapse collapse {BOOTSTRAP_NAV_ALIGN}">
|
||||
{NAVIGATION=main}
|
||||
{BOOTSTRAP_USERNAV: placement=top}
|
||||
<div class="nav navbar-nav navbar-right">
|
||||
{XURL_ICONS: size=2x&tip=0}
|
||||
</div>
|
||||
</div><!--/.navbar-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div id="logo">
|
||||
<h1>
|
||||
<a href="{SITEURL}">{SITELOGO: w=300}</a>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
';
|
||||
|
||||
// applied after every layout.
|
||||
$LAYOUT['_footer_'] = '
|
||||
</div> <!-- /container -->
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{SETSTYLE=menu}
|
||||
<div class="col-lg-4">
|
||||
{MENU=100}
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
{MENU=101}
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
{MENU=102}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{SETSTYLE=default}
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div>
|
||||
<div class="col-lg-6">
|
||||
{MENU=110}
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
{MENU=111}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{MENU=112}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-8">
|
||||
{MENU=113}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-12">
|
||||
{MENU=114}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-12">
|
||||
{MENU=115}
|
||||
{NAVIGATION=footer}
|
||||
{MENU=116}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer-social">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center footer-xurl">
|
||||
{XURL_ICONS: size=2x&tip=0}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer-copyright" class="container">
|
||||
<div class="row">
|
||||
<div id="sitedisclaimer" class="col-lg-8">
|
||||
<small>{SITEDISCLAIMER}</small>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
{BOOTSTRAP_USERNAV: placement=bottom&dir=up}
|
||||
|
||||
</div>
|
||||
|
||||
</div> <!-- /row -->
|
||||
<div class="text-center text-muted">
|
||||
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
</footer>
|
||||
';
|
||||
|
||||
// e107 Theme based on "Voux" by <a href="http://www.themexpose.com/">ThemeXpose</a> which is realeased under the terms of the GNU General Public license.</small>
|
||||
|
||||
// $LAYOUT is a combined $HEADER and $FOOTER, automatically split at the point of "{---}"
|
||||
|
||||
$LAYOUT['jumbotron_home'] = <<<TMPL
|
||||
<!-- Main jumbotron for a primary marketing message or call to action -->
|
||||
|
||||
<div class="container">
|
||||
{ALERTS}
|
||||
</div>
|
||||
|
||||
{SETSTYLE=jumbotron}
|
||||
|
||||
{WMESSAGE=force}
|
||||
|
||||
{SETSTYLE=default}
|
||||
<div class="container">
|
||||
|
||||
{MENU=1}
|
||||
|
||||
{---}
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
<!-- Example row of columns -->
|
||||
<div class="row">
|
||||
{SETSTYLE=col-md-4}
|
||||
{MENU=2}
|
||||
{MENU=3}
|
||||
{MENU=4}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{SETSTYLE=col-md-4}
|
||||
{MENU=5}
|
||||
{MENU=6}
|
||||
{MENU=7}
|
||||
</div>
|
||||
{SETSTYLE=default}
|
||||
<div class="row" >
|
||||
<div>
|
||||
<div class="col-lg-6">
|
||||
{MENU=8}
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
{MENU=9}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{MENU=10}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-8">
|
||||
{MENU=11}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="col-sm-12 col-lg-8">
|
||||
{MENU=12}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{MENU=13}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div >
|
||||
<div class="col-lg-12">
|
||||
{MENU=14}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
TMPL;
|
||||
|
||||
//TODO Add {GALLERY_PORTFOLIO} to portfolio_menu.php
|
||||
$LAYOUT['modern_business_home'] = <<<TMPL
|
||||
|
||||
|
||||
<!-- Main jumbotron for a primary marketing message or call to action -->
|
||||
{SETSTYLE=none}
|
||||
|
||||
{FEATUREBOX}
|
||||
|
||||
<div class="container">
|
||||
{ALERTS}
|
||||
<!-- Start Menu 1 -->
|
||||
{MENU=1}
|
||||
<!-- End Menu 1 -->
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="container">
|
||||
<!-- Example row of columns -->
|
||||
<div class="row">
|
||||
{SETSTYLE=col-md-4}
|
||||
{CMENU=jumbotron-menu-1}
|
||||
{CMENU=jumbotron-menu-2}
|
||||
{CMENU=jumbotron-menu-3}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{SETSTYLE=default}
|
||||
|
||||
<div class="section-colored text-center">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
{WMESSAGE}
|
||||
<hr>
|
||||
</div>
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
|
||||
</div><!-- /.section-colored -->
|
||||
|
||||
|
||||
|
||||
<div class="section">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h2>Display Some Work on the Home Page Portfolio</h2>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
{SETSTYLE=portfolio}
|
||||
{SETIMAGE: w=700&h=500&crop=1}
|
||||
{GALLERY_PORTFOLIO: placeholder=1&limit=6}
|
||||
|
||||
</div><!-- /.row -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
</div><!-- /.section -->
|
||||
|
||||
|
||||
|
||||
{SETSTYLE=none}
|
||||
|
||||
<div class="section-colored">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
|
||||
{CMENU=feature-menu-1}
|
||||
|
||||
</div>
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
</div><!-- /.section-colored -->
|
||||
|
||||
|
||||
|
||||
<div class="section">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
|
||||
{CMENU=feature-menu-2}
|
||||
|
||||
</div>
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
</div><!-- /.section -->
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row well">
|
||||
|
||||
{CMENU=feature-menu-3}
|
||||
|
||||
</div><!-- /.row -->
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
{---}
|
||||
|
||||
|
||||
|
||||
TMPL;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$LAYOUT['jumbotron_full'] = '
|
||||
|
||||
{SETSTYLE=default}
|
||||
<div class="container">
|
||||
{ALERTS}
|
||||
{MENU=1}
|
||||
{---}
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
|
||||
|
||||
|
||||
';
|
||||
|
||||
|
||||
|
||||
$LAYOUT['jumbotron_sidebar_right'] = '
|
||||
|
||||
{SETSTYLE=default}
|
||||
<div class="container">
|
||||
{ALERTS}
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-8">
|
||||
|
||||
{---}
|
||||
|
||||
</div>
|
||||
<div id="sidebar" class="col-xs-12 col-md-4">
|
||||
{SETSTYLE=menu}
|
||||
{SETIMAGE: w=400}
|
||||
{MENU=1}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
{SETSTYLE=default}
|
||||
<div class="row" >
|
||||
<div>
|
||||
<div class="col-lg-6">
|
||||
{MENU=2}
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
{MENU=3}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{MENU=4}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-8">
|
||||
{MENU=5}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="col-sm-12 col-lg-8">
|
||||
{MENU=6}
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{MENU=7}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div >
|
||||
<div class="col-lg-12">
|
||||
{MENU=8}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* XXX EVERYTHING BELOW THIS POINT IS UNUSED FOR NOW */
|
||||
|
||||
|
||||
|
||||
|
||||
$HEADER['default'] = '
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<a class="brand" href="'.SITEURL.'">{SITENAME}</a>
|
||||
<div class="nav-collapse collapse">
|
||||
{NAVIGATION=main}
|
||||
<div class="pull-right">{BOOTSTRAP_USERNAV}</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
{NAVIGATION|s=side}
|
||||
{SETSTYLE=menu}
|
||||
{MENU=1}
|
||||
</div><!--/span-->
|
||||
<div class="span9">
|
||||
{SETSTYLE=default}
|
||||
{WMESSAGE}
|
||||
';
|
||||
|
||||
|
||||
|
||||
$FOOTER['default'] = '
|
||||
{SETSTYLE=span4}
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<hr>
|
||||
|
||||
<footer class="center">
|
||||
{SITEDISCLAIMER}
|
||||
</footer>
|
||||
|
||||
</div><!--/.fluid-container-->';
|
||||
|
||||
|
||||
$HEADER['default-home'] = $HEADER['default'];
|
||||
|
||||
|
||||
$FOOTER['default-home'] = '
|
||||
|
||||
{SETSTYLE=span4}
|
||||
|
||||
<div class="row-fluid">
|
||||
{MENU=2}
|
||||
</div><!--/row-->
|
||||
<div class="row-fluid">
|
||||
{MENU=3}
|
||||
</div><!--/row-->
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<hr>
|
||||
|
||||
<footer class="center">
|
||||
{SITEDISCLAIMER}
|
||||
</footer>
|
||||
|
||||
</div><!--/.fluid-container-->';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// HERO http://twitter.github.com/bootstrap/examples/hero.html
|
||||
//FIXME insert shortcodes while maintaining only bootstrap classes.
|
||||
|
||||
$HEADER['hero'] = '
|
||||
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<a class="brand" href="#">Project name</a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">Action</a></li>
|
||||
<li><a href="#">Another action</a></li>
|
||||
<li><a href="#">Something else here</a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="nav-header">Nav header</li>
|
||||
<li><a href="#">Separated link</a></li>
|
||||
<li><a href="#">One more separated link</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<form class="navbar-form pull-right">
|
||||
<input class="span2" type="text" placeholder="Email">
|
||||
<input class="span2" type="password" placeholder="Password">
|
||||
<button type="submit" class="btn">Sign in</button>
|
||||
</form>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<!-- Main hero unit for a primary marketing message or call to action -->
|
||||
<div class="hero-unit">';
|
||||
|
||||
/*
|
||||
<h1>Hello, world!</h1>
|
||||
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
||||
<p><a class="btn btn-primary btn-large">Learn more »</a></p>
|
||||
*/
|
||||
|
||||
|
||||
//FIXME insert shortcodes while maintaining classes.
|
||||
$FOOTER['hero'] = '
|
||||
</div>
|
||||
|
||||
<!-- Example row of columns -->
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<h2>Heading</h2>
|
||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||
<p><a class="btn" href="#">View details »</a></p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<h2>Heading</h2>
|
||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||
<p><a class="btn" href="#">View details »</a></p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<h2>Heading</h2>
|
||||
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
||||
<p><a class="btn" href="#">View details »</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<footer>
|
||||
<p>© Company 2012</p>
|
||||
</footer>
|
||||
|
||||
</div> <!-- /container -->';
|
||||
|
||||
|
||||
// Marketing Narrow - http://twitter.github.com/bootstrap/examples/marketing-narrow.html
|
||||
//FIXME insert shortcodes while maintaing classes.
|
||||
|
||||
$HEADER['marketing-narrow'] = '
|
||||
<div class="container-narrow">
|
||||
|
||||
<div class="masthead">
|
||||
<ul class="nav nav-pills pull-right">
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#">About</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
<h3 class="muted">Project name</h3>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="jumbotron">
|
||||
<h1>Super awesome marketing speak!</h1>
|
||||
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
||||
<a class="btn btn-large btn-success" href="#">Sign up today</a>
|
||||
';
|
||||
|
||||
|
||||
//FIXME insert shortcodes while maintaing classes.
|
||||
|
||||
$FOOTER['marketing-narrow'] = '
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="row-fluid marketing">
|
||||
<div class="span6">
|
||||
<h4>Subheading</h4>
|
||||
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
|
||||
|
||||
<h4>Subheading</h4>
|
||||
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
|
||||
|
||||
<h4>Subheading</h4>
|
||||
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
||||
</div>
|
||||
|
||||
<div class="span6">
|
||||
<h4>Subheading</h4>
|
||||
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
|
||||
|
||||
<h4>Subheading</h4>
|
||||
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
|
||||
|
||||
<h4>Subheading</h4>
|
||||
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="footer">
|
||||
<p>© Company 2012</p>
|
||||
</div>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
$CUSTOMHEADER, CUSTOMFOOTER and $CUSTOMPAGES are deprecated.
|
||||
Default custom-pages can be assigned in theme.xml
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
$HEADER['docs'] = <<<TMPL
|
||||
|
||||
<!-- Navbar
|
||||
================================================== -->
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="brand" href="./index.html">Bootstrap</a>
|
||||
<div class="nav-collapse collapse">
|
||||
{NAVIGATION=main}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Subhead
|
||||
================================================== -->
|
||||
<header class="jumbotron subhead" id="overview">
|
||||
<div class="container">
|
||||
<h1>{PAGE_CHAPTER_NAME}</h1>
|
||||
<p class="lead">{PAGE_CHAPTER_DESCRIPTION}</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<!-- Docs nav
|
||||
================================================== -->
|
||||
<div class="row">
|
||||
|
||||
<div class="span3 bs-docs-sidebar">
|
||||
{SETSTYLE=navdoc}
|
||||
{PAGE_NAVIGATION: template=navdocs&auto=1}
|
||||
</div>
|
||||
{SETSTYLE=doc}
|
||||
|
||||
<div class="span9">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
TMPL;
|
||||
|
||||
|
||||
$FOOTER['docs'] = <<<TMPL
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer
|
||||
================================================== -->
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<p>{SITEDISCLAIMER}</p>
|
||||
<!--
|
||||
<ul class="footer-links">
|
||||
<li><a href="http://blog.getbootstrap.com">Blog</a></li>
|
||||
<li class="muted">·</li>
|
||||
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
|
||||
<li class="muted">·</li>
|
||||
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
|
||||
</ul>
|
||||
-->
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
|
||||
TMPL;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$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'>• </td>
|
||||
<td style='text-align:left;height:10px'>
|
||||
{NEWSTITLELINK}
|
||||
</td></tr></table></div>
|
||||
";
|
||||
|
||||
?>
|
43
e107_themes/voux/theme.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e107Theme name="The Voux" version="1.0" date="2016-05-30" compatibility="2.0">
|
||||
<author name ="e107 Inc" email="e107inc@something.com" url="http://e107.org" />
|
||||
<summary>Simple modern blog theme.</summary>
|
||||
<description>Based on the blogger theme by ThemeExpose</description>
|
||||
<category>blog</category>
|
||||
<plugins>
|
||||
<plugin name='rss_menu' url='core' />
|
||||
<plugin name='social' url='core' />
|
||||
</plugins>
|
||||
<keywords>
|
||||
<word>bootstrap</word>
|
||||
<word>blog</word>
|
||||
<word>responsive</word>
|
||||
</keywords>
|
||||
<screenshots>
|
||||
<image>preview.png</image>
|
||||
<image>preview_full.png</image>
|
||||
</screenshots>
|
||||
<stylesheets>
|
||||
<css file="style.css" name="Default" />
|
||||
<css file="*" name="*" />
|
||||
</stylesheets>
|
||||
<layouts>
|
||||
<layout name='jumbotron_home' title='Jumbotron (home)' default='false' />
|
||||
<layout name='modern_business_home' title='Modern Business: Home page carousel with fixed custom-menus' />
|
||||
<layout name='jumbotron_full' title='Jumbotron (full-width)' >
|
||||
<custompages>forum</custompages>
|
||||
</layout>
|
||||
<layout name='jumbotron_sidebar_right' title='Jumbotron (sidebar-right)' default='true' >
|
||||
<custompages>/news</custompages>
|
||||
<menuPresets>
|
||||
<area id='1'>
|
||||
<menu name='search' />
|
||||
<menu name='news_categories' />
|
||||
<menu name='other_news' />
|
||||
<menu name='other_news2' />
|
||||
<menu name='blogcalendar' />
|
||||
</area>
|
||||
</menuPresets>
|
||||
</layout>
|
||||
</layouts>
|
||||
</e107Theme>
|
221
e107_themes/voux/theme_shortcodes.php
Normal file
@ -0,0 +1,221 @@
|
||||
<?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
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
function sc_bootstrap_branding()
|
||||
{
|
||||
$pref = e107::pref('theme', 'branding');
|
||||
|
||||
switch($pref)
|
||||
{
|
||||
case 'logo':
|
||||
|
||||
return e107::getParser()->parseTemplate('{SITELOGO: h=30}',true);
|
||||
|
||||
break;
|
||||
|
||||
case 'sitenamelogo':
|
||||
|
||||
return "<span class='pull-left'>".e107::getParser()->parseTemplate('{SITELOGO: h=30}',true)."</span>".SITENAME;
|
||||
|
||||
break;
|
||||
|
||||
case 'sitename':
|
||||
default:
|
||||
|
||||
return SITENAME;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function sc_bootstrap_nav_align()
|
||||
{
|
||||
$pref = e107::pref('theme', 'nav_alignment');
|
||||
|
||||
if($pref == 'right')
|
||||
{
|
||||
return "navbar-right";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function sc_bootstrap_usernav($parm='')
|
||||
{
|
||||
|
||||
$placement = e107::pref('theme', 'usernav_placement', 'bottom');
|
||||
|
||||
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-sm btn-block">'.LAN_LOGINMENU_4.'</a>
|
||||
<a href="{LM_RESEND_LINK=href}" class="btn btn-default 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} {USER_AVATAR: shape=circle} '. USERNAME.' <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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|