added logout link

This commit is contained in:
Roland Gruber 2003-03-19 16:39:26 +00:00
parent 5636f13f76
commit b75919188a
3 changed files with 55 additions and 15 deletions

lam/templates/logout.php Normal file
View File

@ -0,0 +1,34 @@
This code is part of LDAP Account Manager (
Copyright (C) 2003 Roland Gruber
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; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
User is logged off from LDAP server, session is destroyed.
// destroy session
// print logout message

View File

@ -23,17 +23,17 @@ $Id$
echo ("<html>\n");
echo (" <head>\n");
echo ("<title>LDAP Account Manager</title>\n");
echo ("</head>\n");
echo ("<frameset rows=\"150,*\">\n");
echo ("<frame src=\"./main_header.php\" name=\"head\">\n");
echo ("<frame src=\"../lib/listusers.php\" name=\"mainpart\">\n");
echo ("<noframes>\n");
echo ("This page requires a browser that can show frames!\n");
echo ("</noframes>\n");
echo ("</frameset>\n");
echo ("</html>\n");
<title>LDAP Account Manager</title>
<frameset rows="150,*">
<frame src="./main_header.php" name="head">
<frame src="./lists.php?list=users" name="mainpart">
This page requires a browser that can show frames!

View File

@ -29,10 +29,16 @@ $Id$
<p align="center"><a href="" target="new_window"><img src="../graphics/banner.jpg" border=1></a></p><br>
<table border=0 width="100%">
<td width="100"></td>
<td><p align="center"><a href="" target="new_window"><img src="../graphics/banner.jpg" border=1></a></p></td>
<td width="100"><p align="right"><a href="./logout.php" target="_top"><? echo _("Logout") ?></a></p><br></td>
<table border="0" align="center" width="600">
<td width="200"><p align="center"> <? echo _("Users") ?> </p></td>
<td width="200"><p align="center"><a href="../lib/listusers.php" target="mainpart"> <? echo _("Users");?> </a></p></td>
<td width="200"><p align="center"> <? echo _("Groups") ?> </p></td>
<td width="200"><p align="center"> <? echo _("Samba Hosts") ?> </p></td>