Allow main theme in login screen.
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 11 Jan 2002 12:29:29 +0000 (12:29 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 11 Jan 2002 12:29:29 +0000 (12:29 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2116 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php
src/login.php

index 3302c3a..60c8ec7 100644 (file)
@@ -19,7 +19,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
     echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">' .
          "\n\n<HTML>\n<HEAD>\n";
     
-    if ( $custom_css == 'none' ) {
+    if ( !isset( $custom_css ) || $custom_css == 'none' ) {
         if ($theme_css != '') {
             echo "<LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"$theme_css\">\n";
         }
index 12efa9f..b52968b 100644 (file)
@@ -93,6 +93,7 @@ $header = "<SCRIPT LANGUAGE=\"JavaScript\">\n" .
           "  }\n".
           "// -->\n".
           "</script>\n";
+$custom_css = 'none';          
 displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
 
 /* Set the title of this page. */