mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
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:
commit
a06de3127f
1 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue