1
0
Fork 0

Merge pull request #7361 from JeroenED/bugfix/frio-header-color-php

[FRIO] fixing chromium mobile navbar color when not logged in
This commit is contained in:
Hypolite Petovan 2019-07-10 11:16:18 -04:00 committed by GitHub
commit a06de3127f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,10 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
$nav_bg = PConfig::get($uid, 'frio', 'nav_bg');
}
if (empty($nav_bg)) {
$nav_bg = Config::get('frio', 'nav_bg');
}
if (empty($nav_bg) || !is_string($nav_bg)) {
$nav_bg = "#708fa0";
}
@ -79,7 +83,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
// special minimal style for modal dialogs
if ($minimal) {
?>
<!-- <?php echo __FILE__ ?> -->
<!-- <?php echo __FILE__ ?> -->
<section class="minimal">
<?php if (!empty($page['content'])) echo $page['content']; ?>
<div id="page-footer"></div>