2003-03-23 18:42:40 +00:00
|
|
|
<?php
|
2003-03-14 21:59:04 +00:00
|
|
|
/*
|
|
|
|
$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
|
|
|
|
|
2003-06-01 16:35:02 +00:00
|
|
|
|
|
|
|
|
2003-03-14 21:59:04 +00:00
|
|
|
*/
|
2003-07-26 11:11:25 +00:00
|
|
|
include_once ("../lib/config.inc");
|
|
|
|
|
|
|
|
// start session
|
|
|
|
session_save_path("../sess");
|
|
|
|
@session_start();
|
|
|
|
|
|
|
|
setlanguage();
|
2003-03-14 21:59:04 +00:00
|
|
|
|
2003-07-29 11:52:26 +00:00
|
|
|
echo $_SESSION['header'];
|
2004-01-27 18:05:35 +00:00
|
|
|
|
|
|
|
// number of list views (users, groups, ...)
|
2004-06-09 19:24:03 +00:00
|
|
|
$lists = 2;
|
2004-01-27 18:05:35 +00:00
|
|
|
if ($_SESSION['config']->get_Hostsuffix() != "") $lists++;
|
|
|
|
|
2003-03-14 21:59:04 +00:00
|
|
|
?>
|
|
|
|
|
2003-06-01 16:35:02 +00:00
|
|
|
<title></title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../style/layout.css">
|
2003-04-09 17:10:00 +00:00
|
|
|
</head>
|
2003-06-01 16:35:02 +00:00
|
|
|
|
2003-04-09 17:10:00 +00:00
|
|
|
<body>
|
|
|
|
<table border=0 width="100%">
|
2003-06-01 13:59:13 +00:00
|
|
|
<tr>
|
2004-05-30 13:43:42 +00:00
|
|
|
<td width="200">
|
2004-06-09 19:24:03 +00:00
|
|
|
<a href="tools.php" target="mainpart"><?php echo _("Tools") ?></a>
|
2004-05-30 13:43:42 +00:00
|
|
|
</td>
|
2003-09-01 21:28:26 +00:00
|
|
|
<?php
|
2004-05-30 13:43:42 +00:00
|
|
|
echo "<td colspan=$lists align=\"center\">\n";
|
2003-07-26 11:11:25 +00:00
|
|
|
?>
|
2003-06-01 16:35:02 +00:00
|
|
|
<a href="http://lam.sf.net" target="new_window"><img src="../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
|
2003-06-01 13:59:13 +00:00
|
|
|
</td>
|
2004-05-30 13:43:42 +00:00
|
|
|
<td width="200" align="right" height=20><a href="./logout.php" target="_top"><big><b><?php echo _("Logout") ?></b></big></a></td>
|
2003-06-18 18:08:56 +00:00
|
|
|
</tr>
|
2003-07-26 11:11:25 +00:00
|
|
|
<tr>
|
2003-09-01 21:28:26 +00:00
|
|
|
<?php
|
2004-01-27 18:05:35 +00:00
|
|
|
$temp = $lists + 2;
|
|
|
|
echo "<td colspan=$temp><font size=1> </font></td>\n";
|
2003-07-26 11:11:25 +00:00
|
|
|
?>
|
|
|
|
</tr>
|
2003-06-18 18:08:56 +00:00
|
|
|
<tr>
|
|
|
|
<td></td>
|
2003-09-01 21:28:26 +00:00
|
|
|
<?php
|
2004-05-30 12:14:31 +00:00
|
|
|
echo '<td width="120" align="center"><a href="./lists/listusers.php" target="mainpart"><big>' . _("Users") . '</big></a></td>' . "\n";
|
|
|
|
echo '<td width="120" align="center"><a href="./lists/listgroups.php" target="mainpart"><big>' . _("Groups") . '</big></a></td>' . "\n";
|
|
|
|
if ($_SESSION['config']->get_Hostsuffix() != "") {
|
|
|
|
echo '<td width="120" align="center"><a href="./lists/listhosts.php" target="mainpart"><big>' . _("Hosts") . '</big></a></td>' . "\n";
|
2003-07-26 11:11:25 +00:00
|
|
|
}
|
|
|
|
?>
|
2003-06-18 18:08:56 +00:00
|
|
|
<td></td>
|
2003-06-01 13:59:13 +00:00
|
|
|
</tr>
|
2003-04-09 17:10:00 +00:00
|
|
|
</table>
|
|
|
|
</body>
|
2003-06-04 18:47:40 +00:00
|
|
|
</html>
|