24c5e150c16e429ca432303f29f97bbaa9ab58e4
6 * Copyright (c) 1999-2002 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * Contains functions used to do authentication.
14 require_once( '../functions/page_header.php' );
16 function is_logged_in () {
17 global $squirrelmail_language, $frame_top;
19 if ( session_is_registered('user_is_logged_in') ) {
23 set_up_language($squirrelmail_language, true);
25 displayHtmlHeader( 'SquirrelMail', '', FALSE );
27 echo "<body bgcolor=\"ffffff\">\n" .
28 '<br><br><center><b>' .
29 _("You must be logged in to access this page.").'</b><br><br>' .
30 "<a href=\"../src/login.php\" target=\"$frame_top\">"._("Go to the login page")."</a>\n" .
31 "</center></body></html>\n";