From: Pierre Rudloff Date: Mon, 17 Apr 2017 11:38:55 +0000 (+0200) Subject: Updated theme-color code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6cd6e886dbab9189b91b474d7df7f32763f0b23f;p=friendica.git Updated theme-color code Add comment explaining what the code does Remove unused include Code standards --- diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index 89ee0bd2e0..c56f63d9e3 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -29,21 +29,22 @@ } ?> 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')) { + 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) { + if (!$nav_bg) { $nav_bg = "#708fa0"; } echo '';