diff options
Diffstat (limited to 'en/4/download_index.php')
-rwxr-xr-x | en/4/download_index.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/en/4/download_index.php b/en/4/download_index.php index 1ea13c771..be91f9eae 100755 --- a/en/4/download_index.php +++ b/en/4/download_index.php @@ -37,7 +37,7 @@ function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $me echo _t('forthcoming'); /* - echo $torrent && $unavailabletorrent ? sprintf(_t('forthcoming')) : sprintf('<a rel="nofollow" href="?q=%s%s" title="%s">%s</a>', + echo $torrent && $unavailabletorrent ? sprintf(_t('forthcoming')) : sprintf('<a rel="nofollow" href="../downloads/get/?q=%s%s" title="%s">%s</a>', get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, '.iso'), $torrent ? '&torrent=1' : '', implode(' ', array($name, $version, $release, $variant, $arch, $medium)), @@ -58,7 +58,6 @@ function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $me <meta name="robots" content="index,nofollow,nosnippet"> <link rel="canonical" href="/<?php echo $locale.'/'.$verion;?>/"> <link rel="stylesheet" href="/g/style/all.css"> - <base href="https://<?php echo $_SERVER['HTTP_HOST'].'/'.$locale; ?>/downloads/get/"> <?php include '../../analytics.php'; ?> <style> .unstable-release-warning { @@ -248,14 +247,14 @@ function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $me <li><?php _e('<a href="%s">Errata</a>', array('https://wiki.mageia.org/en/Mageia_4_Errata'))?></li> <li><?php _e('<a href="%s">Which to choose</a>', array('https://wiki.mageia.org/en/Installation_Media'))?></li> <li><?php _e('<a href="%s">Get ISO on USB flash stick</a>', array('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_stick.3F'))?></li> - <li><?php _e('Help us on <a href="%s">Mageia 4</a>', array('/contribute/'))?></li> + <li><?php _e('Help us on <a href="%s">Mageia 4</a>', array('../contribute/'))?></li> </ul> <br> <br> <?php _h('Looking for a stable release?', null, 'h3'); echo '<p>'; - _e('It is <a href="%s">here</a>.', array('/../downloads/')); + _e('It is <a href="%s">here</a>.', array('../downloads/')); echo '</p>'; ?> </div> |