updated to new $_SESSION['header']
This commit is contained in:
parent
e2f04d8850
commit
acddfb773a
|
@ -61,10 +61,8 @@ function getConfigProfiles() {
|
||||||
// $page is the URL of the target page
|
// $page is the URL of the target page
|
||||||
function metaRefresh($page) {
|
function metaRefresh($page) {
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html>\n";
|
|
||||||
echo "<head>\n";
|
|
||||||
echo "<title></title>\n";
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $page . "\">\n";
|
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $page . "\">\n";
|
||||||
|
echo "<title></title>\n";
|
||||||
echo "</head>\n";
|
echo "</head>\n";
|
||||||
echo "<body>\n";
|
echo "<body>\n";
|
||||||
// print link if refresh does not work
|
// print link if refresh does not work
|
||||||
|
|
|
@ -68,8 +68,6 @@ echo $_SESSION['header'];
|
||||||
?>
|
?>
|
||||||
</title>
|
</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
||||||
<meta http-equiv="pragma" content="no-cache">
|
|
||||||
<meta http-equiv="cache-control" content="no-cache">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
||||||
|
|
|
@ -98,8 +98,6 @@ echo $_SESSION['header'];
|
||||||
|
|
||||||
echo ("<title>" . _("LDAP Account Manager Configuration") . "</title>\n");
|
echo ("<title>" . _("LDAP Account Manager Configuration") . "</title>\n");
|
||||||
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n");
|
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n");
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo ("</head>\n");
|
echo ("</head>\n");
|
||||||
echo ("<body>\n");
|
echo ("<body>\n");
|
||||||
echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\">".
|
echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\">".
|
||||||
|
|
|
@ -73,8 +73,6 @@ echo $_SESSION['header'];
|
||||||
|
|
||||||
echo "<title>listusers</title>\n";
|
echo "<title>listusers</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
|
|
||||||
echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\">".
|
echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\">".
|
||||||
|
|
|
@ -42,8 +42,6 @@ echo $_SESSION['header'];
|
||||||
?>
|
?>
|
||||||
</title>
|
</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
||||||
<meta http-equiv="pragma" content="no-cache">
|
|
||||||
<meta http-equiv="cache-control" content="no-cache">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
||||||
|
|
|
@ -59,12 +59,8 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
}
|
}
|
||||||
// display page
|
// display page
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html>\n";
|
|
||||||
echo "<head>\n";
|
|
||||||
echo "<title>Domain Management</title>\n";
|
echo "<title>Domain Management</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head>\n";
|
echo "</head>\n";
|
||||||
echo "<body>\n";
|
echo "<body>\n";
|
||||||
// print message, if needed
|
// print message, if needed
|
||||||
|
@ -86,7 +82,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
}
|
}
|
||||||
else echo "<input type=\"text\" name=\"dom_name\">\n";
|
else echo "<input type=\"text\" name=\"dom_name\">\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=651\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=651\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td> </td><td> </td>\n";
|
echo "<td> </td><td> </td>\n";
|
||||||
|
@ -102,7 +98,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
}
|
}
|
||||||
else echo "<input type=\"text\" size=\"50\" name=\"dom_SID\">\n";
|
else echo "<input type=\"text\" size=\"50\" name=\"dom_SID\">\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=653\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=653\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td> </td><td> </td>\n";
|
echo "<td> </td><td> </td>\n";
|
||||||
|
@ -113,7 +109,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
echo "<td>\n";
|
echo "<td>\n";
|
||||||
echo "<input type=\"text\" name=\"dom_nextRID\" value=\"" . $domain->nextRID . "\">\n";
|
echo "<input type=\"text\" name=\"dom_nextRID\" value=\"" . $domain->nextRID . "\">\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=654\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=654\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
// next user RID
|
// next user RID
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
@ -121,7 +117,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
echo "<td>\n";
|
echo "<td>\n";
|
||||||
echo "<input type=\"text\" name=\"dom_nextUserRID\" value=\"" . $domain->nextUserRID . "\">\n";
|
echo "<input type=\"text\" name=\"dom_nextUserRID\" value=\"" . $domain->nextUserRID . "\">\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=655\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=655\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
// next group RID
|
// next group RID
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
@ -129,7 +125,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
echo "<td>\n";
|
echo "<td>\n";
|
||||||
echo "<input type=\"text\" name=\"dom_nextGroupRID\" value=\"" . $domain->nextGroupRID . "\">\n";
|
echo "<input type=\"text\" name=\"dom_nextGroupRID\" value=\"" . $domain->nextGroupRID . "\">\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=656\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=656\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td> </td><td> </td>\n";
|
echo "<td> </td><td> </td>\n";
|
||||||
|
@ -141,7 +137,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
if ($_GET['action'] == "edit") echo $domain->RIDbase . "\n";
|
if ($_GET['action'] == "edit") echo $domain->RIDbase . "\n";
|
||||||
else echo "<input type=\"text\" name=\"dom_RIDbase\" value=\"" . $domain->RIDbase . "\">\n";
|
else echo "<input type=\"text\" name=\"dom_RIDbase\" value=\"" . $domain->RIDbase . "\">\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=657\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=657\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td> </td><td> </td>\n";
|
echo "<td> </td><td> </td>\n";
|
||||||
|
@ -159,7 +155,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo ("<td><a href=\"help.php?HelpNumber=652\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
|
echo ("<td><a href=\"help.php?HelpNumber=652\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td> </td><td> </td>\n";
|
echo "<td> </td><td> </td>\n";
|
||||||
|
@ -192,8 +188,7 @@ elseif ($_GET['action'] == "delete") {
|
||||||
$DNs = str_replace("\\'", "", $_GET['DN']);
|
$DNs = str_replace("\\'", "", $_GET['DN']);
|
||||||
$DNs = explode(";", $DNs);
|
$DNs = explode(";", $DNs);
|
||||||
// display page
|
// display page
|
||||||
echo "<html>\n";
|
echo $_SESSION['header'];
|
||||||
echo "<head>\n";
|
|
||||||
echo "<title>Domain Management</title>\n";
|
echo "<title>Domain Management</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head>\n";
|
echo "</head>\n";
|
||||||
|
@ -219,8 +214,7 @@ elseif ($_GET['action'] == "delete") {
|
||||||
|
|
||||||
// save domain
|
// save domain
|
||||||
elseif ($_POST['sub_save']) {
|
elseif ($_POST['sub_save']) {
|
||||||
echo "<html>\n";
|
echo $_SESSION['header'];
|
||||||
echo "<head>\n";
|
|
||||||
echo "<title>Domain Management</title>\n";
|
echo "<title>Domain Management</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head>\n";
|
echo "</head>\n";
|
||||||
|
@ -297,8 +291,7 @@ elseif ($_POST['sub_back']) {
|
||||||
elseif ($_POST['sub_delete']) {
|
elseif ($_POST['sub_delete']) {
|
||||||
$DNs = explode(";", $_POST['delDN']);
|
$DNs = explode(";", $_POST['delDN']);
|
||||||
// display page
|
// display page
|
||||||
echo "<html>\n";
|
echo $_SESSION['header'];
|
||||||
echo "<head>\n";
|
|
||||||
echo "<title>Domain Management</title>\n";
|
echo "<title>Domain Management</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head>\n";
|
echo "</head>\n";
|
||||||
|
|
|
@ -125,8 +125,7 @@ if ($_POST['add_suff'] || $_POST['cancel']) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html>\n";
|
echo "<title>initsuff</title>\n";
|
||||||
echo "<head><title>initsuff</title>\n";
|
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head>\n<body>\n";
|
echo "</head>\n<body>\n";
|
||||||
// print error/success messages
|
// print error/success messages
|
||||||
|
@ -177,7 +176,7 @@ $new_suff = str_replace("\\'", "", $new_suff);
|
||||||
$new_suff = explode(";", $new_suff);
|
$new_suff = explode(";", $new_suff);
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head><title>initsuff</title>\n";
|
echo "<title>initsuff</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<p> </p>\n";
|
echo "<p> </p>\n";
|
||||||
|
|
|
@ -59,10 +59,8 @@ if ($_POST['new_domain'] || $_POST['del_domain']){
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head><title>listdomains</title>\n";
|
echo "<title>listdomains</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||||
|
|
||||||
|
|
|
@ -85,10 +85,8 @@ if ($_POST['new_group'] || $_POST['del_group'] || $_POST['pdf_group'] || $_POST[
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head><title>listgroups</title>\n";
|
echo "<title>listgroups</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||||
|
|
||||||
|
|
|
@ -79,10 +79,8 @@ if ($_POST['new_host'] || $_POST['del_host'] || $_POST['pdf_host'] || $_POST['pd
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head><title>listhosts</title>\n";
|
echo "<title>listhosts</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||||
|
|
||||||
|
|
|
@ -113,10 +113,8 @@ if ($_POST['new_user'] || $_POST['del_user'] || $_POST['pdf_user'] || $_POST['pd
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
|
|
||||||
echo "<html><head><title>listusers</title>\n";
|
echo "<title>listusers</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
echo "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||||
|
|
||||||
|
|
|
@ -47,10 +47,8 @@ if ($dn) {
|
||||||
else {
|
else {
|
||||||
// print error message if user was not found
|
// print error message if user was not found
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head><title>userlink</title>\n";
|
echo "<title>userlink</title>\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")");
|
StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")");
|
||||||
echo "<p> </p>";
|
echo "<p> </p>";
|
||||||
|
|
|
@ -48,8 +48,6 @@ unset($_SESSION);
|
||||||
// print logout message
|
// print logout message
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>
|
<title>
|
||||||
<?php echo _("Logout"); ?>
|
<?php echo _("Logout"); ?>
|
||||||
</title>
|
</title>
|
||||||
|
|
|
@ -52,8 +52,6 @@ if ($_SESSION['config']->is_samba3()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo ("<html>\n");
|
|
||||||
echo ("<head>\n");
|
|
||||||
echo ("<title>LDAP Account Manager</title>\n");
|
echo ("<title>LDAP Account Manager</title>\n");
|
||||||
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">");
|
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">");
|
||||||
echo ("</head>\n");
|
echo ("</head>\n");
|
||||||
|
|
|
@ -31,12 +31,8 @@ session_save_path("../sess");
|
||||||
setlanguage();
|
setlanguage();
|
||||||
|
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title></title>
|
<title></title>
|
||||||
<link rel="stylesheet" type="text/css" href="../style/layout.css">
|
<link rel="stylesheet" type="text/css" href="../style/layout.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -297,8 +297,6 @@ if ($_POST['submit']) {
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo ("<html>\n");
|
|
||||||
echo ("<head>\n");
|
|
||||||
echo ("<title>OU-Editor</title>\n");
|
echo ("<title>OU-Editor</title>\n");
|
||||||
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n");
|
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n");
|
||||||
echo ("</head>\n");
|
echo ("</head>\n");
|
||||||
|
@ -330,12 +328,8 @@ function display_main() {
|
||||||
|
|
||||||
// display main page
|
// display main page
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo ("<html>\n");
|
|
||||||
echo ("<head>\n");
|
|
||||||
echo ("<title>OU-Editor</title>\n");
|
echo ("<title>OU-Editor</title>\n");
|
||||||
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n");
|
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n");
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo ("</head>\n");
|
echo ("</head>\n");
|
||||||
echo ("<body>\n");
|
echo ("<body>\n");
|
||||||
echo ("<br>\n");
|
echo ("<br>\n");
|
||||||
|
|
|
@ -50,9 +50,7 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head>\n<body>\n<br>\n";
|
echo "</head>\n<body>\n<br>\n";
|
||||||
|
|
||||||
// save user profile
|
// save user profile
|
||||||
|
|
|
@ -41,11 +41,8 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
||||||
|
|
||||||
// print standard header
|
// print standard header
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo ("<html>\n");
|
echo ("<title>" . _("Delete User Profile") . "</title>\n");
|
||||||
echo ("<head><title>" . _("Delete User Profile") . "</title>\n");
|
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo ("</head>\n<body>\n<p><br></p>\n");
|
echo ("</head>\n<body>\n<p><br></p>\n");
|
||||||
|
|
||||||
// check if admin has submited delete operation
|
// check if admin has submited delete operation
|
||||||
|
|
|
@ -49,9 +49,7 @@ if ($_SESSION['config']->get_scriptPath()) {
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body><br>\n";
|
echo "</head><body><br>\n";
|
||||||
|
|
||||||
$acct = new Account();
|
$acct = new Account();
|
||||||
|
|
|
@ -42,9 +42,7 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body><br>\n";
|
echo "</head><body><br>\n";
|
||||||
|
|
||||||
$acct = new Account();
|
$acct = new Account();
|
||||||
|
|
|
@ -115,12 +115,8 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>LDAP Account Manager</title>
|
<title>LDAP Account Manager</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
||||||
<meta http-equiv="pragma" content="no-cache">
|
|
||||||
<meta http-equiv="cache-control" content="no-cache">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p></p>
|
<p></p>
|
||||||
|
|
|
@ -49,9 +49,7 @@ if ($_SESSION['config']->get_scriptPath()) {
|
||||||
|
|
||||||
// print header
|
// print header
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
||||||
echo "</head><body><br>\n";
|
echo "</head><body><br>\n";
|
||||||
|
|
||||||
$acct = new Account();
|
$acct = new Account();
|
||||||
|
|
Loading…
Reference in New Issue