_blank theme cleanup
0
e107_themes/_blank/blank.sc
Normal file
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 417 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 417 B |
Before Width: | Height: | Size: 1017 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,120 +0,0 @@
|
||||
#nav, #nav ul { /* all lists */
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
list-style: none;
|
||||
line-height: 38px;
|
||||
padding: 0px 0px;
|
||||
}
|
||||
|
||||
|
||||
#nav a {
|
||||
padding: 0px 10px 0px 10px;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #13394E;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
|
||||
#nav a:hover {
|
||||
/* background-position: 0 -44px; */
|
||||
color: #CB0000;
|
||||
}
|
||||
|
||||
#nav li.sub a:hover,
|
||||
#nav li.sub.sfhover a,
|
||||
#nav li.sub:hover a {
|
||||
|
||||
/* background-position: 0 -88px; */
|
||||
}
|
||||
|
||||
#nav li { /* all list items */
|
||||
float: left;
|
||||
line-height: 36px;
|
||||
/* width: 158px; width needed or else Opera goes nuts */
|
||||
}
|
||||
ul.sub {border-top: 1px solid #DDDDDD;}
|
||||
|
||||
#nav li ul { /* second-level lists */
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
width: 200px;
|
||||
/*white-space: nowrap;*/
|
||||
left: -9999px; /* using left instead of display to hide menus because display: none isn't read by screen readers */
|
||||
}
|
||||
|
||||
#nav li li a,
|
||||
#nav li:hover li a,
|
||||
#nav li.sfhover li a {
|
||||
text-align: left;
|
||||
background-image: none;
|
||||
background-color: #FFFFFF;
|
||||
line-height: 28px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
padding-left: 10px;
|
||||
padding-right: 0px;
|
||||
border-left: 1px solid #DDDDDD;
|
||||
border-right: 1px solid #DDDDDD;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
width: 198px;
|
||||
w\idth : 188px;
|
||||
text-transform: none;
|
||||
color: #13394E;
|
||||
/*white-space: nowrap;*/
|
||||
}
|
||||
|
||||
#nav .menuButton img { padding: 10px 0px; margin-right: 10px; }
|
||||
|
||||
#nav .menuItem img { padding: 6px 0px; margin-right: 10px; }
|
||||
#nav li li a.sub,
|
||||
#nav li:hover li a.sub,
|
||||
#nav li.sfhover li a.sub {
|
||||
background-image: url(../images/links_sub.gif) !important ; background-repeat: no-repeat; background-position:95% 50%;
|
||||
}
|
||||
#nav li li a.sub:hover,
|
||||
#nav li:hover li a.sub:hover,
|
||||
#nav li.sfhover li a.sub:hover {
|
||||
/*background-image: url(../images/link_sub_over.png) !important ; background-repeat: no-repeat; background-position: 100% 50%;*/
|
||||
}
|
||||
|
||||
|
||||
#nav li li a:hover{
|
||||
background-color: #f6f6f6;
|
||||
color: #990000
|
||||
}
|
||||
|
||||
|
||||
|
||||
#nav li ul ul { /* third-and-above-level lists */
|
||||
margin: -25px 0 0 120px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#nav li:hover ul ul,
|
||||
#nav li:hover ul ul ul,
|
||||
#nav li:hover ul ul ul ul,
|
||||
#nav li:hover ul ul ul ul ul,
|
||||
#nav li.sfhover ul ul,
|
||||
#nav li.sfhover ul ul ul,
|
||||
#nav li.sfhover ul ul ul ul,
|
||||
#nav li.sfhover ul ul ul ul ul {
|
||||
left: -999em;
|
||||
}
|
||||
|
||||
#nav li:hover ul,
|
||||
#nav li li:hover ul,
|
||||
#nav li li li:hover ul,
|
||||
#nav li li li li:hover ul,
|
||||
#nav li li li li li:hover ul,
|
||||
#nav li.sfhover ul,
|
||||
#nav li li.sfhover ul,
|
||||
#nav li li li.sfhover ul,
|
||||
#nav li li li li.sfhover ul,
|
||||
#nav li li li li li.sfhover ul { /* lists nested under hovered list items */
|
||||
left: auto;
|
||||
}
|
@@ -1,16 +0,0 @@
|
||||
sfHover = function() {
|
||||
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
|
||||
for (var i=0; i<sfEls.length; i++) {
|
||||
sfEls[i].onmouseover=function() {
|
||||
if(this.className != 'fs-linkSep')
|
||||
this.className+=" sfhover";
|
||||
}
|
||||
sfEls[i].onmouseout=function() {
|
||||
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (window.attachEvent) window.attachEvent("onload", sfHover);
|
||||
|
||||
|
||||
|
@@ -1,124 +0,0 @@
|
||||
#nav, #nav ul { /* all lists */
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
list-style: none;
|
||||
line-height: 38px;
|
||||
padding: 0px 0px;
|
||||
}
|
||||
|
||||
|
||||
#nav a {
|
||||
padding: 0px 10px 0px 10px;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #13394E;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
|
||||
#nav a:hover {
|
||||
/* background-position: 0 -44px; */
|
||||
color: #CB0000;
|
||||
}
|
||||
|
||||
#nav li.sub a:hover,
|
||||
#nav li.sub.sfhover a,
|
||||
#nav li.sub:hover a {
|
||||
|
||||
/* background-position: 0 -88px; */
|
||||
}
|
||||
|
||||
#nav li { /* all list items */
|
||||
float: right; /* rtl */
|
||||
line-height: 36px;
|
||||
/* width: 158px; width needed or else Opera goes nuts */
|
||||
}
|
||||
ul.sub {border-top: 1px solid #DDDDDD;}
|
||||
|
||||
#nav li ul { /* second-level lists */
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
width: 200px;
|
||||
/*white-space: nowrap;*/
|
||||
left: -9999px; /* using left instead of display to hide menus because display: none isn't read by screen readers */
|
||||
}
|
||||
|
||||
#nav li li a,
|
||||
#nav li:hover li a,
|
||||
#nav li.sfhover li a {
|
||||
text-align: right; /* rtl */
|
||||
background-image: none;
|
||||
background-color: #FFFFFF;
|
||||
line-height: 28px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
padding-left: 0px; /* rtl */
|
||||
padding-right: 10px; /* rtl */
|
||||
border-left: 1px solid #DDDDDD;
|
||||
border-right: 1px solid #DDDDDD;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
width: 198px;
|
||||
w\idth : 188px;
|
||||
text-transform: none;
|
||||
color: #13394E;
|
||||
/*white-space: nowrap;*/
|
||||
}
|
||||
|
||||
#nav .menuButton img { padding: 10px 0px;
|
||||
margin-left: 10px; /* rtl */
|
||||
}
|
||||
|
||||
#nav .menuItem img { padding: 6px 0px;
|
||||
margin-left: 10px; /* rtl */
|
||||
}
|
||||
#nav li li a.sub,
|
||||
#nav li:hover li a.sub,
|
||||
#nav li.sfhover li a.sub {
|
||||
background-image: url(../images/links_sub_rtl.gif) !important ; background-repeat: no-repeat; background-position:05% 50%;
|
||||
}
|
||||
#nav li li a.sub:hover,
|
||||
#nav li:hover li a.sub:hover,
|
||||
#nav li.sfhover li a.sub:hover {
|
||||
/*background-image: url(../images/link_sub_over.png) !important ; background-repeat: no-repeat; background-position: 100% 50%;*/
|
||||
}
|
||||
|
||||
|
||||
#nav li li a:hover{
|
||||
background-color: #f6f6f6;
|
||||
color: #990000
|
||||
}
|
||||
|
||||
|
||||
|
||||
#nav li ul ul { /* third-and-above-level lists */
|
||||
margin: -25px 120px 0 0; /* rtl */
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#nav li:hover ul ul,
|
||||
#nav li:hover ul ul ul,
|
||||
#nav li:hover ul ul ul ul,
|
||||
#nav li:hover ul ul ul ul ul,
|
||||
#nav li.sfhover ul ul,
|
||||
#nav li.sfhover ul ul ul,
|
||||
#nav li.sfhover ul ul ul ul,
|
||||
#nav li.sfhover ul ul ul ul ul {
|
||||
left: -999em;
|
||||
}
|
||||
|
||||
#nav li:hover ul,
|
||||
#nav li li:hover ul,
|
||||
#nav li li li:hover ul,
|
||||
#nav li li li li:hover ul,
|
||||
#nav li li li li li:hover ul,
|
||||
#nav li.sfhover ul,
|
||||
#nav li li.sfhover ul,
|
||||
#nav li li li.sfhover ul,
|
||||
#nav li li li li.sfhover ul,
|
||||
#nav li li li li li.sfhover ul { /* lists nested under hovered list items */
|
||||
left: auto;
|
||||
}
|
@@ -1,213 +0,0 @@
|
||||
/* TODO: move this info in theme.xml alternateStyleSheet */
|
||||
|
||||
/* E107 CORE CSS *********************************************************************************************/
|
||||
.searchhighlight{text-decoration: underline; color:#FF0000; font-weight:bold; }
|
||||
|
||||
/*
|
||||
* e107 v0.800 - new class definitions
|
||||
*/
|
||||
|
||||
/* Core Formatting */
|
||||
.left { text-align: left }
|
||||
.right { text-align: right }
|
||||
.center { text-align: center }
|
||||
.f-left { float: left }
|
||||
.f-right { float: right }
|
||||
.top { vertical-align: top }
|
||||
.middle { vertical-align: middle }
|
||||
.bottom { vertical-align: bottom }
|
||||
.clear { clear: both }
|
||||
.clear-l { clear: right }
|
||||
.clear-r { clear: left }
|
||||
.smalltext { font-size: 11px; }
|
||||
.nowrap { white-space:nowrap; }
|
||||
|
||||
/* Core Icons */
|
||||
img.icon { vertical-align: middle; border: 0 }
|
||||
img.icon.list { margin: 0px 5px 5px 0px }
|
||||
img.icon.action { }
|
||||
img.S16 { width: 16px; height: 16px }
|
||||
img.S32 { width: 32px; height: 32px }
|
||||
img.S64 { width: 64px; height: 64px }
|
||||
img.S128 { width: 128px; height: 128px }
|
||||
/*******************************************************************************************************************/
|
||||
|
||||
/* RESET CSS *********************************************************************************************/
|
||||
/* Global */
|
||||
* { margin:0; padding:0; }
|
||||
body { font:12px/1.5em Arial, Helvetica, sans-serif; }
|
||||
img { border:0; vertical-align:top; }
|
||||
a { text-decoration:underline; color: #13394E; }
|
||||
a:hover { text-decoration:underline; color: #CB0000; }
|
||||
a img { border:0; }
|
||||
:focus { outline:0; }
|
||||
|
||||
/* Headings */
|
||||
h1 { font-size:20px; font-weight:normal; line-height:1.3; }
|
||||
h2 { font-size:18px; font-weight:normal; line-height:1.34; }
|
||||
h3 { font-size:16px; font-weight:bold; line-height:1.375; }
|
||||
h4 { font-size:14px; font-weight:bold; }
|
||||
h5 { font-size:12px; font-weight:bold; }
|
||||
h6 { font-size:11px; font-weight:bold; }
|
||||
|
||||
/* Forms */
|
||||
form { display:inline; }
|
||||
fieldset { border: 0; margin-bottom: 10px; }
|
||||
input, select{ vertical-align:middle; }
|
||||
textarea { overflow:auto; }
|
||||
|
||||
/* Table */
|
||||
table { border:0; border-spacing:0; empty-cells:show; font-size:100%; width: 100%; }
|
||||
th { vertical-align:top; text-align:left; font-weight:normal; }
|
||||
td { vertical-align:top; }
|
||||
|
||||
/* Content */
|
||||
address { font-style:normal; }
|
||||
cite { font-style:normal; }
|
||||
q,
|
||||
blockquote { quotes:none; }
|
||||
q:before,
|
||||
q:after { content:''; }
|
||||
small,big { font-size:1em; }
|
||||
sup { font-size:1em; vertical-align:top; }
|
||||
|
||||
/* Lists */
|
||||
ul,ol { list-style:none; }
|
||||
|
||||
/* Tools */
|
||||
/*.no-display { display:none; }*/
|
||||
.no-margin { margin:0 !important; }
|
||||
.no-padding { padding:0 !important; }
|
||||
.no-bg { background:none !important; }
|
||||
.clear { clear: both; }
|
||||
|
||||
pre {
|
||||
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
/* width: 99%; */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
/********** Page Loading Status default style */
|
||||
#loading-mask { color: #556B2F; font-size: 1.2em; font-weight:bold; position:absolute; text-align: center; padding: 0; margin: 0; background-color: transparent; }
|
||||
#loading-mask .loader { position: fixed; top: 40%; left: 50%; width: 200px; text-align: center; background: #F0F9E3 none repeat scroll 0 0; border: 2px solid #556B2F; font-weight: bold; padding: 10px 5px; margin-left: -100px; margin-top: 0; }
|
||||
#loading-mask img { margin: 10px auto; }
|
||||
|
||||
/********** Element Loading Status default style */
|
||||
.element-loading-mask { background-repeat: no-repeat; background-position: 50% 50%; background-color: #f5f5f5; }
|
||||
|
||||
/********** Auto complete default style */
|
||||
div.e-autocomplete {
|
||||
position:absolute;
|
||||
width:250px;
|
||||
background-color:white;
|
||||
border:1px solid #c0c0c0;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
div.e-autocomplete ul {
|
||||
list-style-type:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
font-weight: bold; font-size: 11px
|
||||
}
|
||||
div.e-autocomplete ul li.selected { background-color: #f5f5f5;}
|
||||
div.e-autocomplete ul li {
|
||||
list-style-type:none;
|
||||
display:block;
|
||||
margin:0;
|
||||
padding: 5px;
|
||||
cursor:pointer;
|
||||
|
||||
}
|
||||
div.e-autocomplete ul li span.informal { font-weight: normal; font-size: 9px}
|
||||
|
||||
/******** Tabs JS */
|
||||
ul.e-tabs { border-bottom: 1px solid #DDDDDD; height: 31px; }
|
||||
ul.e-tabs li { border: 1px solid #DDDDDD; display: block; float: left; line-height: 30px; padding: 0px 7px; margin-right: 3px; background-color: #F9F9F9 }
|
||||
.admintabs ul.e-tabs li.active { border-bottom: 1px solid #FFFFFF; background-color: #FFFFFF}
|
||||
|
||||
/********** Misc */
|
||||
.e-pointer { cursor: pointer; } /* Pointer Hand */
|
||||
.expand-container { padding: 10px; } /* Block with expandable items */
|
||||
.nextprev-bar { clear: both; padding: 5px; font-size: 14px; margin: 5px; border:1px solid #ddd; } /* Page NextPrev navigation block */
|
||||
|
||||
|
||||
/******** SyS Messages / Message text formatting */
|
||||
/* message boxes */
|
||||
.s-message { }
|
||||
|
||||
.s-message div.info,
|
||||
.s-message div.error,
|
||||
.s-message div.success,
|
||||
.s-message div.debug,
|
||||
.s-message div.warning { padding: 5px; margin-bottom: 10px; }
|
||||
|
||||
|
||||
.s-message div.info { background-color:#C1E0FF; border: 1px solid #3399FF; }
|
||||
.s-message div.error { background-color:#FFCECE; border: 1px solid #CC0000; }
|
||||
.s-message div.success { background-color:#DFFFDF; border: 1px solid #009900; }
|
||||
.s-message div.warning { background-color:#FFFFD5; border: 1px solid #FFCC00; }
|
||||
.s-message div.debug { background-color:#FFFFFF; border: 1px solid #EAEAEA; }
|
||||
|
||||
.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }
|
||||
|
||||
.s-message div.info .s-message-title { background-image: url(images/messagebox_info.png); }
|
||||
.s-message div.error .s-message-title { background-image: url(images/messagebox_critical.png); }
|
||||
.s-message div.success .s-message-title { background-image: url(images/ok.png); }
|
||||
.s-message div.warning .s-message-title { background-image: url(images/messagebox_warning.png); }
|
||||
.s-message div.debug .s-message-title { background-image: url(images/messagebox_info.png); }
|
||||
|
||||
/* message text (overall) */
|
||||
.warning { color: #FF6600 }
|
||||
.success { color: green; }
|
||||
.error { color: #FF0000 }
|
||||
.info {}
|
||||
.required { color:red }
|
||||
|
||||
/* THEME SPECIFIC CSS *********************************************************************************************/
|
||||
/******** Page Base */
|
||||
.wrapper { width: 100%; }
|
||||
.header { padding: 20px 15px 0; }
|
||||
.header-content { border: 1px solid #DDDDDD}
|
||||
.page-body { padding: 20px 15px 0; }
|
||||
.footer {}
|
||||
legend { font-size: 14px; font-weight: bold; padding: 5px; }
|
||||
|
||||
/******** Block Elements */
|
||||
.block { border: 1px solid #DDDDDD; margin-bottom: 10px;}
|
||||
.block-text { padding: 10px 10px 10px; }
|
||||
.block h1.caption { padding: 5px 10px 5px; vertical-align: middle; }
|
||||
.block h2.caption, .block h4.caption { padding: 5px 10px 5px; border-bottom: 1px solid #DDDDDD; }
|
||||
|
||||
/******** Horizontal navigation ADMIN_NAV_ALT */
|
||||
.navigation { border: 1px solid #DDDDDD;}
|
||||
|
||||
/******** Layout */
|
||||
.main-table { width: 100%; border: 0 none; }
|
||||
.col-left { width: 220px; }
|
||||
.col-right { width: 220px;}
|
||||
.col-main { padding: 0 15px 0 15px;}
|
||||
.inner-wrapper { margin: 0 5px }
|
||||
|
||||
/******** Horizontal navigation ADMIN_NAV_ALT */
|
||||
.navigation { border: 1px solid #DDDDDD;}
|
||||
|
||||
/******** FEATUREBOX PLUGIN */
|
||||
#featurebox-ajax-container { display: block }
|
||||
#featurebox-ajax-container img { padding: 1px; margin: 5px; border: 1px solid #DDDDDD }
|
||||
|
||||
div.featurebox-nav { text-align: right; margin-right: 5px }
|
||||
div.featurebox-nav a.featurebox-nav-link { }
|
||||
div.featurebox-nav a.featurebox-nav-link.active,
|
||||
div.featurebox-nav a.featurebox-nav-link.active:hover { text-decoration: none; color: #000 }
|
||||
|
||||
div.featurebox-nav a.featurebox-nav-next,
|
||||
div.featurebox-nav a.featurebox-nav-next:hover,
|
||||
div.featurebox-nav a.featurebox-nav-prev,
|
||||
div.featurebox-nav a.featurebox-nav-prev:hover { text-decoration: none; font-size: 16px }
|
||||
|
||||
|
||||
|
@@ -1,162 +1,150 @@
|
||||
<?php
|
||||
|
||||
if ( ! defined('e107_INIT')) { exit(); }
|
||||
include_lan(e_THEME."_blank/languages/".e_LANGUAGE.".php");
|
||||
|
||||
// TODO theme.xml - add them to jslib/php source
|
||||
e107::getJs()->requireCoreLib('core/decorate.js')
|
||||
->requireCoreLib('core/tabs.js');
|
||||
e107::lan('theme','English');
|
||||
e107::js('core','bootstrap/js/bootstrap.min.js');
|
||||
e107::css('core','bootstrap/css/bootstrap-responsive.min.css');
|
||||
//e107::js('theme', 'js/theme.js');
|
||||
//e107::css('url', 'external url ');
|
||||
//define("VIEWPORT","width=device-width, initial-scale=1.0");
|
||||
|
||||
//$register_sc[]='FS_ADMIN_ALT_NAV';
|
||||
$no_core_css = TRUE;
|
||||
|
||||
define("STANDARDS_MODE",TRUE);
|
||||
|
||||
// TODO - JS/CSS handling via JSManager
|
||||
function theme_head() {
|
||||
|
||||
$theme_pref = e107::getThemePref();
|
||||
|
||||
$ret = '';
|
||||
$ret .= '
|
||||
<link rel="stylesheet" href="'.THEME_ABS.'menu/menu.css" type="text/css" media="all" />
|
||||
<!--[if IE]>
|
||||
<link rel="stylesheet" href="'.THEME_ABS.'ie_all.css" type="text/css" media="all" />
|
||||
<![endif]-->
|
||||
<!--[if lte IE 7]>
|
||||
<script type="text/javascript" src="'.THEME_ABS.'menu/menu.js"></script>
|
||||
<![endif]-->
|
||||
';
|
||||
|
||||
$ret .= "
|
||||
<script type='text/javascript'>
|
||||
/**
|
||||
* Decorate all tables having e-list class
|
||||
*/
|
||||
e107.runOnLoad( function() {
|
||||
\$\$('table.e-list').each(function(element) {
|
||||
e107Utils.Decorate.table(element, { tr_td: 'first last' });
|
||||
});
|
||||
}, document, true);
|
||||
|
||||
</script>";
|
||||
|
||||
if(THEME_LAYOUT == "alternate") // as matched by $HEADER['alternate'];
|
||||
{
|
||||
$ret .= "<!-- Include Something --> ";
|
||||
}
|
||||
|
||||
if($theme_pref['_blank_example'] == 3) // Pref from admin -> thememanager.
|
||||
{
|
||||
$ret .= "<!-- Include Something Else --> ";
|
||||
}
|
||||
// Custom Shortcodes.
|
||||
//$register_sc[]='BLANK';
|
||||
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
function tablestyle($caption, $text, $mod)
|
||||
function tablestyle($caption, $text, $mode='')
|
||||
{
|
||||
global $style;
|
||||
global $style;
|
||||
|
||||
$type = $style;
|
||||
if(empty($caption))
|
||||
if($mode == 'wmessage')
|
||||
{
|
||||
$type = 'box';
|
||||
$style = '';
|
||||
}
|
||||
|
||||
switch($type)
|
||||
{
|
||||
switch($style)
|
||||
{
|
||||
|
||||
case 'menu' :
|
||||
echo '
|
||||
<div class="block">
|
||||
<h4 class="caption">'.$caption.'</h4>
|
||||
'.$text.'
|
||||
</div>
|
||||
';
|
||||
case 'home':
|
||||
echo $caption;
|
||||
echo $text;
|
||||
break;
|
||||
|
||||
case 'box':
|
||||
echo '
|
||||
<div class="block">
|
||||
<div class="block-text">
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
case 'menu':
|
||||
echo $caption;
|
||||
echo $text;
|
||||
break;
|
||||
|
||||
default:
|
||||
echo '
|
||||
<div class="block">
|
||||
<h1 class="caption">'.$caption.'</h1>
|
||||
<div class="block-text">
|
||||
'.$text.'
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
case 'full':
|
||||
echo $caption;
|
||||
echo $text;
|
||||
break;
|
||||
|
||||
default:
|
||||
echo $caption;
|
||||
echo $text;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// DEFAULT
|
||||
|
||||
$HEADER['default'] = '
|
||||
<div class="wrapper">
|
||||
<div class="header">
|
||||
<div class="header-content">
|
||||
BLANK HEADER
|
||||
</div>
|
||||
<div style="height: 20px;"><!-- --></div>
|
||||
<div class="navigation">
|
||||
<div id="main-nav">{SITELINKS}</div>
|
||||
<div class="clear"><!-- --></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-body">
|
||||
<table class="main-table" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
|
||||
<td class="col-left">
|
||||
{SETSTYLE=menu}
|
||||
{MENU=1}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="col-main">
|
||||
<div class="inner-wrapper">
|
||||
{SETSTYLE=content}
|
||||
{FEATUREBOX|default=notablestyle}
|
||||
{FEATUREBOX|dynamic=notablestyle}
|
||||
';
|
||||
$FOOTER['default'] = '
|
||||
{FEATUREBOX|tabs=notablestyle&cols='.e107::getThemePref('fb_tabs_cols', 1).'}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="col-right">
|
||||
<div class="col-right">
|
||||
{SETSTYLE=menu}
|
||||
{MENU=2}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<!-- -->
|
||||
</div>
|
||||
</div>
|
||||
{SETSTYLE=default}
|
||||
{SETIMAGE: w=0}
|
||||
|
||||
';
|
||||
|
||||
$HEADER['alternate'] = '';
|
||||
$FOOTER['alternate'] = '';
|
||||
$FOOTER['default'] = '
|
||||
{SETSTYLE=menu}
|
||||
{MENU=1}
|
||||
';
|
||||
|
||||
/*
|
||||
|
||||
$CUSTOMHEADER, CUSTOMFOOTER and $CUSTOMPAGES are deprecated.
|
||||
Default custom-pages can be assigned in theme.xml
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
// HOME page
|
||||
|
||||
$HEADER['home'] = '
|
||||
{SETSTYLE=hero}
|
||||
{SETIMAGE: w=0}
|
||||
';
|
||||
|
||||
|
||||
$FOOTER['home'] = '
|
||||
|
||||
';
|
||||
|
||||
|
||||
// FULL PAGE (no menus) - eg. Forum
|
||||
|
||||
$HEADER['full'] = '
|
||||
{SETSTYLE=full}
|
||||
{SETIMAGE: w=0}
|
||||
';
|
||||
|
||||
$FOOTER['full'] = '
|
||||
|
||||
|
||||
';
|
||||
|
||||
|
||||
|
||||
|
||||
// News item styling
|
||||
$NEWSSTYLE = '
|
||||
{NEWSTITLE}
|
||||
{NEWSAUTHOR}
|
||||
{NEWSDATE=short}
|
||||
{NEWSIMAGE}
|
||||
{NEWSBODY} {EXTENDED}
|
||||
|
||||
';
|
||||
|
||||
// Comment Styling
|
||||
$COMMENTSTYLE = '
|
||||
{AVATAR}
|
||||
{USERNAME}
|
||||
{REPLY}
|
||||
{TIMEDATE}
|
||||
{COMMENT}
|
||||
';
|
||||
|
||||
// news.php?cat.1
|
||||
$NEWSLISTSTYLE = '
|
||||
{NEWSTITLE}
|
||||
{NEWSDATE=short}
|
||||
{NEWSAUTHOR}
|
||||
{NEWSIMAGE}
|
||||
{NEWSBODY}
|
||||
{EXTENDED}
|
||||
{EMAILICON}
|
||||
{PRINTICON}
|
||||
{PDFICON}
|
||||
{ADMINOPTIONS}
|
||||
{NEWSCOMMENTS}
|
||||
';
|
||||
|
||||
$NEWSARCHIVE ='
|
||||
{ARCHIVE_BULLET}
|
||||
{ARCHIVE_LINK}
|
||||
{ARCHIVE_AUTHOR}
|
||||
{ARCHIVE_DATESTAMP}
|
||||
{ARCHIVE_CATEGORY}
|
||||
';
|
||||
//Render news categories on the bottom of the page
|
||||
$NEWSCAT = '
|
||||
{NEWSCATEGORY}
|
||||
{NEWSCAT_ITEM}
|
||||
';
|
||||
//Loop for news items in category
|
||||
$NEWSCAT_ITEM = '
|
||||
{NEWSTITLELINK}
|
||||
|
||||
';
|
||||
|
||||
?>
|