From f9eddb89eff2601f8ef4318f16a8360296613935 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 22 Feb 2014 16:10:46 +0100 Subject: Add option for narrow navbar instead of the bootstrap default thick version --- view/theme/redbasic/php/style.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view/theme/redbasic/php/style.php') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 8d5c23a03..901d06af7 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -14,6 +14,7 @@ if(! $a->install) { $nav_colour = get_pconfig($uid, "redbasic", "nav_colour"); // Load the owners pconfig + $narrow_navbar = get_pconfig($uid,'redbasic','narrow_navbar'); $banner_colour = get_pconfig($uid,'redbasic','banner_colour'); $link_colour = get_pconfig($uid, "redbasic", "link_colour"); $schema = get_pconfig($uid,'redbasic','schema'); @@ -213,3 +214,6 @@ echo str_replace(array_keys($options), array_values($options), $x); if($sloppy_photos && file_exists('view/theme/redbasic/css/sloppy_photos.css')) { echo file_get_contents('view/theme/redbasic/css/sloppy_photos.css'); } +if($narrow_navbar && file_exists('view/theme/redbasic/css/narrow_navbar.css')) { + echo file_get_contents('view/theme/redbasic/css/narrow_navbar.css'); +} -- cgit v1.2.3