diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2013-07-16 17:40:03 +0000 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2013-07-16 17:40:03 +0000 |
commit | 9a962cc9fadea2244e1aba9a4791f42ed80f8636 (patch) | |
tree | 6e61992a6fd32e1b101f23aaee23d62e2fdea5ee /en | |
parent | bdf84dfee50fc564d44b23dec881450cd8ea27f3 (diff) | |
download | www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar.gz www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar.bz2 www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.tar.xz www-9a962cc9fadea2244e1aba9a4791f42ed80f8636.zip |
add mga4 page for first isos planned in august
Diffstat (limited to 'en')
-rwxr-xr-x | en/4/download_index.php | 267 | ||||
-rw-r--r-- | en/4/index.php | 1 | ||||
-rw-r--r-- | en/4/nav.php | 24 | ||||
-rw-r--r-- | en/downloads/4/index.php | 2 | ||||
-rw-r--r-- | en/index.php | 4 | ||||
-rw-r--r-- | en/map/index.php | 1 |
6 files changed, 298 insertions, 1 deletions
diff --git a/en/4/download_index.php b/en/4/download_index.php new file mode 100755 index 000000000..dcd4f08fd --- /dev/null +++ b/en/4/download_index.php @@ -0,0 +1,267 @@ +<?php + +$name = 'Mageia'; +$version = '4'; +$release = 'alpha1'; + +define('HLANG', true); + +require '../../langs.php'; +_lang_load($locale, $version); +require '../downloads/get/lib.php'; + +function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext) +{ + $va = empty($variant) ? $arch : $variant . '-' . $arch; + $re = empty($release) ? $va : $release . '-' . $va; + + return implode('-', array($name, $version, $re, $medium)) . $ext; +} + +function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $unavailabletorrent = false) +{ + switch ($arch) { + case "i586": + $bit = _d('32bit'); + break; + case "x86_64": + $bit = _d('64bit'); + break; + case "dual": + $bit = _d('dualarch'); + break; + default: + $bit = ''; + break; + } + + echo 'forthcoming'; + /* + echo $torrent && $unavailabletorrent ? sprintf(_t('forthcoming')) : sprintf('<a rel="nofollow" href="?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)), + $bit + ); + */ +} + +?> + +<!DOCTYPE html> +<html dir="ltr" lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php echo sprintf(_t('Download %s %s %s'),$name, $version, $release)?></title> + <meta name="description" content="<?php _e('Download Mageia 4 DVD, CD, LiveCD, network install ISO images.') ?>"> + <meta name="keywords" content="<?php _e('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.'/'.$verion;?>/"> + <link rel="stylesheet" href="/g/style/all.css"> + <base href="http://<?php echo $_SERVER['HTTP_HOST'].'/'.$locale; ?>/downloads/get/"> + <?php include '../../analytics.php'; ?> + <style> + .unstable-release-warning { + padding: 1em 1em 1em 2.2em; + margin: 0; + background: #cc0000; + color: white; + text-align: left; + } + </style> +</head> +<body class="release downloads"> + <?php echo $hsnav; ?> + <h1 id="mgnavt"><?php echo sprintf(_t('Download <strong>%s %s %s</strong>'),$name, $version, $release)?></h1> + <?php include '../'.$version.'/nav.php'; ?> + <p class="unstable-release-warning"><?php _e('Be careful! This is an alpha, unstable release. It is only intended for developer use. <strong>DO NOT USE THIS IN PRODUCTION OR FOR OFFICIAL REVIEW.</strong>');?> </p> + + <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"> + <h2><?php _e('Classical Installation Flavours')?></h2> + <table class="fr-table dlt2"> + <thead> + <tr> + <th><?php _e('Format');?></th> + <th class="size"><?php _e('size');?></th> + <th><?php _e('link');?></th> + <th><?php _e('BitTorrent');?></th> + </tr> + </thead> + <tbody> + <tr> + <th class="name">DVD 32bit</th> + <td class="size">3.9GB</td> + <td> + <?php dl_link($name,$version,$release,$variant,'i586','DVD',false); + echo '</td><td>'; + dl_link($name,$version,$release,$variant,'i586','DVD',true);?> + </td> + </tr> + <tr> + <th class="name">DVD 64bit</th> + <td class="size">3.9GB</td> + <td> + <?php dl_link($name,$version,$release,$variant,'x86_64','DVD',false); + echo '</td><td>'; + dl_link($name,$version,$release,$variant,'x86_64','DVD',true);?> + </td> + </tr> + <tr> + <th class="name">CD</th> + <td class="size">700MB</td> + <td> + <?php dl_link($name,$version,$release,$variant,'dual','CD',false);; + echo '</td><td>'; + dl_link($name,$version,$release,$variant,'dual','CD',true);?> + </td> + </tr> + </tbody> + </table> + + <p class="dlinfo"><?php _e('Notes:'); ?></p> + <ul class="dlinfo hl"> + <li> + <?php _e('Up to 167 locales are supported:'); ?> + Deutsch, English, español, français, italiano, português, svenska, nederlands, + polski, dansk, Русский + <?php _e('and so much more!'); ?> + <a href="https://wiki.mageia.org/en/Mageia_2_supported_locales" hreflang="en"><?php _e('See the comprehensive list')?></a>.</li> + <li><?php + _e('These DVD and CD ISOs contains Free Software and some proprietary drivers.'); + _e('You will be asked of which kind of Software you want to install.'); + ?></li> + <li><?php _e('The CD contains only a minimal list of packages.')?></li> + </ul> + </div> + + <div class="para"> + <h2><?php _e('LiveCDs and LiveDVDs');?></h2> + <p class="dlinfo"><?php _e('Use LiveCDs and LiveDVDs for fresh new installs ONLY.');?> + <span class="warn"><?php _e('DO NOT use these LiveCDs or LiveDVDs to upgrade from Mageia 3!'); ?></span> + <table class="fr-table dlt2"> + <thead> + <tr> + <th><?php _e('Desktop');?></th> + <th class="size"><?php _e('size');?></th> + <th><?php _e('link');?></th> + <th><?php _e('BitTorrent');?></th> + </tr> + </thead> + <tbody> + <tr> + <th class="name">LiveDVD KDE<br> + <span class="dlinfo"><?php _e('All languages')?></span></th> + <td class="size">1.4GB</td> + <td> + <?php dl_link($name,$version,$release,'LiveDVD-KDE4','i586','DVD',false); + echo '<br>'; + dl_link($name,$version,$release,'LiveDVD-KDE4','x86_64','DVD',false); + echo '</td><td>'; + dl_link($name,$version,$release,'LiveDVD-KDE4','i586','DVD',true); + echo '<br>'; + dl_link($name,$version,$release,'LiveDVD-KDE4','x86_64','DVD',true);?> + </td> + </tr> + <tr> + <th class="name">LiveDVD GNOME<br> + <span class="dlinfo"><?php _e('All languages')?></span></th> + <td class="size">1.4GB</td> + <td> + <?php dl_link($name,$version,$release,'LiveDVD-GNOME','i586','DVD',false); + echo '<br>'; + dl_link($name,$version,$release,'LiveDVD-GNOME','x86_64','DVD',false); + echo '</td><td>'; + dl_link($name,$version,$release,'LiveDVD-GNOME','i586','DVD',true); + echo '<br>'; + dl_link($name,$version,$release,'LiveDVD-GNOME','x86_64','DVD',true);?> + </td> + <tr> + <th class="name">LiveCD KDE<br> + <span class="dlinfo"><?php _e('English only')?></span></th> + <td class="size">700MB</td> + <td> + <?php dl_link($name,$version,$release,'LiveCD-KDE4-en','i586','CD',false); + echo '</td><td>'; + dl_link($name,$version,$release,'LiveCD-KDE4-en','i586','CD',true);?> + </td> + </tr> + <tr> + <th class="name">LiveCD GNOME<br> + <span class="dlinfo"><?php _e('English only')?></span></th> + <td class="size">700MB</td> + <td> + <?php dl_link($name,$version,$release,'LiveCD-GNOME-en','i586','CD',false); + echo '</td><td>'; + dl_link($name,$version,$release,'LiveCD-GNOME-en','i586','CD',true);?> + </tr> + + </tbody> + </table> + + </div> + + <div class="para"> + <h2><?php _e('Wired Network-based Installation CD')?></h2> + <p class="dlinfo"><?php _e('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 _e('Format');?></th> + <th class="size"><?php _e('size');?></th> + <th><?php _e('link');?></th> + </tr> + </thead> + <tbody> + <tr> + <th><?php _e('Network installer, Free Software CD')?></th> + <td class="size">~35MB<br>~20MB</td> + <td><?php dl_link($name,$version,$release,'Boot','i586','CD',false); + echo '<br>'; + dl_link($name,$version,$release,'Boot','x86_64','CD',false);?> + </td> + </tr> + <tr> + <th><?php _e('Network installer + nonfree firmware CD')?><br> + <span class="dlinfo"><?php _e('needed for some disc controllers, some network cards, etc.')?></span></th> + <td class="size">~55MB<br>~30MB</td> + <td><?php dl_link($name,$version,$release,'Boot-nonfree','i586','CD',false); + echo '<br>'; + dl_link($name,$version,$release,'Boot-nonfree','x86_64','CD',false);?> + </td> + </tr> + </tbody> + </table> + + + </div> + </div> + <div class="yui-u"> + <div class="para" style="padding-left: 1em;"> + <ul class="hl"> + <li><?php _e('<a href="%s%s_%s_%s">Release notes</a>', array('https://wiki.mageia.org/en/',$name,$version,$release))?></li> + <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> + </ul> + <br> + <br> + <?php + _h('Looking for a stable release ?', null, 'h3'); + echo '<p>'; + _e('It is <a href="%s">here</a>.', array('/../downloads/')); + echo '</p>'; + ?> + </div> + <hr> + </div> + </div> + </div> + </div> +</body> +</html> diff --git a/en/4/index.php b/en/4/index.php new file mode 100644 index 000000000..d2f8c161a --- /dev/null +++ b/en/4/index.php @@ -0,0 +1 @@ +<?php include '../4/download_index.php'; diff --git a/en/4/nav.php b/en/4/nav.php new file mode 100644 index 000000000..42d0bef81 --- /dev/null +++ b/en/4/nav.php @@ -0,0 +1,24 @@ +<?php + +$nav = array( + "https://wiki.mageia.org/en/Mageia_4_Development#Development_Planning" => _t('Development roadmap'), + "https://wiki.mageia.org/en/FeatureMageia4_Review" => _t('Features review'), + "https://wiki.mageia.org/en/Mageia_4_$release" => _t('Release notes'), + _t('https://wiki.mageia.org/en/Mageia_4_Errata') => _t('Errata'), + "//bugs.mageia.org/" => _t('Bugs Reports'), +); + +$sru = trim($_SERVER['REQUEST_URI']); + +$pnav = array(); +foreach ($nav as $k => $v) { + $pnav[] = sprintf('<li><a href="%s"%s>%s</a></li>', + $k, + $k == $sru ? ' class="sel"' : null, + $v); +} +$pnav = implode($pnav); + +echo <<<S +<div id="mgnavsub"><ul id="mgnavsubl">{$pnav}</ul></div> +S; diff --git a/en/downloads/4/index.php b/en/downloads/4/index.php new file mode 100644 index 000000000..f03766845 --- /dev/null +++ b/en/downloads/4/index.php @@ -0,0 +1,2 @@ +<?php +header('Location: /4/'); diff --git a/en/index.php b/en/index.php index 8950cfa29..e4c95d5ca 100644 --- a/en/index.php +++ b/en/index.php @@ -245,7 +245,9 @@ $nav = array( </p> </li> <li><a href="contribute/" class="dl-btn-other"><?php _e('<strong>Get involved</strong> in the next version'); ?></a> - </li> + </li> + <!--<li><a href="4/" class="dl-btn-other"><?php _e('Test Mageia 4 alpha 1'); ?></a> + </li>--> </ul> </div> </div> diff --git a/en/map/index.php b/en/map/index.php index 6055ebfbd..bbe14e5c6 100644 --- a/en/map/index.php +++ b/en/map/index.php @@ -39,6 +39,7 @@ $map = array( 't' => _t('Downloads'), 'l' => '/{L}/downloads/', 'i' => array( + array('t' => _t('4 (in development)'), 'l' => '/{L}/4/'), array('t' => _t('3 (May 2013)'), 'l' => '/{L}/3/'), array('t' => _t('2 (May 2012)'), 'l' => '/{L}/2/'), array('t' => _t('1 (June 2011)'), 'l' => '/{L}/1/'), |