Template: Restore proper format of non-authenticated pages and menus.

This commit is contained in:
Nate
2020-03-21 22:33:35 -06:00
parent d229a329c8
commit 1b104aa3dc
4 changed files with 17 additions and 16 deletions

View File

@@ -1093,10 +1093,8 @@ header('Expires: '.gmdate('D, d M Y H:i:s',time()+3600).' GMT');
display: inline-block;
width: 100%;
<?php
if (
isset($_SESSION['username']) && $_SESSION['username'] != '' &&
(isset($background_images) || $background_colors[0] != '' || $background_colors[1] != '')
) { ?>
if (isset($background_images) || $background_colors[0] != '' || $background_colors[1] != '') {
?>
background: <?php echo ($_SESSION['theme']['body_color']['text'] != '') ? $_SESSION['theme']['body_color']['text'] : "#ffffff"; ?>;
background-attachment: fixed;
<?php $br = format_border_radius($_SESSION['theme']['body_border_radius']['text'], '4px'); ?>