From: Pierre Rudloff Date: Thu, 13 Apr 2017 01:02:53 +0000 (+0200) Subject: theme-color meta X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d0407f8b761f80f1723e7eb72b15ed7de0340103;p=friendica.git theme-color meta --- diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index 87ccf3dc1a..89ee0bd2e0 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -28,6 +28,27 @@ if(x($page,'htmlhead')) echo $page['htmlhead']; } ?> + profile_uid; + if (is_null($uid)) { + $uid = get_theme_uid(); + } + $schema = get_pconfig($uid, 'frio', 'schema'); + if (($schema) && ($schema != '---')) { + if(file_exists('view/theme/frio/schema/'.$schema.'.php')) { + $schemefile = 'view/theme/frio/schema/'.$schema.'.php'; + require_once($schemefile); + } + } else { + $nav_bg = get_pconfig($uid, 'frio', 'nav_bg'); + } + if(!$nav_bg) { + $nav_bg = "#708fa0"; + } + echo ''; + ?> +