X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fsignout.php;h=1fb84845af327a9b1753805eba98724450c5f7c6;hp=e7e6f20a0dfad9ffb32d634eaed2fd870c9505cc;hb=ed89e55b372449d697a8fe81c75d22205621b799;hpb=2a32fc83f95eba42be0d1752ef685adf10e1edc9 diff --git a/src/signout.php b/src/signout.php index e7e6f20a..1fb84845 100644 --- a/src/signout.php +++ b/src/signout.php @@ -1,62 +1,97 @@ - - session_start(); - - /** - ** signout.php - ** - ** Clears the cookie, and logs them out. - ** - **/ - - $username = ""; - $key = ""; - $logged_in = 0; - - // $squirrelmail_language is set by a cookie when the user - // selects language - if (isset($squirrelmail_language)) { - if ($squirrelmail_language != "en") { - putenv("LANG=".$squirrelmail_language); - bindtextdomain("squirrelmail", "../locale/"); - textdomain("squirrelmail"); - } + + + +
+ - - - echo "\n"; - echo ""; - echo " "; - echo _("Sign Out"); - echo ""; - echo " | "; - echo "
";
- echo " "; - echo _("You have been successfully signed out."); - echo " "; - echo _("Click here to "); - echo ""; - echo _("log back in."); - echo " "; - echo " | ";
- echo "
";
- echo " "; - echo " | ";
- echo "