Theme: Enable body style on public pages (still excludes default login).
This commit is contained in:
parent
17620586c4
commit
7599b8f96b
|
|
@ -706,12 +706,10 @@
|
||||||
#main_content {
|
#main_content {
|
||||||
<?php
|
<?php
|
||||||
if (
|
if (
|
||||||
strlen($_SESSION["username"]) > 0 &&
|
(strlen($_SESSION["username"]) > 0 || !$default_login)
|
||||||
(
|
&&
|
||||||
isset($background_images) ||
|
(isset($background_images) || $background_colors[0] != '' || $background_colors[1] != '')
|
||||||
$background_colors[0] != '' ||
|
) { ?>
|
||||||
$background_colors[1] != ''
|
|
||||||
)) { ?>
|
|
||||||
background: <?php echo ($_SESSION['theme']['body_color']['text'] != '') ? $_SESSION['theme']['body_color']['text'] : "#ffffff"; ?>;
|
background: <?php echo ($_SESSION['theme']['body_color']['text'] != '') ? $_SESSION['theme']['body_color']['text'] : "#ffffff"; ?>;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
<?php $br = format_border_radius($_SESSION['theme']['body_border_radius']['text'], '4px'); ?>
|
<?php $br = format_border_radius($_SESSION['theme']['body_border_radius']['text'], '4px'); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue