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 "
\n"; echo "
\n"; echo " \n"; @@ -2189,7 +2187,7 @@ echo " \n"; echo " \n"; echo " \n"; - + if ($_SESSION['login']['domain_name_visible']['boolean'] == "true") { echo " \n"; echo " ".$text['label-domain'].":\n"; @@ -2209,7 +2207,7 @@ } echo " \n"; } - + echo " \n"; echo " \n"; echo " \n";