mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Bootstrap 5 tweaks
This commit is contained in:
@@ -102,6 +102,7 @@ ul.social-buttons li a {
|
||||
|
||||
/* */
|
||||
.jumbotron {
|
||||
margin-top: 60px;
|
||||
padding: 2rem 1rem;
|
||||
margin-bottom: 2rem;
|
||||
background-color: #e9ecef;
|
||||
|
@@ -48,7 +48,7 @@
|
||||
<hr>
|
||||
<div class="container">{NAVIGATION: type=main&layout=footer}</div>
|
||||
<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>
|
||||
<!-- /.container -->
|
||||
</div>
|
||||
|
@@ -20,39 +20,18 @@ if(!defined('e107_INIT'))
|
||||
|
||||
//e107::meta('apple-mobile-web-app-capable','yes');
|
||||
|
||||
|
||||
$bootswatch = e107::pref('theme', 'bootswatch', false);
|
||||
if($bootswatch) {
|
||||
if($bootswatch = e107::pref('theme', 'bootswatch', false))
|
||||
{
|
||||
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);
|
||||
|
||||
//XXX FIXME - e_IFRAME cannot be redefined.
|
||||
if (THEME_LAYOUT == "singlelogin" && $login_iframe)
|
||||
if(THEME_LAYOUT === "splash" && $login_iframe)
|
||||
{
|
||||
define('e_IFRAME', '0');
|
||||
}
|
||||
if (THEME_LAYOUT == "singlesignup" && $login_iframe)
|
||||
{
|
||||
define('e_IFRAME', '0');
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user