diff --git a/themes/default/template.php b/themes/default/template.php index 066a9ac8d0..dab74dcaa5 100644 --- a/themes/default/template.php +++ b/themes/default/template.php @@ -706,12 +706,10 @@ #main_content { 0 && - ( - isset($background_images) || - $background_colors[0] != '' || - $background_colors[1] != '' - )) { ?> + (strlen($_SESSION["username"]) > 0 || !$default_login) + && + (isset($background_images) || $background_colors[0] != '' || $background_colors[1] != '') + ) { ?> background: ; background-attachment: fixed; @@ -2177,7 +2175,7 @@ $_SESSION['login']['destination']['url'] = PROJECT_PATH."/core/user_settings/user_dashboard.php"; } //login form - + echo "