From 6cd6e886dbab9189b91b474d7df7f32763f0b23f Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 17 Apr 2017 13:38:55 +0200 Subject: [PATCH] Updated theme-color code Add comment explaining what the code does Remove unused include Code standards --- view/theme/frio/php/default.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ''; -- 2.39.5