// It makes mobile Chrome UI match Frio's top bar color.
$uid = Profile::getThemeUid($a);
$scheme = PConfig::get($uid, 'frio', 'scheme', PConfig::get($uid, 'frio', 'schema'));
- if ($scheme && ($scheme != '---')) {
+ if ($scheme && is_string($scheme) && $scheme != '---') {
if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {
$schemefile = 'view/theme/frio/scheme/' . $scheme . '.php';
require_once $schemefile;
}
if (empty($nav_bg)) {
+ $nav_bg = Config::get('frio', 'nav_bg');
+ }
+
+ if (empty($nav_bg) || !is_string($nav_bg)) {
$nav_bg = "#708fa0";
}
// special minimal style for modal dialogs
if ($minimal) {
?>
- <section class="minimal" style="margin:0px!important; padding:0px!important; float:none!important; display:block!important;">
+ <!-- <?php echo __FILE__ ?> -->
+ <section class="minimal">
<?php if (!empty($page['content'])) echo $page['content']; ?>
<div id="page-footer"></div>
</section>