From 8eb39ade02441dad56d0224bc2c54a4f43604dd8 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 21 Oct 2003 16:56:44 +0000 Subject: [PATCH] added meta-tags for cache control --- lam/templates/config/conflogin.php | 2 ++ lam/templates/config/confmain.php | 2 ++ lam/templates/config/confsave.php | 2 ++ lam/templates/config/profmanage.php | 2 ++ lam/templates/domain.php | 2 ++ lam/templates/lists/listdomains.php | 2 ++ lam/templates/lists/listgroups.php | 2 ++ lam/templates/lists/listhosts.php | 2 ++ lam/templates/lists/listusers.php | 2 ++ lam/templates/lists/userlink.php | 2 ++ lam/templates/ou_edit.php | 2 ++ lam/templates/profedit/profilecreate.php | 5 ++++- lam/templates/profedit/profiledelete.php | 2 ++ lam/templates/profedit/profilegroup.php | 5 ++++- lam/templates/profedit/profilehost.php | 5 ++++- lam/templates/profedit/profilemain.php | 2 ++ lam/templates/profedit/profileuser.php | 5 ++++- 17 files changed, 42 insertions(+), 4 deletions(-) diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index 66f89935..d78d6bc5 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -70,6 +70,8 @@ echo $_SESSION['header']; ?> + +

diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index 8d531330..16b3f259 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -99,6 +99,8 @@ echo ("\n"); echo ("\n"); echo ("" . _("LDAP Account Manager Configuration") . "\n"); echo ("\n"); +echo "\n"; +echo "\n"; echo ("\n"); echo ("\n"); echo ("

". diff --git a/lam/templates/config/confsave.php b/lam/templates/config/confsave.php index bcd52042..7c895732 100644 --- a/lam/templates/config/confsave.php +++ b/lam/templates/config/confsave.php @@ -72,6 +72,8 @@ echo $_SESSION['header']; echo "listusers\n"; echo "\n"; +echo "\n"; +echo "\n"; echo "\n"; echo ("

". diff --git a/lam/templates/config/profmanage.php b/lam/templates/config/profmanage.php index 18cdbd0d..c9bae135 100644 --- a/lam/templates/config/profmanage.php +++ b/lam/templates/config/profmanage.php @@ -44,6 +44,8 @@ echo $_SESSION['header']; ?> + +

diff --git a/lam/templates/domain.php b/lam/templates/domain.php index cae0692f..1c15bd56 100644 --- a/lam/templates/domain.php +++ b/lam/templates/domain.php @@ -63,6 +63,8 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) { echo "\n"; echo "Domain Management\n"; echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; echo "\n"; // print message, if needed diff --git a/lam/templates/lists/listdomains.php b/lam/templates/lists/listdomains.php index 39765691..f5a25f66 100644 --- a/lam/templates/lists/listdomains.php +++ b/lam/templates/lists/listdomains.php @@ -61,6 +61,8 @@ if ($_POST['new_domain'] || $_POST['del_domain']){ echo $_SESSION['header']; echo "listdomains\n"; echo "\n"; +echo "\n"; +echo "\n"; echo "\n"; echo "\n"; diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index c1bb6b59..9416301f 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -81,6 +81,8 @@ if ($_POST['new_group'] || $_POST['del_group'] || $_POST['pdf_group'] || $_POST[ echo $_SESSION['header']; echo "listgroups\n"; echo "\n"; +echo "\n"; +echo "\n"; echo "\n"; echo "\n"; diff --git a/lam/templates/lists/listhosts.php b/lam/templates/lists/listhosts.php index 2dd1b9dd..fc3df04b 100644 --- a/lam/templates/lists/listhosts.php +++ b/lam/templates/lists/listhosts.php @@ -81,6 +81,8 @@ if ($_POST['new_host'] || $_POST['del_host'] || $_POST['pdf_host'] || $_POST['pd echo $_SESSION['header']; echo "listhosts\n"; echo "\n"; +echo "\n"; +echo "\n"; echo "\n"; echo "\n"; diff --git a/lam/templates/lists/listusers.php b/lam/templates/lists/listusers.php index 7c447e7a..9a74d4d2 100644 --- a/lam/templates/lists/listusers.php +++ b/lam/templates/lists/listusers.php @@ -105,6 +105,8 @@ echo $_SESSION['header']; echo "listusers\n"; echo "\n"; +echo "\n"; +echo "\n"; echo "\n"; echo "\n"; diff --git a/lam/templates/lists/userlink.php b/lam/templates/lists/userlink.php index e51d7c2a..9ddb3494 100644 --- a/lam/templates/lists/userlink.php +++ b/lam/templates/lists/userlink.php @@ -49,6 +49,8 @@ else { echo $_SESSION['header']; echo "userlink\n"; echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")"); echo "

 

"; diff --git a/lam/templates/ou_edit.php b/lam/templates/ou_edit.php index 1a5a5369..adefdd4a 100644 --- a/lam/templates/ou_edit.php +++ b/lam/templates/ou_edit.php @@ -334,6 +334,8 @@ function display_main() { echo ("\n"); echo ("OU-Editor\n"); echo ("\n"); + echo "\n"; + echo "\n"; echo ("\n"); echo ("\n"); echo ("
\n"); diff --git a/lam/templates/profedit/profilecreate.php b/lam/templates/profedit/profilecreate.php index cecdf192..ba3bac33 100644 --- a/lam/templates/profedit/profilecreate.php +++ b/lam/templates/profedit/profilecreate.php @@ -50,7 +50,10 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) { // print header echo $_SESSION['header']; -echo ("\n\n\n
\n"); +echo "\n\n\n"; +echo "\n"; +echo "\n"; +echo "\n\n
\n"; // save user profile if ($_GET['type'] == "user") { diff --git a/lam/templates/profedit/profiledelete.php b/lam/templates/profedit/profiledelete.php index 0f493d92..a198a792 100644 --- a/lam/templates/profedit/profiledelete.php +++ b/lam/templates/profedit/profiledelete.php @@ -44,6 +44,8 @@ echo $_SESSION['header']; echo ("\n"); echo ("" . _("Delete User Profile") . "\n"); echo "\n"; +echo "\n"; +echo "\n"; echo ("\n\n


\n"); // check if admin has submited delete operation diff --git a/lam/templates/profedit/profilegroup.php b/lam/templates/profedit/profilegroup.php index 321f59f2..9b54ac19 100644 --- a/lam/templates/profedit/profilegroup.php +++ b/lam/templates/profedit/profilegroup.php @@ -47,7 +47,10 @@ if ($_SESSION['config']->get_scriptPath()) { // print header echo $_SESSION['header']; -echo ("\n\n\n
\n"); +echo "\n\n\n"; +echo "\n"; +echo "\n"; +echo "
\n"; $acct = new Account(); diff --git a/lam/templates/profedit/profilehost.php b/lam/templates/profedit/profilehost.php index 3d826b06..2c7df321 100644 --- a/lam/templates/profedit/profilehost.php +++ b/lam/templates/profedit/profilehost.php @@ -42,7 +42,10 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) { // print header echo $_SESSION['header']; -echo ("\n\n\n
\n"); +echo "\n\n\n"; +echo "\n"; +echo "\n"; +echo "
\n"; $acct = new Account(); diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php index 0a698519..39bc43d2 100644 --- a/lam/templates/profedit/profilemain.php +++ b/lam/templates/profedit/profilemain.php @@ -119,6 +119,8 @@ echo $_SESSION['header']; LDAP Account Manager + +

diff --git a/lam/templates/profedit/profileuser.php b/lam/templates/profedit/profileuser.php index 986a667a..ed3490c1 100644 --- a/lam/templates/profedit/profileuser.php +++ b/lam/templates/profedit/profileuser.php @@ -47,7 +47,10 @@ if ($_SESSION['config']->get_scriptPath()) { // print header echo $_SESSION['header']; -echo ("\n\n\n
\n"); +echo "\n\n\n"; +echo "\n"; +echo "\n"; +echo "
\n"; $acct = new Account();