X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Flogin.php;h=e18fd327ac17a5b94aab712996aef4103e64ea48;hb=5826affb7b923cce53fc68643167eec5f0f3931e;hp=d60f77d282b79b3f2dca0fa4198235cd14b5bd25;hpb=78b2428e8fe2fd74f3c1dd32a1e524ce6d016384;p=squirrelmail.git diff --git a/src/login.php b/src/login.php index d60f77d2..e18fd327 100644 --- a/src/login.php +++ b/src/login.php @@ -29,7 +29,7 @@ require_once(SM_PATH . 'functions/global.php'); * $squirrelmail_language is set by a cookie when the user selects * language and logs out */ -set_up_language($squirrelmail_language, TRUE); +set_up_language($squirrelmail_language, TRUE, TRUE); /** * Find out the base URI to set cookies. @@ -43,7 +43,7 @@ $base_uri = sqm_baseuri(); * In case the last session was not terminated properly, make sure * we get a new one. */ - + sqsession_destroy(); header('Pragma: no-cache'); @@ -56,20 +56,33 @@ $header = "\n"; -$custom_css = 'none'; + +if (@file_exists($theme[$theme_default]['PATH'])) + @include ($theme[$theme_default]['PATH']); + displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE ); -echo '
'; +echo "" . + "\n" . '' . "\n"; - +'', $color[4], 'border="0" cellspacing="0" cellpadding="0" width="100%"' ); do_hook('login_form'); +echo '' . "\n"; do_hook('login_bottom'); echo "\n".