From a714cb95df2960fe30903a1a8e0c0757352a91e2 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Fri, 11 Jan 2002 12:29:29 +0000 Subject: [PATCH] Allow main theme in login screen. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2116 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 2 +- src/login.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/page_header.php b/functions/page_header.php index 3302c3ad..60c8ec7a 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -19,7 +19,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE echo '' . "\n\n\n\n"; - if ( $custom_css == 'none' ) { + if ( !isset( $custom_css ) || $custom_css == 'none' ) { if ($theme_css != '') { echo "\n"; } diff --git a/src/login.php b/src/login.php index 12efa9f2..b52968bc 100644 --- a/src/login.php +++ b/src/login.php @@ -93,6 +93,7 @@ $header = "\n"; +$custom_css = 'none'; displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE ); /* Set the title of this page. */ -- 2.25.1