added meta-tags for cache control

This commit is contained in:
Roland Gruber 2003-10-21 16:56:44 +00:00
parent d8aeeb9886
commit 8eb39ade02
17 changed files with 42 additions and 4 deletions

View File

@ -70,6 +70,8 @@ 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">

View File

@ -99,6 +99,8 @@ echo ("<html>\n");
echo ("<head>\n"); echo ("<head>\n");
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\">".

View File

@ -72,6 +72,8 @@ echo $_SESSION['header'];
echo "<html><head><title>listusers</title>\n"; echo "<html><head><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\">".

View File

@ -44,6 +44,8 @@ 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">

View File

@ -63,6 +63,8 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
echo "<head>\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

View File

@ -61,6 +61,8 @@ if ($_POST['new_domain'] || $_POST['del_domain']){
echo $_SESSION['header']; echo $_SESSION['header'];
echo "<html><head><title>listdomains</title>\n"; echo "<html><head><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";

View File

@ -81,6 +81,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 "<html><head><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";

View File

@ -81,6 +81,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 "<html><head><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";

View File

@ -105,6 +105,8 @@ echo $_SESSION['header'];
echo "<html><head><title>listusers</title>\n"; echo "<html><head><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";

View File

@ -49,6 +49,8 @@ else {
echo $_SESSION['header']; echo $_SESSION['header'];
echo "<html><head><title>userlink</title>\n"; echo "<html><head><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>&nbsp;</p>"; echo "<p>&nbsp;</p>";

View File

@ -334,6 +334,8 @@ function display_main() {
echo ("<head>\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");

View File

@ -50,7 +50,10 @@ 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</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 // save user profile
if ($_GET['type'] == "user") { if ($_GET['type'] == "user") {

View File

@ -44,6 +44,8 @@ echo $_SESSION['header'];
echo ("<html>\n"); echo ("<html>\n");
echo ("<head><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

View File

@ -47,7 +47,10 @@ 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</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(); $acct = new Account();

View File

@ -42,7 +42,10 @@ 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</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(); $acct = new Account();

View File

@ -119,6 +119,8 @@ echo $_SESSION['header'];
<head> <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>

View File

@ -47,7 +47,10 @@ 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</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(); $acct = new Account();