2006-05-23 14:46:58 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
$Id$
|
|
|
|
|
2009-10-27 18:47:12 +00:00
|
|
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
2016-08-27 08:40:05 +00:00
|
|
|
Copyright (C) 2003 - 2016 Roland Gruber
|
2006-05-23 14:46:58 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Displays links to all configuration pages.
|
|
|
|
*
|
|
|
|
* @package configuration
|
|
|
|
* @author Roland Gruber
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/** Access to config functions */
|
|
|
|
include_once('../../lib/config.inc');
|
|
|
|
|
|
|
|
// start session
|
2009-07-08 18:03:28 +00:00
|
|
|
if (strtolower(session_module_name()) == 'files') {
|
|
|
|
session_save_path("../../sess");
|
|
|
|
}
|
2006-05-23 14:46:58 +00:00
|
|
|
@session_start();
|
|
|
|
|
|
|
|
setlanguage();
|
|
|
|
|
|
|
|
echo $_SESSION['header'];
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<title>
|
|
|
|
<?php
|
|
|
|
echo _("Configuration overview");
|
|
|
|
?>
|
|
|
|
</title>
|
2016-08-27 08:40:05 +00:00
|
|
|
<?php
|
2010-08-31 18:05:17 +00:00
|
|
|
// include all CSS files
|
|
|
|
$cssDirName = dirname(__FILE__) . '/../../style';
|
|
|
|
$cssDir = dir($cssDirName);
|
2012-11-02 17:45:35 +00:00
|
|
|
$cssFiles = array();
|
|
|
|
$cssEntry = $cssDir->read();
|
|
|
|
while ($cssEntry !== false) {
|
|
|
|
if (substr($cssEntry, strlen($cssEntry) - 4, 4) == '.css') {
|
|
|
|
$cssFiles[] = $cssEntry;
|
|
|
|
}
|
|
|
|
$cssEntry = $cssDir->read();
|
|
|
|
}
|
|
|
|
sort($cssFiles);
|
|
|
|
foreach ($cssFiles as $cssEntry) {
|
2010-08-31 18:05:17 +00:00
|
|
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/" . $cssEntry . "\">\n";
|
|
|
|
}
|
|
|
|
?>
|
2008-01-01 13:06:51 +00:00
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="../../graphics/favicon.ico">
|
2006-05-23 14:46:58 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2010-08-31 18:05:17 +00:00
|
|
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
2010-07-30 16:08:20 +00:00
|
|
|
<tr>
|
|
|
|
<td align="left" height="30">
|
2014-03-29 11:04:14 +00:00
|
|
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
2010-07-30 16:08:20 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2009-05-03 16:01:07 +00:00
|
|
|
<br><br>
|
2016-08-27 08:40:05 +00:00
|
|
|
<fieldset class="ui-corner-all roundedShadowBox fullwidth">
|
2006-05-23 14:46:58 +00:00
|
|
|
<TABLE border="0">
|
|
|
|
<?php
|
2016-08-27 08:40:05 +00:00
|
|
|
if (isLAMProVersion()) {
|
|
|
|
echo "<tr><td rowspan=4 width=20> </td><td></td><td></td></tr>\n";
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
echo "<tr><td rowspan=3 width=20> </td><td></td><td></td></tr>\n";
|
|
|
|
}
|
2006-05-23 14:46:58 +00:00
|
|
|
?>
|
|
|
|
<TR>
|
|
|
|
<TD width="60" height="70">
|
|
|
|
<a href="mainlogin.php">
|
2009-05-03 16:01:07 +00:00
|
|
|
<IMG height="32" width="32" alt="general settings" src="../../graphics/bigTools.png">
|
2006-05-23 14:46:58 +00:00
|
|
|
</a>
|
|
|
|
</TD>
|
2006-07-29 08:43:37 +00:00
|
|
|
<TD><BIG>
|
2006-05-23 14:46:58 +00:00
|
|
|
<a href="mainlogin.php">
|
|
|
|
<?php echo _("Edit general settings") ?>
|
2006-07-29 08:43:37 +00:00
|
|
|
</a></BIG>
|
2006-05-23 14:46:58 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
|
|
|
<TD height="70">
|
|
|
|
<a href="conflogin.php" target="_self">
|
2009-05-03 16:01:07 +00:00
|
|
|
<IMG height="32" width="32" alt="server settings" src="../../graphics/profiles.png">
|
2006-05-23 14:46:58 +00:00
|
|
|
</a>
|
|
|
|
</TD>
|
2006-07-29 08:43:37 +00:00
|
|
|
<TD><BIG>
|
2006-05-23 14:46:58 +00:00
|
|
|
<a href="conflogin.php" target="_self">
|
|
|
|
<?php echo _("Edit server profiles"); ?>
|
2006-07-29 08:43:37 +00:00
|
|
|
</a></BIG>
|
2006-05-23 14:46:58 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<?php
|
2016-08-27 08:40:05 +00:00
|
|
|
if (isLAMProVersion()) {
|
2006-05-23 14:46:58 +00:00
|
|
|
echo "<TR>\n";
|
|
|
|
echo "<TD height=\"70\">\n";
|
2006-07-08 17:46:50 +00:00
|
|
|
echo "<a href=\"../selfService/adminLogin.php\" target=\"_self\">\n";
|
2009-05-03 16:01:07 +00:00
|
|
|
echo "<IMG height=\"32\" width=\"32\" alt=\"self service\" src=\"../../graphics/bigPeople.png\">\n";
|
2006-05-23 14:46:58 +00:00
|
|
|
echo "</a>\n";
|
|
|
|
echo "</TD>\n";
|
2006-07-29 08:43:37 +00:00
|
|
|
echo "<TD><BIG>\n";
|
2006-07-08 17:46:50 +00:00
|
|
|
echo "<a href=\"../selfService/adminLogin.php\" target=\"_self\">\n";
|
2006-05-23 14:46:58 +00:00
|
|
|
echo _("Edit self service");
|
2006-07-29 08:43:37 +00:00
|
|
|
echo "</a></BIG>\n";
|
2006-05-23 14:46:58 +00:00
|
|
|
echo "</TD>\n";
|
|
|
|
echo "</TR>\n";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</TABLE>
|
2009-05-03 16:01:07 +00:00
|
|
|
</fieldset>
|
2016-08-27 08:40:05 +00:00
|
|
|
<p><br></p>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
if (isLAMProVersion()) {
|
|
|
|
include_once("../../lib/env.inc");
|
|
|
|
$printer = new \LAM\ENV\LAMLicenseInfoPrinter();
|
|
|
|
$printer->printLicenseInfo();
|
|
|
|
echo "<br><br>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
<p> <a href="../login.php"><IMG alt="back" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a></p>
|
2010-07-30 16:08:20 +00:00
|
|
|
<p><br><br></p>
|
2006-05-23 14:46:58 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|