]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/default.php
Merge pull request #7540 from vinzv/patch-1
[friendica.git] / view / theme / frio / php / default.php
index b297fcb48174629de382d2609c542ec5835e8039..22bb995804a474cd032d74f1bb479351fdf7577a 100644 (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>