*** empty log message ***
This commit is contained in:
parent
a8d2e73c92
commit
27c0ec5e16
|
@ -1,43 +0,0 @@
|
|||
/**
|
||||
|
||||
$Id$
|
||||
|
||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||
Copyright (C) 2009 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
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
* The following functions are used for the LAM configuration wizard.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Hides/unhides input fields for the login method.
|
||||
*/
|
||||
function configLoginMethodChanged() {
|
||||
selectLoginMethod = document.getElementsByName('loginMethod')[0];
|
||||
if ( selectLoginMethod.options[selectLoginMethod.selectedIndex].value == 'list' ) {
|
||||
document.getElementById('trAdminList').style.display = '';
|
||||
document.getElementById('trLoginSearchSuffix').style.display = 'none';
|
||||
document.getElementById('trLoginSearchFilter').style.display = 'none';
|
||||
}
|
||||
else {
|
||||
document.getElementById('trAdminList').style.display = 'none';
|
||||
document.getElementById('trLoginSearchSuffix').style.display = '';
|
||||
document.getElementById('trLoginSearchFilter').style.display = '';
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
$Id$
|
||||
|
||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||
Copyright (C) 2003 - 2009 Roland Gruber
|
||||
Copyright (C) 2003 - 2010 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
|
||||
|
@ -66,7 +66,13 @@ echo $_SESSION['header'];
|
|||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
// set focus on password field
|
||||
echo "<script type=\"text/javascript\" language=\"javascript\">\n";
|
||||
echo "<!--\n";
|
||||
|
|
|
@ -124,8 +124,13 @@ echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\
|
|||
echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"../../graphics/favicon.ico\">\n";
|
||||
echo ("</head>\n");
|
||||
echo ("<body onload=\"configLoginMethodChanged()\">\n");
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
echo "<script type=\"text/javascript\" src=\"config.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
|
||||
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p>\n<hr>\n<p> </p>\n");
|
||||
|
||||
|
|
|
@ -101,7 +101,13 @@ for ($i = 0; $i < sizeof($types); $i++){
|
|||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/type_" . $types[$i] . ".css\">\n";
|
||||
}
|
||||
echo "</head><body>\n";
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
|
||||
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
|
||||
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p><hr>\n<p> </p>\n");
|
||||
|
|
|
@ -116,7 +116,13 @@ for ($i = 0; $i < sizeof($allTypes); $i++){
|
|||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/type_" . $allTypes[$i] . ".css\">\n";
|
||||
}
|
||||
echo "</head><body>\n";
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
|
||||
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
|
||||
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p><hr>\n<p> </p>\n");
|
||||
|
|
|
@ -83,7 +83,13 @@ echo $_SESSION['header'];
|
|||
echo "}\n";
|
||||
echo "//-->\n";
|
||||
echo "</script>\n";
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
?>
|
||||
<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank">
|
||||
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
|
||||
|
|
|
@ -70,7 +70,13 @@ echo $_SESSION['header'];
|
|||
<hr><br>
|
||||
|
||||
<?php
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
|
||||
// check if submit button was pressed
|
||||
if (isset($_POST['submit'])) {
|
||||
|
|
|
@ -100,7 +100,13 @@ for ($i = 0; $i < sizeof($allTypes); $i++){
|
|||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/type_" . $allTypes[$i] . ".css\">\n";
|
||||
}
|
||||
echo "</head><body>\n";
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
|
||||
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
|
||||
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p><hr>\n<p> </p>\n");
|
||||
|
|
|
@ -62,7 +62,13 @@ echo $_SESSION['header'];
|
|||
<hr><br>
|
||||
|
||||
<?php
|
||||
echo "<script type=\"text/javascript\" src=\"../wz_tooltip.js\"></script>\n";
|
||||
// include all JavaScript files
|
||||
$jsDirName = dirname(__FILE__) . '/../lib';
|
||||
$jsDir = dir($jsDirName);
|
||||
while ($jsEntry = $jsDir->read()) {
|
||||
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
|
||||
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
|
||||
}
|
||||
|
||||
$cfg = new LAMCfgMain();
|
||||
// check if submit button was pressed
|
||||
|
|
Loading…
Reference in New Issue