aboutsummaryrefslogtreecommitdiffstats
path: root/en/4/download_index.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2013-08-08 20:13:10 +0000
committerManuel Hiebel <leuhmanu@mageia.org>2013-08-08 20:13:10 +0000
commit0eff67d679b828acb2af3019b83e110957fb2778 (patch)
treeb1a225dd76a1cbf8cd655d2e2e5b2706fbaeb456 /en/4/download_index.php
parentab83396059a1fa2ed14c55227ccf44e9a148fee5 (diff)
downloadwww-0eff67d679b828acb2af3019b83e110957fb2778.tar
www-0eff67d679b828acb2af3019b83e110957fb2778.tar.gz
www-0eff67d679b828acb2af3019b83e110957fb2778.tar.bz2
www-0eff67d679b828acb2af3019b83e110957fb2778.tar.xz
www-0eff67d679b828acb2af3019b83e110957fb2778.zip
no longer use <base> at it gives more trouble than anything else, fix also relative path on some href link
Diffstat (limited to 'en/4/download_index.php')
-rwxr-xr-xen/4/download_index.php7
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 ? '&amp;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>