diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-05 20:23:27 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-05 20:23:27 +0000 |
commit | 33660214bb4720c634b9009b4d75795ba0eeece4 (patch) | |
tree | e738a2aeb4b3e6384602110f4552aade75ccb27a /en | |
parent | c3609938daad01e9a998469034210e30dbe79d5a (diff) | |
download | www-33660214bb4720c634b9009b4d75795ba0eeece4.tar www-33660214bb4720c634b9009b4d75795ba0eeece4.tar.gz www-33660214bb4720c634b9009b4d75795ba0eeece4.tar.bz2 www-33660214bb4720c634b9009b4d75795ba0eeece4.tar.xz www-33660214bb4720c634b9009b4d75795ba0eeece4.zip |
fix refresh
Diffstat (limited to 'en')
-rw-r--r-- | en/downloads/dl.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/en/downloads/dl.php b/en/downloads/dl.php index c2d7580c9..73fde9ba2 100644 --- a/en/downloads/dl.php +++ b/en/downloads/dl.php @@ -37,14 +37,13 @@ if (isset($p['path'])) else $dl_link = sprintf('%s/%s/%s', $a['mirror_url'], 'iso/cauldron', $product_iso); -$relocation = $dl_link; - // @fixme (rda) actually, http-equiv="refresh" is deprecated behaviour now. // @fixme (rda) see http://www.w3.org/TR/WCAG10-HTML-TECHS/#meta-element // @fixme (rda) possible alternative: post-load setTimeOut("document.location=url;", 5000); but requires JS -if (!is_null($relocation)) - $relocation = sprintf('<meta http-equiv="refresh" value="5;%s">', $relocation); +$relocation = null; +if (!is_null($dl_link)) + $relocation = sprintf('<meta http-equiv="refresh" value="5;%s">', $dl_link); $title = 'Mageia 1 beta1'; @@ -73,6 +72,7 @@ $dl2_mirror_alt = sprintf($_t['dl_mirror_loc'], <title><?php echo $title; ?> | Mageia Downloads</title> <meta name="robots" content="noindex,nofollow,nosnippet"> <link rel="stylesheet" type="text/css" href="/g/style/all.css" > + <?php echo $relocation; ?> <?php include '../../analytics.php'; ?> </head> <body> |