6 ** Contains functions used to do authentication.
11 if (defined ('auth_php'))
13 define ('auth_php', true);
15 include '../functions/i18n.php';
17 function is_logged_in () {
18 if (session_is_registered('user_is_logged_in'))
21 echo "<html><body bgcolor=\"ffffff\">\n";
24 echo "<b>"._("You must be logged in to access this page.")."</b><br>";
25 echo "<a href=\"../src/login.php\" target=\"_top\">"._("Go to the login page")."</a>\n";
27 echo "</body></html>\n";