1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Bootstrap 5 tweaks

This commit is contained in:
Cameron
2021-03-29 17:52:19 -07:00
parent 0876e0d43b
commit 05df416dbd
3 changed files with 5 additions and 25 deletions

View File

@@ -102,6 +102,7 @@ ul.social-buttons li a {
/* */ /* */
.jumbotron { .jumbotron {
margin-top: 60px;
padding: 2rem 1rem; padding: 2rem 1rem;
margin-bottom: 2rem; margin-bottom: 2rem;
background-color: #e9ecef; background-color: #e9ecef;

View File

@@ -48,7 +48,7 @@
<hr> <hr>
<div class="container">{NAVIGATION: type=main&layout=footer}</div> <div class="container">{NAVIGATION: type=main&layout=footer}</div>
<div class="container"> <div class="container">
<p class="m-0 text-center text-white">{SITEDISCLAIMER}</p> <p class="mt-5 mb-0 text-center text-white">{SITEDISCLAIMER}</p>
</div> </div>
<!-- /.container --> <!-- /.container -->
</div> </div>

View File

@@ -20,39 +20,18 @@ if(!defined('e107_INIT'))
//e107::meta('apple-mobile-web-app-capable','yes'); //e107::meta('apple-mobile-web-app-capable','yes');
if($bootswatch = e107::pref('theme', 'bootswatch', false))
$bootswatch = e107::pref('theme', 'bootswatch', false); {
if($bootswatch) {
e107::css('url', 'https://bootswatch.com/4/' . $bootswatch . '/bootstrap.min.css'); e107::css('url', 'https://bootswatch.com/4/' . $bootswatch . '/bootstrap.min.css');
e107::css('url', 'https://bootswatch.com/4/' . $bootswatch . '/bootstrap.min.css'); e107::css('url', 'https://bootswatch.com/4/' . $bootswatch . '/bootstrap.min.css');
} }
$inlinecss = e107::pref('theme', 'inlinecss', false);
if($inlinecss)
{
e107::css("inline", $inlinecss);
}
$inlinejs = e107::pref('theme', 'inlinejs');
if($inlinejs)
{
e107::js("footer-inline", $inlinejs);
}
e107::js("theme", 'custom.js', 'jquery');
$login_iframe = e107::pref('theme', 'login_iframe', false); $login_iframe = e107::pref('theme', 'login_iframe', false);
//XXX FIXME - e_IFRAME cannot be redefined. if(THEME_LAYOUT === "splash" && $login_iframe)
if (THEME_LAYOUT == "singlelogin" && $login_iframe)
{ {
define('e_IFRAME', '0'); define('e_IFRAME', '0');
} }
if (THEME_LAYOUT == "singlesignup" && $login_iframe)
{
define('e_IFRAME', '0');
}
} }