mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Bootstrap style switch added.
This commit is contained in:
@@ -12,8 +12,22 @@ e107::js('bootstrap','bootstrap.min.js');
|
|||||||
|
|
||||||
if(THEME_STYLE != 'style.css') // allow for drop-in bootstrap replacement. See http://bootswatch.com
|
if(THEME_STYLE != 'style.css') // allow for drop-in bootstrap replacement. See http://bootswatch.com
|
||||||
{
|
{
|
||||||
define("CSSORDER", "theme,core,other,plugin,inline");
|
//define("CSSORDER", "theme,core,other,plugin,inline");
|
||||||
e107::css('inline','@media (min-width: 1000px){ body { padding-top: 100px; } } ');
|
|
||||||
|
switch (THEME_STYLE)
|
||||||
|
{
|
||||||
|
case 'superhero.css':
|
||||||
|
e107::css('inline','@media (min-width: 1000px){ body { padding-top: 100px; } } ');
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'amelia.css':
|
||||||
|
e107::css('inline','@media (min-width: 1000px){ body { padding-top: 70px; } } ');
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
e107::css('inline','@media (min-width: 1000px){ body { padding-top: 65px; } } ');
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -202,7 +216,7 @@ $FOOTER['default'] = '
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<footer class="center">
|
<footer class="center">
|
||||||
Copyright © 2008-2013 e107 Inc (e107.org)<br />
|
{SITEDISCLAIMER}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div><!--/.fluid-container-->';
|
</div><!--/.fluid-container-->';
|
||||||
@@ -228,7 +242,7 @@ $FOOTER['default-home'] = '
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<footer class="center">
|
<footer class="center">
|
||||||
Copyright © 2008-2013 e107 Inc (e107.org)<br />
|
{SITEDISCLAIMER}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div><!--/.fluid-container-->';
|
</div><!--/.fluid-container-->';
|
||||||
|
Reference in New Issue
Block a user