From f38875c320cfa729d9c5d76fddae2f598cd5ba3a Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 26 Apr 2011 13:07:43 +0000 Subject: use js for download redirection --- en/downloads/dl.php | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/en/downloads/dl.php b/en/downloads/dl.php index 1c19458e0..65624bf5a 100644 --- a/en/downloads/dl.php +++ b/en/downloads/dl.php @@ -51,14 +51,6 @@ else { $dl_link = sprintf('%s/%s', $a['mirror_url'], $product_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 - -$relocation = null; -if (!is_null($dl_link)) - $relocation = sprintf('', $dl_link); - $title = 'Mageia 1 beta1'; $dl_alt_mirrors_table = ''; @@ -79,8 +71,6 @@ $dl2_mirror_alt = sprintf($_t['dl_mirror_loc'], $a['mirror_url'], $a['mirror_host'], $countries[$a['country']], $a['country']) . ' ' . $_t['dl_alt_mirrors']; - -$relocation = ''; ?> @@ -88,8 +78,10 @@ $relocation = ''; <?php echo $title; ?> | Mageia Downloads - + + + -- cgit v1.2.1