added meta-tags for cache control
This commit is contained in:
parent
d8aeeb9886
commit
8eb39ade02
|
@ -70,6 +70,8 @@ echo $_SESSION['header'];
|
|||
?>
|
||||
</title>
|
||||
<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>
|
||||
<body>
|
||||
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
||||
|
|
|
@ -99,6 +99,8 @@ echo ("<html>\n");
|
|||
echo ("<head>\n");
|
||||
echo ("<title>" . _("LDAP Account Manager Configuration") . "</title>\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 ("<body>\n");
|
||||
echo ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\">".
|
||||
|
|
|
@ -72,6 +72,8 @@ echo $_SESSION['header'];
|
|||
|
||||
echo "<html><head><title>listusers</title>\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 ("<p align=\"center\"><a href=\"http://lam.sf.net\" target=\"new_window\">".
|
||||
|
|
|
@ -44,6 +44,8 @@ echo $_SESSION['header'];
|
|||
?>
|
||||
</title>
|
||||
<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>
|
||||
<body>
|
||||
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
||||
|
|
|
@ -63,6 +63,8 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
|||
echo "<head>\n";
|
||||
echo "<title>Domain Management</title>\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 "<body>\n";
|
||||
// print message, if needed
|
||||
|
|
|
@ -61,6 +61,8 @@ if ($_POST['new_domain'] || $_POST['del_domain']){
|
|||
echo $_SESSION['header'];
|
||||
echo "<html><head><title>listdomains</title>\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 "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||
|
||||
|
|
|
@ -81,6 +81,8 @@ if ($_POST['new_group'] || $_POST['del_group'] || $_POST['pdf_group'] || $_POST[
|
|||
echo $_SESSION['header'];
|
||||
echo "<html><head><title>listgroups</title>\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 "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||
|
||||
|
|
|
@ -81,6 +81,8 @@ if ($_POST['new_host'] || $_POST['del_host'] || $_POST['pdf_host'] || $_POST['pd
|
|||
echo $_SESSION['header'];
|
||||
echo "<html><head><title>listhosts</title>\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 "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||
|
||||
|
|
|
@ -105,6 +105,8 @@ echo $_SESSION['header'];
|
|||
|
||||
echo "<html><head><title>listusers</title>\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 "<script src=\"../../lib/functions.js\" type=\"text/javascript\" language=\"javascript\"></script>\n";
|
||||
|
||||
|
|
|
@ -49,6 +49,8 @@ else {
|
|||
echo $_SESSION['header'];
|
||||
echo "<html><head><title>userlink</title>\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";
|
||||
StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")");
|
||||
echo "<p> </p>";
|
||||
|
|
|
@ -334,6 +334,8 @@ function display_main() {
|
|||
echo ("<head>\n");
|
||||
echo ("<title>OU-Editor</title>\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 ("<body>\n");
|
||||
echo ("<br>\n");
|
||||
|
|
|
@ -50,7 +50,10 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
|||
|
||||
// print header
|
||||
echo $_SESSION['header'];
|
||||
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");
|
||||
echo "<html><head>\n<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";
|
||||
|
||||
// save user profile
|
||||
if ($_GET['type'] == "user") {
|
||||
|
|
|
@ -44,6 +44,8 @@ echo $_SESSION['header'];
|
|||
echo ("<html>\n");
|
||||
echo ("<head><title>" . _("Delete User Profile") . "</title>\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");
|
||||
|
||||
// check if admin has submited delete operation
|
||||
|
|
|
@ -47,7 +47,10 @@ if ($_SESSION['config']->get_scriptPath()) {
|
|||
|
||||
// print header
|
||||
echo $_SESSION['header'];
|
||||
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");
|
||||
echo "<html><head>\n<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";
|
||||
|
||||
$acct = new Account();
|
||||
|
||||
|
|
|
@ -42,7 +42,10 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
|
|||
|
||||
// print header
|
||||
echo $_SESSION['header'];
|
||||
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");
|
||||
echo "<html><head>\n<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";
|
||||
|
||||
$acct = new Account();
|
||||
|
||||
|
|
|
@ -119,6 +119,8 @@ echo $_SESSION['header'];
|
|||
<head>
|
||||
<title>LDAP Account Manager</title>
|
||||
<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>
|
||||
<body>
|
||||
<p></p>
|
||||
|
|
|
@ -47,7 +47,10 @@ if ($_SESSION['config']->get_scriptPath()) {
|
|||
|
||||
// print header
|
||||
echo $_SESSION['header'];
|
||||
echo ("<html><head>\n<title></title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n</head><body><br>\n");
|
||||
echo "<html><head>\n<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";
|
||||
|
||||
$acct = new Account();
|
||||
|
||||
|
|
Loading…
Reference in New Issue