From 33660214bb4720c634b9009b4d75795ba0eeece4 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 5 Apr 2011 20:23:27 +0000 Subject: fix refresh --- en/downloads/dl.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'en/downloads') 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('', $relocation); +$relocation = null; +if (!is_null($dl_link)) + $relocation = sprintf('', $dl_link); $title = 'Mageia 1 beta1'; @@ -73,6 +72,7 @@ $dl2_mirror_alt = sprintf($_t['dl_mirror_loc'], <?php echo $title; ?> | Mageia Downloads + -- cgit v1.2.1