added logout link
This commit is contained in:
parent
5636f13f76
commit
b75919188a
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
/*
|
||||
$Id$
|
||||
|
||||
This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam)
|
||||
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
|
||||
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, 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.
|
||||
|
||||
*/
|
||||
|
||||
@session_start();
|
||||
|
||||
// destroy session
|
||||
session_destroy();
|
||||
|
||||
// print logout message
|
||||
|
||||
?>
|
||||
|
|
@ -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");
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>LDAP Account Manager</title>
|
||||
</head>
|
||||
<frameset rows="150,*">
|
||||
<frame src="./main_header.php" name="head">
|
||||
<frame src="./lists.php?list=users" name="mainpart">
|
||||
<noframes>
|
||||
This page requires a browser that can show frames!
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
?>
|
||||
|
|
|
@ -29,10 +29,16 @@ $Id$
|
|||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<p align="center"><a href="http://lam.sf.net" target="new_window"><img src="../graphics/banner.jpg" border=1></a></p><br>
|
||||
<table border=0 width="100%">
|
||||
<tr>
|
||||
<td width="100"></td>
|
||||
<td><p align="center"><a href="http://lam.sf.net" 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>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" align="center" width="600">
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue