<?php # Copyright(C) 2004-2005 INL # Written by Eric Leblond <regit@inl.fr> # Vincent Deffontaines <gryzor@inl.fr> # # $Id: logout.php 17927 2009-02-16 13:16:09Z haypo $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see <http://www.gnu.org/licenses/>. require_once ("include/common.php"); header('WWW-Authenticate: Basic realm="Please click Cancel to logout"'); header('HTTP/1.0 401 Unauthorized'); echo "<html>"; echo "<head>\n"; echo '<meta http-equiv="content-type" content="text/html; charset=utf-8">'."\n"; echo "</head>\n"; echo "<body>"._('You have been successfully logged out.'); print "<br><a href=\"index.php\">"._('Back to home page')."</a>.</body></html>"; ?>