diff options
Diffstat (limited to 'en/4/download_index.php')
-rwxr-xr-x | en/4/download_index.php | 265 |
1 files changed, 265 insertions, 0 deletions
diff --git a/en/4/download_index.php b/en/4/download_index.php new file mode 100755 index 000000000..237371542 --- /dev/null +++ b/en/4/download_index.php @@ -0,0 +1,265 @@ +<?php + + +define('HLANG', true); + +require '../../langs.php'; +$dictionary = read_translation_file($locale, '4'); +require '../downloads/get/lib.php'; + +function get_mageia_image_file_name($variant = null, $arch, $medium, $ext) +{ + $va = empty($variant) ? $arch : $variant . '-' . $arch; + + return implode('-', array('Mageia','4.1', $va, $medium)) . $ext; +} + +function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $unavailabletorrent = false) +{ + switch ($arch) { + case "i586": + $bit = _r('32bit'); + break; + case "x86_64": + $bit = _r('64bit'); + break; + case "dual": + $bit = _r('dualarch'); + break; + default: + $bit = ''; + break; + } + + echo $torrent && $unavailabletorrent ? sprintf(_r('forthcoming')) : sprintf('<a rel="nofollow" href="../downloads/get/?q=%s%s" title="%s">%s</a>', + get_mageia_image_file_name($variant, $arch, $medium, '.iso'), + $torrent ? '&torrent=1' : '', + implode(' ', array('Mageia 4.1', $variant, $arch, $medium)), + $bit + ); +} + +?> + +<!DOCTYPE html> +<html dir="ltr" lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php echo sprintf(_r('Download') . ' Mageia 4.1')?></title> + <meta name="description" content="<?php _g('Download Mageia 4 DVD, CD, LiveCD, network install ISO images.') ?>"> + <meta name="keywords" content="<?php _g('mageia, mageia 4, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent')?>"> + <meta name="robots" content="index,nofollow,nosnippet"> + <link rel="canonical" href="/<?php echo $locale.'/4';?>/"> + <link rel="stylesheet" href="/g/style/all.css"> + <?php include '../../analytics.php'; ?> +</head> +<body class="release downloads"> + <?php echo $hsnav; ?> + <h1 id="mgnavt"><?php echo sprintf(_r('Download') . ' <strong>Mageia 4.1</strong>')?></h1> + <?php include '../4/nav.php'; ?> + <div id="doc4" class="yui-t7"> + <div id="bd" role="main"> + <div class="yui-ge bb1"> + <div class="yui-u first rb1"> + <div class="para" id="classical"> +<?php _g('If you want to put the ISO on USB key, <span class="warn">please DO NOT use Unetbootin</span>. Have a look <a href="%s">here</a> for the alternative.',array('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive.3F'),'p'); + _g('Mageia 4.1 is a <a href="%s">maintenance</a> release for Mageia 4 with the current packages from update medias. It also has a fix for a syslinux bug which prevented some people installing from a burned cd/dvd.',array('http://blog.mageia.org/en/2014/06/20/pulling-mageia-4-1-out-of-the-hat/'),'p'); + +?> + + + <h2><?php _g('Classical Installation Flavours')?></h2> + <table class="fr-table dlt2"> + <thead> + <tr> + <th><?php _g('Format');?></th> + <th class="size"><?php _g('size');?></th> + <th><?php _g('link');?></th> + <th><?php _g('BitTorrent');?></th> + </tr> + </thead> + <tbody> + <tr> + <th class="name" style="width:60%">DVD 32bit<br>DVD 64bit<br> + <span class="dlinfo"><?php _g('Desktop'); ?>: GNOME, KDE, XFCE, Mate, Cinnamon, LXDE, ...</span></th> + <td class="size">3.7GB</td> + <td> + <?php dl_link(null,'i586','DVD',false); + echo '<br>'; + dl_link(null,'x86_64','DVD',false); + echo '</td><td>'; + dl_link(null,'i586','DVD',true); + echo '<br>'; + dl_link(null,'x86_64','DVD',true);?> + </td> + </tr> + <tr> + <th class="name">DVD dualarch<br> + <span class="dlinfo"><?php _g('Desktop'); ?>: XFCE</span></th> + <td class="size">1GB</td> + <td> + <?php dl_link(null,'dual','DVD',false);?> + </td><td> + <?php dl_link(null,'dual','DVD',true);?> + </td> + </tr> + </tbody> + </table> + + <p class="dlinfo"><?php _g('Notes:'); ?></p> + <ul class="dlinfo hl"> + <li> + <?php _g('Up to 167 locales are supported:', null, ' '); ?> + Deutsch, English, español, français, italiano, português, svenska, nederlands, + polski, dansk, Русский + <?php _g('and so much more!', null, ' '); ?> + <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.</li> + <li><?php + _g('These DVD and CD ISOs contains Free Software and some proprietary drivers.', null, ' '); + _g('You will be asked of which kind of Software you want to install.'); + ?></li> + <li><?php _g('The dualarch DVD contains only a minimal list of packages.')?></li> + </ul> + </div> + + <div class="para" id="live"> + <h2><?php _g('LiveCDs and LiveDVDs');?></h2> + <p class="dlinfo"><?php _g('Use LiveCDs and LiveDVDs for fresh new installs ONLY.', null, ' ');?> + <span class="warn"><?php _g('DO NOT use these LiveCDs or LiveDVDs to upgrade from Mageia 3!', null, ' '); ?></span> + <?php _g('Use above DVD or CD and see <a href="%s" hreflang="en">upgrade guide</a>.', array($upgradeguide));?></p> + <table class="fr-table dlt2"> + <thead> + <tr> + <th><?php _g('Desktop');?></th> + <th class="size"><?php _g('size');?></th> + <th><?php _g('link');?></th> + <th><?php _g('BitTorrent');?></th> + </tr> + </thead> + <tbody> + <tr> + <th class="name" style="width:60%">LiveDVD KDE<br> + <span class="dlinfo"><?php _g('All languages')?></span></th> + <td class="size">1.4GB</td> + <td> + <?php dl_link('LiveDVD-KDE4','i586','DVD',false); + echo '<br>'; + dl_link('LiveDVD-KDE4','x86_64','DVD',false); + echo '</td><td>'; + dl_link('LiveDVD-KDE4','i586','DVD',true); + echo '<br>'; + dl_link('LiveDVD-KDE4','x86_64','DVD',true);?> + </td> + </tr> + <tr> + <th class="name">LiveDVD GNOME<br> + <span class="dlinfo"><?php _g('All languages')?></span></th> + <td class="size">1.4GB</td> + <td> + <?php dl_link('LiveDVD-GNOME','i586','DVD',false); + echo '<br>'; + dl_link('LiveDVD-GNOME','x86_64','DVD',false); + echo '</td><td>'; + dl_link('LiveDVD-GNOME','i586','DVD',true); + echo '<br>'; + dl_link('LiveDVD-GNOME','x86_64','DVD',true);?> + </td> + <tr> + <th class="name">LiveCD KDE<br> + <span class="dlinfo"><?php _g('English only')?></span></th> + <td class="size">700MB</td> + <td> + <?php dl_link('LiveCD-KDE4-en','i586','CD',false); + echo '</td><td>'; + dl_link('LiveCD-KDE4-en','i586','CD',true);?> + </td> + </tr> + <tr> + <th class="name">LiveCD GNOME<br> + <span class="dlinfo"><?php _g('English only')?></span></th> + <td class="size">700MB</td> + <td> + <?php dl_link('LiveCD-GNOME-en','i586','CD',false); + echo '</td><td>'; + dl_link('LiveCD-GNOME-en','i586','CD',true);?> + </tr> + + </tbody> + </table> + + </div> + + <div class="para"> + <h2><?php _g('Wired Network-based Installation CD')?></h2> + <p class="dlinfo"><?php _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.')?></p> + + <table class="fr-table dlt2"> + <thead> + <tr> + <th><?php _g('Format');?></th> + <th class="size"><?php _g('size');?></th> + <th><?php _g('link');?></th> + </tr> + </thead> + <tbody> + <tr> + <th><?php _g('Network installer, Free Software CD')?></th> + <td class="size">27MB<br>53MB</td> + <td><?php dl_link('Boot','i586','CD',false); + echo '<br>'; + dl_link('Boot','x86_64','CD',false);?> + </td> + </tr> + <tr> + <th><?php _g('Network installer + nonfree firmware CD')?><br> + <span class="dlinfo"><?php _g('needed for some disc controllers, some network cards, etc.')?></span></th> + <td class="size">37MB<br>74MB</td> + <td><?php dl_link('Boot-nonfree','i586','CD',false); + echo '<br>'; + dl_link('Boot-nonfree','x86_64','CD',false);?> + </td> + </tr> + </tbody> + </table> + </div> + </div> + <div class="yui-u"> + <div class="para" style="padding-left: 1em;"> + <h2>Mageia 4</h2> + <?php _g('February 1<sup>st</sup> 2014', null, 'p')?> + <ul class="hl"> + <li><?php _g('<a href="%s">Release notes</a>', array($releasenotes))?></li> + <li><?php _g('<a href="%s">Errata</a>', array($errata))?></li> + <li><?php _g('<a href="%s">Which to choose</a>', array('https://wiki.mageia.org/en/Installation_Media'))?></li> + <li><?php _g('<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_drive.3F'))?></li> + <li><?php _g('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array('https://wiki.mageia.org/en/Newcomers_start_here'))?></li> + </ul> + <br> + <br> + <?php _g('Upgrading<br>from Mageia 3?', null, 'h3')?> + <ul class="hl"><?php + _g('<strong>do not</strong> use LiveCDs;', null, 'li'); + _g('see the <a href="%s" hreflang="en">upgrade guide</a>', array($upgradeguide), 'li'); + ?></ul> + <br> + <br> + <?php + _g('Looking for Mageia 3?', null, 'h3'); + echo '<p>'; + _g('It is <a href="%s">here now</a>.', array('../3/')); + /*_r('But please remember that it already <a href="%s">reached EOL</a>.',array('https://blog.mageia.org/en/2013/11/21/farewell-mageia-2/'), 'span class="warn"'); */?> + </p> + <br> + <br> + <?php + _g('Need more challenge?', null, 'h3'); + _g('You can <a href="%s">help</a> us <a href="%s">on Mageia 5</a>.', array('../contribute/','../5/'), 'p'); + ?> + </div> + <hr> + </div> + </div> + </div> + </div> +</body> +</html> |