From fcfb9e975836c4abbbfd339d46bf8ea937747e57 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 7 Sep 2022 12:50:46 +0000 Subject: fix random php warnings --- view/theme/redbasic/php/style.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'view/theme/redbasic/php') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 45790ae37..667377838 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -22,6 +22,7 @@ if(! App::$install) { $background_image = get_pconfig($uid, 'redbasic', 'background_image'); $item_colour = get_pconfig($uid, 'redbasic', 'item_colour'); $comment_item_colour = get_pconfig($uid, 'redbasic', 'comment_item_colour'); + $item_opacity = get_pconfig($uid, 'redbasic', 'item_opacity'); $font_size = get_pconfig($uid, 'redbasic', 'font_size'); $font_colour = get_pconfig($uid, 'redbasic', 'font_colour'); $radius = get_pconfig($uid, 'redbasic', 'radius'); @@ -64,6 +65,7 @@ if ((!$schema) || ($schema == '---')) { require_once ($schemefile); } + $schemecss = ''; if(file_exists('view/theme/redbasic/schema/default.css')) { $schemecss = file_get_contents('view/theme/redbasic/schema/default.css'); } @@ -150,12 +152,8 @@ if(file_exists('view/theme/redbasic/css/style.css')) { '$radius' => $radius, '$shadow' => $shadow, '$converse_width' => $converse_width, - '$nav_float_min_opacity' => $nav_float_min_opacity, - '$nav_percent_min_opacity' => $nav_percent_min_opacity, '$top_photo' => $top_photo, '$reply_photo' => $reply_photo, - '$pmenu_top' => $pmenu_top, - '$pmenu_reply' => $pmenu_reply, '$main_width' => $main_width, '$left_aside_width' => $left_aside_width, '$right_aside_width' => $right_aside_width -- cgit v1.2.3