aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
Diffstat (limited to 'en')
-rw-r--r--en/4/download_index.php51
-rw-r--r--en/4/index.php83
-rw-r--r--en/5/download_index.php89
-rw-r--r--en/5/index.php5
-rw-r--r--en/5/nav.php2
-rw-r--r--en/6/download_index.php15
-rw-r--r--en/6/nav.php2
-rw-r--r--en/7/download_index.php18
-rw-r--r--en/7/nav.php2
-rw-r--r--en/8/download_index.php424
-rw-r--r--en/8/index.php130
-rw-r--r--en/8/nav.php32
-rw-r--r--en/9/download_index.php424
-rw-r--r--en/9/index.php130
-rw-r--r--en/9/nav.php32
-rw-r--r--en/about/code-of-conduct/index.php6
-rw-r--r--en/about/constitution/index.php13
-rw-r--r--en/about/index.php9
-rw-r--r--en/about/license/index.php15
-rw-r--r--en/about/media/index.php6
-rw-r--r--en/about/policies/privacy/index.php5
-rw-r--r--en/about/reports/index.php10
-rw-r--r--en/about/values/index.php6
-rw-r--r--en/calendar/index.php13
-rw-r--r--en/community/index.php11
-rw-r--r--en/contact/index.php8
-rw-r--r--en/contribute/index.php12
-rw-r--r--en/doc/archive.php24
-rw-r--r--en/doc/doc.php17
-rw-r--r--en/doc/index.php37
-rw-r--r--en/donate/index.php11
-rw-r--r--en/downloads/alternative/index.php6
-rw-r--r--en/downloads/get/definitions.ini355
-rw-r--r--en/downloads/get/definitions_doc.ini41
-rw-r--r--en/downloads/get/index.php49
-rw-r--r--en/downloads/get/lib.php17
-rw-r--r--en/downloads/index.php2
-rw-r--r--en/downloads/prerelease/download_index.php20
-rw-r--r--en/downloads/prerelease/nav.php8
-rw-r--r--en/index.php122
-rw-r--r--en/map/index.php7
-rw-r--r--en/support/index.php30
-rw-r--r--en/thank-you/index.php16
-rw-r--r--en/timeline/index.php41
44 files changed, 2054 insertions, 302 deletions
diff --git a/en/4/download_index.php b/en/4/download_index.php
index f0f1260d0..23fb68464 100644
--- a/en/4/download_index.php
+++ b/en/4/download_index.php
@@ -6,15 +6,16 @@ define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('4', 'common_footer'));
require '../downloads/get/lib.php';
+$rtl = is_locale_rtl($locale);
-function get_mageia_image_file_name($variant = null, $arch, $medium, $ext)
+function get_mageia_image_file_name($variant, $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)
+function dl_link($variant, $arch, $medium, $torrent = false, $unavailabletorrent = false)
{
switch ($arch) {
case "i586":
@@ -42,7 +43,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
?>
<!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo sprintf(_r('Download') . ' Mageia 4.1')?></title>
@@ -54,18 +55,18 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
<?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
</head>
-<body class="release downloads">
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?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" style="margin-bottom: 0px;">
+ <div id="doc4" class="yui-t7" style="margin-bottom: 0px; <?php echo $rtl ? 'text-align: right;"' : ''?>">
<div id="bd" role="main">
<div class="yui-ge bb1">
<div class="yui-u first rb1">
<div class="para" id="classical">
<?php
_g('But please remember that it already <a href="%s">reached EOL</a>.', array(_r('http://blog.mageia.org/en/2015/09/10/mageia-4-about-to-reach-its-end-of-life/')), 'h2 class="warn"');
- _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(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')),'p');
+ _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(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')),'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(_r('http://blog.mageia.org/en/2014/06/20/pulling-mageia-4-1-out-of-the-hat/')),'p');
?>
@@ -73,15 +74,15 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
<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>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('Format');?></th>
+ <th<?php echo $rtl ? ' style="text-align: right;"' : ' class="size"'?>><?php _g('size');?></th>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('link');?></th>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('BitTorrent');?></th>
</tr>
</thead>
<tbody>
<tr>
- <th class="name" style="width:60%">DVD 32bit<br>DVD 64bit<br>
+ <th<?php echo $rtl ? ' class="size"' : ''?> 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>
@@ -95,7 +96,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
</td>
</tr>
<tr>
- <th class="name">DVD dualarch<br>
+ <th<?php echo $rtl ? ' class="size"' : ''?> class="name">DVD dualarch<br>
<span class="dlinfo"><?php _g('Desktop'); ?>: XFCE</span></th>
<td class="size">1GB</td>
<td>
@@ -131,15 +132,15 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
<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>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('Desktop');?></th>
+ <th<?php echo $rtl ? ' style="text-align: right;"' : ' class="size"'?>><?php _g('size');?></th>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('link');?></th>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('BitTorrent');?></th>
</tr>
</thead>
<tbody>
<tr>
- <th class="name" style="width:60%">LiveDVD KDE<br>
+ <th<?php echo $rtl ? ' class="size"' : ''?> class="name" style="width:60%">LiveDVD KDE<br>
<span class="dlinfo"><?php _g('All languages')?></span></th>
<td class="size">1.4GB</td>
<td>
@@ -153,7 +154,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
</td>
</tr>
<tr>
- <th class="name">LiveDVD GNOME<br>
+ <th<?php echo $rtl ? ' class="size"' : ''?> class="name">LiveDVD GNOME<br>
<span class="dlinfo"><?php _g('All languages')?></span></th>
<td class="size">1.4GB</td>
<td>
@@ -166,7 +167,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
dl_link('LiveDVD-GNOME','x86_64','DVD',true);?>
</td>
<tr>
- <th class="name">LiveCD KDE<br>
+ <th<?php echo $rtl ? ' class="size"' : ''?> class="name">LiveCD KDE<br>
<span class="dlinfo"><?php _g('English only')?></span></th>
<td class="size">700MB</td>
<td>
@@ -176,7 +177,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
</td>
</tr>
<tr>
- <th class="name">LiveCD GNOME<br>
+ <th<?php echo $rtl ? ' class="size"' : ''?> class="name">LiveCD GNOME<br>
<span class="dlinfo"><?php _g('English only')?></span></th>
<td class="size">700MB</td>
<td>
@@ -197,14 +198,14 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
<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 echo $rtl ? ' class="size"' : ''?>><?php _g('Format');?></th>
+ <th<?php echo $rtl ? ' style="text-align: right;"' : ' class="size"'?>><?php _g('size');?></th>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?php _g('link');?></th>
</tr>
</thead>
<tbody>
<tr>
- <th><?php _g('Network installer, Free Software CD')?></th>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?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>';
@@ -212,7 +213,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
</td>
</tr>
<tr>
- <th><?php _g('Network installer + nonfree firmware CD')?><br>
+ <th<?php echo $rtl ? ' class="size"' : ''?>><?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);
diff --git a/en/4/index.php b/en/4/index.php
index ac3d499d3..eacf6ce5e 100644
--- a/en/4/index.php
+++ b/en/4/index.php
@@ -2,11 +2,12 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('4', 'common_footer'));
?>
<!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia 4')?></title>
@@ -14,11 +15,13 @@ $dictionary = read_translation_file($locale, array('4', 'common_footer'));
<?php echo common_header(); ?>
<meta name="description" content="<?php _g('Mageia 4 is the new, solid, stable Linux distribution from the Mageia project.')?>">
<?php include '../../analytics.php'; ?>
- <style>.para{text-align: justify;text-align: -webkit-auto;}</style>
- <link rel="stylesheet" href="/g/style/bjqs.css">
- <script src="/g/js/jquery-1.10.1.min.js"></script>
- <script src="/g/js/bjqs-1.3.min.js"></script>
- </head>
+ <style>.para{text-align: justify;text-align: -webkit-auto;}
+ .bg-caption { background-color: rgba(38, 47, 69, 0.5); color: white; font-weight: bolder}
+ .bg-caption a { color: rgba(38, 47, 69, 0.9) }
+ .carousel-indicators li { height: 5px }
+ .carousel-indicators .active { background-color: rgba(14, 142, 255, 1) }
+ </style>
+</head>
<body class="downloads">
<?php echo $hsnav; ?>
@@ -26,7 +29,7 @@ $dictionary = read_translation_file($locale, array('4', 'common_footer'));
<?php include '../4/nav.php'; ?>
<div id="doc5" class="yui-t3" style="margin-bottom: 0px;">
<div id="bd" role="main">
- <div class="yui-ge bb1">
+ <div class="yui-ge bb1 row">
<div class="yui-u first" style="width:55.5%">
<div class="para">
@@ -63,24 +66,54 @@ $dictionary = read_translation_file($locale, array('4', 'common_footer'));
<div class="yui-u" style="width:44.5%">
<div id="banner" style="text-align:center; display: block; padding: 2em 0em 4em;">
- <!-- start Basic Jquery Slider -->
- <ul class="bjqs">
- <li><img src="/g/4/kde.png" title="KDE" alt="KDE"></li>
- <li><img src="/g/4/razorqt.png" title="RazorQT" alt="RazorQT"></li>
- <li><img src="/g/4/xfce.png" title="XFCE" alt="XFCE"></li>
- <li><img src="/g/4/gnome.png" title="Gnome" alt="Gnome"></li>
- <li><img src="/g/4/cinnamon.png" title="Cinnamon" alt="Cinnamon"></li>
- <li><img src="/g/4/mate.png" title="Mate" alt="Mate"></li>
- <li><img src="/g/4/mageiawelcome1.png" title="Mageia Welcome 1." alt="Mageia Welcome 1."></li>
- <li><img src="/g/4/mageiawelcome2.png" title="Mageia Welcome 2." alt="Mageia Welcome 2."></li>
- <li><img src="/g/4/mageiawelcome3.png" title="Mageia Welcome 3." alt="Mageia Welcome 3."></li>
- <li><img src="/g/4/mageiawelcome4.png" title="Mageia Welcome 4." alt="Mageia Welcome 4."></li>
- <li><img src="/g/4/mageiawelcome5.png" title="Mageia Welcome 5." alt="Mageia Welcome 5."></li>
- <li><img src="/g/4/drakconf.png" title="<?php _g('Mageia Control Center');?>" alt="<?php _g('Mageia Control Center');?>"></li>
- </ul>
-
- </div>
- <div class="para" style="padding: 1em 2em 1em 0em">
+
+<div id="carouselMga" class="carousel carousel-fade slide" data-ride="carousel">
+ <ol class="carousel-indicators">
+<?php
+for ($i = 0; $i < 12; $i++) {
+ $li = sprintf('<li data-target="#carouselMga" data-slide-to="%s"%s></li>'. PHP_EOL, $i, $i == 0 ? ' class="active"' : '');
+ echo $li;
+}
+?>
+ </ol>
+<div class="carousel-inner">
+<?php
+function carousel($src, $ttl, $active = false){
+ $div = sprintf('<div class="carousel-item%s">', $active ? ' active' : '') ;
+ $div .= sprintf('<img class="d-block rounded-lg img-fluid"') ;
+ $div .= sprintf (' src="%s" alt="%s" title="%s">',$src, $ttl, $ttl);
+ $div .= sprintf('<div class="carousel-caption d-none d-md-block bg-caption">');
+ $div .= sprintf('<h5>%s</h5>',$ttl);
+ $div .= sprintf('</div>');
+ $div .= sprintf ('</div>'. PHP_EOL);
+ echo $div;
+}
+ carousel('/g/4/kde.png', 'KDE', true );
+ carousel('/g/4/razorqt.png', 'RazorQT');
+ carousel('/g/4/xfce.png', 'XFCE');
+ carousel('/g/4/gnome.png', 'GNOME');
+ carousel('/g/4/cinnamon.png', 'CINNAMON');
+ carousel('/g/4/mate.png', 'mate');
+ carousel('/g/4/mageiawelcome1.png', 'mageiawelcome1');
+ carousel('/g/4/mageiawelcome2.png', 'mageiawelcome2');
+ carousel('/g/4/mageiawelcome3.png', 'mageiawelcome3');
+ carousel('/g/4/mageiawelcome4.png', 'mageiawelcome4');
+ carousel('/g/4/mageiawelcome5.png', 'mageiawelcome5');
+ carousel('/g/4/drakconf.png', _r('Mageia Control Center') );
+?>
+ <a class="carousel-control-prev" href="#carouselMga" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only"><?php _r('previous')?></span>
+ </a>
+ <a class="carousel-control-next" href="#carouselMga" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only"><?php _r('next')?></span>
+ </a>
+ </div>
+</div>
+</div> <!-- div banner -->
+
+<div class="para" style="padding: 1em 2em 1em 0em">
<?php
_g('Mageia in context', null, 'h2');
diff --git a/en/5/download_index.php b/en/5/download_index.php
index 05e7c03b8..834455ff1 100644
--- a/en/5/download_index.php
+++ b/en/5/download_index.php
@@ -13,6 +13,7 @@ define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('5', 'common_footer'));
+$rtl = is_locale_rtl($locale);
function get_mageia($name, $version, $release)
{
@@ -20,7 +21,7 @@ function get_mageia($name, $version, $release)
return implode('-', array($name, $re));
}
-function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext)
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
{
$va = empty($variant) ? $arch : $variant . '-' . $arch;
$re = empty($release) ? $va : $release . '-' . $va;
@@ -28,7 +29,7 @@ function get_mageia_image_file_name($name, $version, $release, $variant = null,
return implode('-', array($name, $version, $re, $medium)) . $ext;
}
-function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $torrentavailable = true)
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
{
switch ($arch) {
case "i586":
@@ -57,7 +58,7 @@ function get_image($ttl, $src, $sty){
?>
<!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?></title>
@@ -103,42 +104,42 @@ input[type="radio"], input[type="submit"] {
}
</style>
</head>
-<body class="release downloads">
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
<?php include '../5/nav.php'; ?>
- <div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
+ <div id="doc4" class="yui-t7" style="margin-bottom: 0px;"<?php echo $rtl ? ' text-align: right;"' : ''?>">
<div id="bd" role="main">
<div class="yui-ge bb1 row">
<div class="yui-u first col-md-8">
<noscript>
-<div class="para warn"><?php _g('It looks like you have JavaScript disable. Please <a href="%s">enable</a> it to have better render. At the <a href="%s">end</a> of this page there will be download link for you. But what is written between is important.',array('http://www.enable-javascript.com/','#Fclassical'),'p'); ?></div>
+<div class="para warn"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#Fclassical'),'p' . ($rtl ? ' style="text-align: right;"' : '')); ?></div>
<style>.radiobutton .ui-button{display: none;}</style>
</noscript>
<div class="para">
- <?php _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_r('https://blog.mageia.org/en/2018/09/15/summers-end-roundup-2018/')), 'h2 class="warn"'); ?>
- <p>
+ <?php _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_r('https://blog.mageia.org/en/2018/09/15/summers-end-roundup-2018/')), 'h2 class="warn"' . ($rtl ? ' style="text-align: right;"' : '')); ?>
+ <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
<?php _g('Mageia is provided as ISO image files that have to be written to blank <a href="%s">CD or DVD discs</a>.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')), ' '); ?>
<br>
<?php _g('The important addition is that Mageia 5.1 can be installed on <a href="%s"><abbr title="NVM Express">NVMe</abbr> hardware</a>.', array(_r('https://en.wikipedia.org/wiki/NVM_Express'))); ?>
<br><br>
<?php _g('All ISOs can also be launched from a <a %s>USB drive</a>.', array('href="' . _r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive') . '"'));
echo '</p>';
- _g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('class="iso2usb"'),'p');
+ _g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('class="iso2usb"'),'p' . ($rtl ? ' style="text-align: right;"' : ''));
echo '<ul><li>';
- _g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
- _g('Unetbootin is not supported.', null, 'span class="warn"'); ?>
+ _g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" ' . ($rtl ? ' style="text-align: right;"' : '') . '>', '</span>'), ' ');
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
</li>
- <?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
+ <?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li' . ($rtl ? ' style="text-align: right;"' : '')); ?>
</ul>
- <div id="iso2usbEx"><p>
+ <div id="iso2usbEx"><p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
<?php _g('"Dumping" an image onto a flash device destroys any prior file-system in the partition; access to any data not destroyed will be lost, and partition capacity will be reduced to the image size. In other words, all prior data on the device is at risk.'); ?>
</p></div>
- <p>
+ <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
<?php _g('If you have <a href="%s">UEFI</a>, a procedure is available in the <a href="%s">wiki</a>.', array(_r('http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface'),_r('https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware' /*this will be changed to tooltip, so no more url*/))) ;?>
</p>
</div>
@@ -147,22 +148,22 @@ input[type="radio"], input[type="submit"] {
<?php if($classical == true){?>
<div id="classicalEx">
- <?php _g('Classical Installation Flavours',null,'h2')?>
+ <?php _g('Classical Installation Flavours',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''))?>
- <?php _g('The Classical ISO is the traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p'); ?>
- <p>
+ <?php _g('The Classical ISO is the traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p' . ($rtl ? ' style="text-align: right;"' : '')); ?>
+ <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>>
<?php _g('Up to 167 locales are supported:'); ?>
Deutsch, English, Español, Français, Italiano, Português, Svenska, Nederlands, Polski, Dansk, Pусский
<?php _g('and so much more!'); ?>
<a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.
</p>
- <p><?php
+ <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>><?php
_g('These ISOs contains Free Software and some proprietary drivers.');
_g('You will be asked of which kind of Software you want to install.');
_g('The installer includes the capability of adding the online Mageia repositories during the installation, which means you can install even more packages than those available on the ISO.');?>
</p>
- <?php _g('For 32 and 64bit, size of the ISOs is about %sGB.',array('3.7'),'p class="dlinfo"');?>
+ <?php _g('For 32 and 64bit, size of the ISOs is about %sGB.',array('3.7'),'p class="dlinfo"' . ($rtl ? ' style="text-align: right;"' : ''));?>
</div>
<?php } ?>
@@ -170,26 +171,26 @@ input[type="radio"], input[type="submit"] {
<?php if($live == true){?>
<div id="liveEx">
- <?php _g('LiveDVDs',null,'h3');?>
+ <?php _g('LiveDVDs',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));?>
- <?php _g('Live ISO\'s let you try %s without installation. You can run Mageia directly from a CD, DVD or USB device, and try it using one of the graphical user interfaces such as GNOME or KDE.', array("$name $version"), 'p');
- _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p');?>
+ <?php _g('Live ISO\'s let you try %s without installation. You can run Mageia directly from a CD, DVD or USB device, and try it using one of the graphical user interfaces such as GNOME or KDE.', array("$name $version"), 'p' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p' . ($rtl ? ' style="text-align: right;"' : ''));?>
- <p><?php _g('Use LiveDVDs for fresh new installs ONLY.');?>
+ <p<?php echo $rtl ? ' style="text-align: right;"' : ''?>><?php _g('Use LiveDVDs for fresh new installs ONLY.');?>
<span class="warn"><?php _g('DO NOT use these LiveDVDs to upgrade from the prior Mageia release!'); ?></span>
<?php _g('Use a classical installation and see <a href="%s" hreflang="en">upgrade guide</a>.', array($upgradeguide));?>
</p>
- <?php _g('For LiveDVDs, size of the ISOs is about %sGB.',array('1.6'),'p class="dlinfo"');?>
+ <?php _g('For LiveDVDs, size of the ISOs is about %sGB.',array('1.6'),'p class="dlinfo"' . ($rtl ? ' style="text-align: right;"' : ''));?>
</div>
<?php } ?>
<div id="lanEx">
- <?php _g('Wired Network-based Installation CD',null,'h3');
- _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.',null,'p');
- _g('Have a look in the <a href="%s">wiki</a> to get a list of possibilities.',array(_r('https://wiki.mageia.org/en/Boot.iso_install')),'p');
+ <?php _g('Wired Network-based Installation CD',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('Have a look in the <a href="%s">wiki</a> to get a list of possibilities.',array(_r('https://wiki.mageia.org/en/Boot.iso_install')),'p' . ($rtl ? ' style="text-align: right;"' : ''));
- _g('Size of the ISOs is about 50MB.',null,'p class="dlinfo"');?>
+ _g('Size of the ISOs is about 50MB.',null,'p class="dlinfo"' . ($rtl ? ' style="text-align: right;"' : ''));?>
</div>
<div class="radiobutton">
@@ -202,7 +203,7 @@ input[type="radio"], input[type="submit"] {
</div>
<?php if( !$dual || !$live || !$classical ){?>
-<p style="margin-top:1.5em;" class="warn">
+<p style="margin-top:1.5em;<?php echo $rtl ? ' text-align: right;' : ''?>" class="warn">
<?php if(!$live) {_g('LiveCDs and LiveDVDs are not yet available.');}?>
<?php if(!$classical){ _g('Classical Installation flavours is not yet available.');}?>
</p>
@@ -233,15 +234,15 @@ input[type="radio"], input[type="submit"] {
</div><?php }/*live*/?>
<div class="para" id="nat">
- <?php _g('Network installer',null,'h2');?>
+ <?php _g('Network installer',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''));?>
<div id="freeEx">
- <?php _g('Network installer, Free Software CD', null,'h3');
- _g('Contain only free software',null,'p')?>
+ <?php _g('Network installer, Free Software CD', null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('Contain only free software',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
</div>
<div id="nonfreeEx">
- <?php _g('Network installer + nonfree firmware CD', null,'h3');
- _g('Contain nonfree drivers needed for some disc controllers, some network cards, etc.',null,'p')?>
+ <?php _g('Network installer + nonfree firmware CD', null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('Contain nonfree drivers needed for some disc controllers, some network cards, etc.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
</div>
<div class="radiobutton">
<input type="radio" id="free" value="-" name="nat" />
@@ -252,14 +253,14 @@ input[type="radio"], input[type="submit"] {
</div>
<div class="para" id="arch">
- <?php _g('Supported Architecture',null,'h2');?>
+ <?php _g('Supported Architecture',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''));?>
<div id='64bEx'>
- <?php _g('64 bit',null,'h3');
- _g('Most new computers support x86-64 (also known as AMD64 and Intel64), but some laptop processors and netbook processors do not support it.',null,'p')?>
+ <?php _g('64 bit',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('Most new computers support x86-64 (also known as AMD64 and Intel64), but some laptop processors and netbook processors do not support it.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
</div>
<div id='32bEx'>
- <?php _g('32 bit',null,'h3');
- _g('This version runs on all PCs including those that support 64 Bit. If you have more than 3 GB of RAM you should prefer the 64 Bit version though.',null,'p')?>
+ <?php _g('32 bit',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('This version runs on all PCs including those that support 64 Bit. If you have more than 3 GB of RAM you should prefer the 64 Bit version though.',null,'p' . ($rtl ? ' style="text-align: right;"' : ''))?>
</div>
<div class="radiobutton">
@@ -271,18 +272,18 @@ input[type="radio"], input[type="submit"] {
</div>
<div class="dllink para" id="dllink" >
- <?php _g('Download Method',null,'h2');?>
+ <?php _g('Download Method',null,'h2' . ($rtl ? ' style="text-align: right;"' : ''));?>
<div id="directEx">
- <?php _g('Direct Link',null,'h3');
- _g('You will be redirected to a HTTP or FTP mirror.',null,'p') ?>
+ <?php _g('Direct Link',null,'h3' . ($rtl ? ' style="text-align: right;"' : ''));
+ _g('You will be redirected to a HTTP or FTP mirror.',null,'p' . ($rtl ? ' style="text-align: right;"' : '')) ?>
</div>
<div id="torrentEx">
<?php if($torrentavailable){ ?>
<?php _g('BitTorrent',null,'h3');
- _g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p');?>
-<?php } else { echo _g('BitTorrent link are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
+ _g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p' . ($rtl ? ' style="text-align: right;"' : ''));?>
+<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"' . ($rtl ? ' style="text-align: right;"' : '')); } ?>
</div>
<div class="radiobutton">
diff --git a/en/5/index.php b/en/5/index.php
index c93db2491..d8af2bb6e 100644
--- a/en/5/index.php
+++ b/en/5/index.php
@@ -2,11 +2,12 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('5', 'common_footer'));
?>
<!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia 5.1')?></title>
@@ -15,7 +16,7 @@ $dictionary = read_translation_file($locale, array('5', 'common_footer'));
<?php include '../../analytics.php'; ?>
<style> .fixed-img{ max-height:342px } </style>
</head>
-<body class="downloads">
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="downloads">
<?php echo $hsnav; ?>
<h1 id="mgnavt"><a href="../5/">Mageia 5.1</a></h1>
diff --git a/en/5/nav.php b/en/5/nav.php
index e6777bc16..487b88d02 100644
--- a/en/5/nav.php
+++ b/en/5/nav.php
@@ -17,7 +17,7 @@ $sru = trim($_SERVER['REQUEST_URI']);
$pnav = array();
foreach ($nav as $k => $v) {
- $pnav[] = sprintf('<li class="flex-sm-fill text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
+ $pnav[] = sprintf('<li class="text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
$k,
$k == $sru ? ' class="nav-link active"' : ' class="nav-link"',
$v);
diff --git a/en/6/download_index.php b/en/6/download_index.php
index 09cba0386..0261d942b 100644
--- a/en/6/download_index.php
+++ b/en/6/download_index.php
@@ -14,6 +14,7 @@ define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('6', 'common_footer'));
+$rtl = is_locale_rtl($locale);
function get_mageia($name, $version, $release)
{
@@ -21,7 +22,7 @@ function get_mageia($name, $version, $release)
return implode('-', array($name, $re));
}
-function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext)
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
{
$va = empty($variant) ? $arch : $variant . '-' . $arch;
$re = empty($release) ? $va : $release . '-' . $va;
@@ -29,7 +30,7 @@ function get_mageia_image_file_name($name, $version, $release, $variant = null,
return implode('-', array($name, $version, $re, $medium)) . $ext;
}
-function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $torrentavailable = true)
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
{
switch ($arch) {
case "i586":
@@ -58,7 +59,7 @@ function get_image($ttl, $src, $sty){
?>
<!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?></title>
@@ -86,7 +87,7 @@ input[type="radio"], input[type="submit"], .popover-content {
}
</style>
</head>
-<body class="release downloads">
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
@@ -107,7 +108,7 @@ input[type="radio"], input[type="submit"], .popover-content {
<div class="yui-u first col-md-8">
<noscript>
-<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disable. Please <a href="%s">enable</a> it to have better render. At the <a href="%s">end</a> of this page there will be download link for you. But what is written between is important.',array('http://www.enable-javascript.com/','#Fclassical'),'p'); ?></div>
+<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#Fclassical'),'p'); ?></div>
<style>.pop{display: none;} .popover-content{display:block ;}</style>
</noscript>
@@ -122,7 +123,7 @@ input[type="radio"], input[type="submit"], .popover-content {
_g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('href="#" data-tip="iso2usb" class="pop"'),'p');
echo '<ul><li>';
_g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
- _g('Unetbootin is not supported.', null, 'span class="warn"'); ?>
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
</li>
<?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
</ul>
@@ -296,7 +297,7 @@ input[type="radio"], input[type="submit"], .popover-content {
<?php if($torrentavailable){ ?>
<?php _g('BitTorrent',null,'h3');
_g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p');?>
-<?php } else { echo _g('BitTorrent link are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
+<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
</div>
<div class="d-sm-flex justify-content-center">
diff --git a/en/6/nav.php b/en/6/nav.php
index 7cfb49d2e..b6aad63d0 100644
--- a/en/6/nav.php
+++ b/en/6/nav.php
@@ -20,7 +20,7 @@ $sru = trim($_SERVER['REQUEST_URI']);
$pnav = array();
foreach ($nav as $k => $v) {
- $pnav[] = sprintf('<li class="flex-sm-fill text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
+ $pnav[] = sprintf('<li class="text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
$k,
$k == $sru ? ' class="nav-link active"' : ' class="nav-link"',
$v);
diff --git a/en/7/download_index.php b/en/7/download_index.php
index 9dea8c793..7e77bd5ce 100644
--- a/en/7/download_index.php
+++ b/en/7/download_index.php
@@ -14,6 +14,7 @@ define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('7', 'common_footer'));
+$rtl = is_locale_rtl($locale);
function get_mageia($name, $version, $release)
{
@@ -21,7 +22,7 @@ function get_mageia($name, $version, $release)
return implode('-', array($name, $re));
}
-function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext)
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
{
$va = empty($variant) ? $arch : $variant . '-' . $arch;
$re = empty($release) ? $va : $release . '-' . $va;
@@ -29,7 +30,7 @@ function get_mageia_image_file_name($name, $version, $release, $variant = null,
return implode('-', array($name, $version, $re)) . $ext;
}
-function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $torrentavailable = true)
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
{
switch ($arch) {
case "i586":
@@ -58,7 +59,7 @@ function get_image($ttl, $src, $sty){
?>
<!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?></title>
@@ -86,7 +87,7 @@ input[type="radio"], input[type="submit"], .popover-content {
}
</style>
</head>
-<body class="release downloads">
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
@@ -97,13 +98,13 @@ input[type="radio"], input[type="submit"], .popover-content {
<div class="yui-u first col-md-8">
<noscript>
-<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disable. Please <a href="%s">enable</a> it to have better render. At the <a href="%s">end</a> of this page there will be download link for you. But what is written between is important.',array('http://www.enable-javascript.com/','#NoscriptDownload'),'p'); ?></div>
+<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#NoscriptDownload'),'p'); ?></div>
<style>.pop{display: none;} .popover-content{display:block ;}</style>
</noscript>
<div class="para">
<?php // _g('But please remember that it will soon <a href="%s">reach EOL</a>.', array('../support/'), 'h2 class="warn"');
- // _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_not_yet('https://blog.mageia.org/en/2019/.../')), 'h2 class="warn"'); ?>
+ _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_r('https://blog.mageia.org/en/2021/06/08/mageia-7-will-reach-end-of-support-on-30th-of-june-the-king-is-dead-long-live-the-king/')), 'h2 class="warn"'); ?>
<p>
<?php _g('Mageia is provided as ISO image files that have to be written to blank <a href="%s">CD or DVD discs</a>.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')), ' '); ?>
<br>
@@ -112,7 +113,7 @@ input[type="radio"], input[type="submit"], .popover-content {
_g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('href="#" data-tip="iso2usb" class="pop"'),'p');
echo '<ul><li>';
_g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
- _g('Unetbootin is not supported.', null, 'span class="warn"'); ?>
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
</li>
<?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
</ul>
@@ -286,7 +287,7 @@ input[type="radio"], input[type="submit"], .popover-content {
<?php if($torrentavailable){ ?>
<?php _g('BitTorrent',null,'h3');
_g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p');?>
-<?php } else { echo _g('BitTorrent link are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
+<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
</div>
<div class="d-sm-flex justify-content-center">
@@ -393,6 +394,7 @@ $('img.lazy').each(function(){
$('input[name=desktop]').click(function () {
$('#arch')[ $('#gnome,#kde,#xfce').is(':checked') ? 'slideDown' : 'slideUp']();
$('label[for="32b"]')[$('#gnome,#kde').is(':checked') ? 'hide' : 'show']()
+ $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
lazyload();
});
diff --git a/en/7/nav.php b/en/7/nav.php
index bac0e9366..9a326469f 100644
--- a/en/7/nav.php
+++ b/en/7/nav.php
@@ -20,7 +20,7 @@ $sru = trim($_SERVER['REQUEST_URI']);
$pnav = array();
foreach ($nav as $k => $v) {
- $pnav[] = sprintf('<li class="flex-sm-fill text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
+ $pnav[] = sprintf('<li class="text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
$k,
$k == $sru ? ' class="nav-link active"' : ' class="nav-link"',
$v);
diff --git a/en/8/download_index.php b/en/8/download_index.php
new file mode 100644
index 000000000..d84777776
--- /dev/null
+++ b/en/8/download_index.php
@@ -0,0 +1,424 @@
+<?php
+
+$name = 'Mageia';
+$version = '8';
+$versionOld = ''; //if version for classical iso differ to livecd
+$release = '';
+$torrentavailable=true;
+$classical=true;
+$live=true;
+
+
+define('HLANG', true);
+define('ALIGNMENT', 'Center');
+
+require '../../langs.php';
+$dictionary = read_translation_file($locale, array('8', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
+function get_mageia($name, $version, $release)
+{
+ $re = empty($release) ? $version : $version . '-' . $release;
+ return implode('-', array($name, $re));
+}
+
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
+{
+ $va = empty($variant) ? $arch : $variant . '-' . $arch;
+ $re = empty($release) ? $va : $release . '-' . $va;
+
+ return implode('-', array($name, $version, $re)) . $ext;
+}
+
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
+{
+ switch ($arch) {
+ case "i586":
+ $bit = _r('32 bit');
+ break;
+ case "x86_64":
+ $bit = _r('64 bit');
+ break;
+ default:
+ $bit = '';
+ break;
+ }
+
+echo $torrent && !$torrentavailable ? 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)),
+ $bit
+ );
+}
+
+function get_image($ttl, $src, $sty){
+ echo sprintf('<noscript><img class="lazy" src="%s" alt="%s" title="%s" style="%s" /></noscript>', $src, $ttl, $ttl, $sty);
+ echo sprintf('<img class="lazy" src="%s" alt="%s" title="%s" style="%s" />', $src, $ttl, $ttl, $sty);
+}
+
+?>
+<!DOCTYPE html>
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
+<head>
+ <meta charset="utf-8">
+ <title><?php echo sprintf(_g('Download %s %s %s', array($declension_name = _r('Mageia'), $version, $release)))?></title>
+ <meta name="description" content="<?php _g('Download %s DVD, LiveDVD, network install ISO images.', array("$name $version"))?>">
+ <meta name="keywords" content="<?php _g('mageia, %s, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent', array("$name $version"))?>">
+ <meta name="robots" content="index,nofollow,nosnippet">
+ <link rel="canonical" href="/<?php echo $locale.'/'.$version;?>/">
+ <?php echo common_header(); ?>
+ <?php include '../../analytics.php'; ?>
+ <style>
+
+input[type="radio"]:checked + label,.ui-button:active {
+ background: #2383C2;
+ background: -webkit-linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ background: -moz-linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ background: -o-linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ background: linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ color: white;
+}
+input[type="radio"], input[type="submit"], .popover-content {
+ display: none;
+}
+.warn {
+ color:#a00;
+}
+</style>
+</head>
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
+ <?php echo $hsnav; ?>
+
+ <h1 id="mgnavt"><?php echo sprintf(_g('Download <strong>%s %s %s</strong>', array($declension_name, $version, $release)))?></h1>
+ <?php include '../8/nav.php'; ?>
+
+ <div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
+ <div id="bd" role="main">
+ <div class="yui-ge bb1 row">
+ <div class="yui-u first col-md-8">
+
+<noscript>
+<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#NoscriptDownload'),'p'); ?></div>
+<style>.pop{display: none;} .popover-content{display:block ;}</style>
+</noscript>
+
+<div class="para">
+ <?php // _g('But please remember that it will soon <a href="%s">reach EOL</a>.', array('../support/'), 'h2 class="warn"');
+ // _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_not_yet('https://blog.mageia.org/en/2019/.../')), 'h2 class="warn"'); ?>
+ <p>
+ <?php _g('Mageia is provided as ISO image files that have to be written to blank <a href="%s">CD or DVD discs</a>.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')), ' '); ?>
+ <br>
+ <?php _g('All ISOs can also be launched from a <a %s>USB drive</a>.', array('href="' . _r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive') . '"'));
+ echo '</p>';
+ _g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('href="#" data-tip="iso2usb" class="pop"'),'p');
+ echo '<ul><li>';
+ _g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
+ </li>
+ <?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
+ </ul>
+ <div id="iso2usbEx" class="popover-content"><p>
+ <?php _g('"Dumping" an image onto a flash device destroys any prior file-system in the partition; access to any data not destroyed will be lost, and partition capacity will be reduced to the image size. In other words, all prior data on the device is at risk.'); ?>
+ </p></div>
+ <p>
+ <?php _g('If you have <a href="%s">UEFI</a>, a procedure is available in the <a href="%s">wiki</a>.', array(_r('http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface'),_r('https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware' /*this will be changed to tooltip, so no more url*/))) ;?>
+ </p>
+<?php
+ echo '<p>';
+ _g('ISO image files have been updated to support new hardware.', null, ' ');
+// _g('They are called Mageia %s release to distinguish them from the original Mageia %s release.', array('8.1','8'), ' ');
+// _g('Use these if the original Mageia %s iso images are unable to boot on your hardware, or if you would like more up-to-date software while running in live mode.', '8', ' ');
+// _g('Please take a look in the <a href="%s">documentation</a> for the appropriate media.', array('../doc/'), null, ' ');
+// _g('There\'s no need to reinstall if you have Mageia %s installed and already have the latest updates installed.', '8');
+ echo '</p>';
+?>
+</div>
+
+<div class="para" id="format">
+
+<?php if($classical == true){?>
+<div id="classicalEx" class="popover-content">
+ <?php _g('Classical Installation Flavours',null,'h2')?>
+
+ <?php _g('The Classical ISO is the traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p'); ?>
+ <p>
+ <?php _g('Up to 167 locales are supported:'); ?>
+ Deutsch, English, Español, Français, Italiano, Português, Svenska, Nederlands, Polski, Dansk, Pусский
+ <?php _g('and so much more!'); ?>
+ <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.
+ </p>
+ <p><?php
+ _g('These ISOs contains Free Software and some proprietary drivers.');
+ _g('You will be asked of which kind of Software you want to install.');
+ _g('The installer includes the capability of adding the online Mageia repositories during the installation, which means you can install even more packages than those available on the ISO.');?>
+ </p>
+
+ <?php _g('For 32 and 64bit, size of the ISOs is about %sGB.',array('4.1'),'p class="dlinfo"');?>
+
+</div>
+<?php } ?>
+
+
+<?php if($live == true){?>
+<div id="liveEx" class="popover-content">
+ <?php _g('LiveDVDs',null,'h3');?>
+
+ <?php _g('Live ISO\'s let you try %s without installation. You can run Mageia directly from a DVD or USB device, and try it using one of the graphical user interfaces such as GNOME, Plasma or Xfce.', array("$name $version"), 'p');
+ _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p');?>
+
+ <p><?php _g('Use LiveDVDs for fresh new installs ONLY.');?>
+ <span class="warn"><?php _g('DO NOT use these LiveDVDs to upgrade from the prior Mageia release!'); ?></span>
+ <?php _g('Use a classical installation and see <a href="%s" hreflang="en">upgrade guide</a>.', array($upgradeguide));?>
+ </p>
+
+ <?php _g('For LiveDVDs, size of the ISOs is about %sGB.',array('2.2 - 2.8'),'p class="dlinfo"');?>
+</div>
+<?php } ?>
+
+<div id="lanEx" class="popover-content">
+ <?php _g('Wired Network-based Installation CD',null,'h3');
+ _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.',null,'p');
+ _g('Have a look in the <a href="%s">wiki</a> to get a list of possibilities.',array(_r('https://wiki.mageia.org/en/Boot.iso_install')),'p');
+
+ _g('Size of the ISOs is about 50MB.',null,'p class="dlinfo"');?>
+</div>
+
+<div class="d-sm-flex justify-content-center">
+ <?php if( $classical ){?><input type="radio" value="DVD" name="format" id="classical"/>
+ <label for="classical" class="btn btn-outline-primary" ><?php _g('Classic Installation', null, ' '); /*_g('(initial release 7)');*/ ?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="classical">?</a></label><?php }?>
+ <?php if($live){ ?><input type="radio" id="live" value="Live" name="format" />
+ <label for="live" class="btn btn-outline-primary"><?php _g('Live Media');?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="live">?</a></label><?php }?>
+ <input type="radio" id="lan" value="netinstall" name="format" />
+ <label for="lan" class="btn btn-outline-primary"><?php _g('Network Installation')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="lan">?</a></label>
+</div>
+<?php if( !$live || !$classical ){?>
+<p style="margin-top:1.5em;" class="warn">
+ <?php if(!$live) {_g('LiveDVDs are not yet available.');}?>
+ <?php if(!$classical){ _g('Classical Installation flavours is not yet available.');}?>
+</p>
+<?php }?>
+</div>
+
+<?php if($live){ ?>
+
+<div class="para" id="desktop">
+ <?php _g('Desktop',null,'h2');?>
+
+ <div id="gnomeEx" class="popover-content">
+ <?php _g('%s Desktop', _r('GNOME'),'h3');?>
+ <?php //get_image('GNOME', '/g/5/gnome.png', 'width: 100%');?>
+ </div>
+ <div id="kdeEx" class="popover-content">
+ <?php _g('%s Desktop', _r('Plasma'),'h3');?>
+ <?php //get_image('PLASMA', '/g/5/kde.png', 'width: 100%');?>
+ </div>
+ <div id="xfceEx" class="popover-content">
+ <?php _g('%s Desktop', _r('Xfce'),'h3');?>
+ <?php //get_image('PLASMA', '/g/5/kde.png', 'width: 100%');?>
+ </div>
+
+ <div class="d-sm-flex justify-content-center">
+ <input type="radio" id="kde" value="Plasma" name="desktop" />
+ <label for="kde" class="btn btn-outline-primary"><?php _g('%s Desktop', _r('Plasma'))?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="kde">?</a></label>
+ <input type="radio" id="gnome" value="GNOME" name="desktop" />
+ <label for="gnome" class="btn btn-outline-primary"><?php _g('%s Desktop', _r('GNOME'))?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="gnome">?</a></label>
+ <input type="radio" id="xfce" value="Xfce" name="desktop" />
+ <label for="xfce" class="btn btn-outline-primary"><?php _g('%s Desktop', _r('Xfce'))?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="xfce">?</a></label>
+ </div>
+</div><?php }/*live*/?>
+
+<div class="para" id="nat">
+ <?php _g('Network installer',null,'h2');?>
+
+ <div id="freeEx" class="popover-content">
+ <?php _g('Network installer, Free Software CD', null,'h3');
+ _g('Contain only free software',null,'p')?>
+ </div>
+ <div id="nonfreeEx" class="popover-content">
+ <?php _g('Network installer + nonfree firmware CD', null,'h3');
+ _g('Contain nonfree drivers needed for some disc controllers, some network cards, etc.',null,'p')?>
+ </div>
+ <div class="d-sm-flex justify-content-center">
+ <input type="radio" id="free" value="-" name="nat" />
+ <label for="free" class="btn btn-outline-primary"><?php _g('Free Software CD')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="free">?</a></label>
+ <input type="radio" id="nonfree" value="nonfree" name="nat" />
+ <label for="nonfree" class="btn btn-outline-primary"><?php _g('Nonfree Firmware CD')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="nonfree">?</a></label>
+ </div>
+</div>
+
+<div class="para" id="arch">
+ <?php _g('Supported Architecture',null,'h2');?>
+ <div id='64bEx' class="popover-content">
+ <?php _g('64 bit',null,'h3');
+ _g('Most new computers support x86-64 (also known as AMD64 and Intel64), but some laptop processors and netbook processors do not support it.',null,'p')?>
+ </div>
+ <div id='32bEx' class="popover-content">
+ <?php _g('32 bit',null,'h3');
+ _g('This version runs on all PCs including those that support 64 Bit. If you have more than 3 GB of RAM you should prefer the 64 Bit version though.',null,'p')?>
+ </div>
+
+ <div class="d-sm-flex justify-content-center">
+ <input type="radio" id="32b" value="i586" name="arch" />
+ <label for="32b" class="btn btn-outline-primary"><?php _g('32 bit')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="32b">?</a></label>
+ <input type="radio" id="64b" value="x86_64" name="arch" />
+ <label for="64b" class="btn btn-outline-primary"><?php _g('64 bit')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="64b">?</a></label>
+ </div>
+</div>
+
+<div class="dllink para" id="dllink" >
+ <?php _g('Download Method',null,'h2');?>
+ <div id="directEx" class="popover-content">
+ <?php _g('Direct Link',null,'h3');
+ _g('You will be redirected to a HTTP or FTP mirror.',null,'p') ?>
+ </div>
+
+
+ <div id="torrentEx" class="popover-content">
+<?php if($torrentavailable){ ?>
+ <?php _g('BitTorrent',null,'h3');
+ _g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p');?>
+<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
+ </div>
+
+ <div class="d-sm-flex justify-content-center">
+ <?php if($torrentavailable){ ?>
+ <a href="#" id="torrentlink" class="btn btn-outline-primary"><?php _g('BitTorrent')?>
+ <span class="badge badge-pill badge-info text-white pop" data-tip="torrent">?</span></a><?php }?>
+ <a href="#" id="directlink" class="btn btn-outline-primary" ><?php _g('Direct Link')?>
+ <span class="badge badge-pill badge-info text-white pop" data-tip="direct">?</span></a>
+ </div>
+</div>
+
+<noscript>
+<div class="para" id="NoscriptDownload"><a href="/downloads/alternative/"><?php _g('Alternative downloads')?></a></div>
+</noscript>
+ </div>
+
+ <div class="yui-u col">
+ <div class="para mt-3">
+ <ul class="hl">
+ <li><a href=<?php echo sprintf('"%s">',$releasenotes); _g('Release notes')?></a></li>
+ <li><a href=<?php echo sprintf('"%s">',$errata); _g('More about known issues or limitation in installation and usage')?></a></li>
+ <?php _g('<a href="%s">Which to choose</a>', array(_r('https://wiki.mageia.org/en/Installation_Media')), 'li')?>
+ <?php _g('<a href="%s">Get ISO on USB flash drive</a>', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')),'li') ?>
+ <?php _g('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array(_r('https://wiki.mageia.org/en/Newcomers_start_here')), 'li')?>
+ <?php _g('Help us on %s', array("<a href=\"./prerelease/\">$name 9</a>"), 'li')?>
+ <li><a href="../downloads/alternative/"><?php _g('Alternative downloads')?></a></li>
+ </ul>
+
+ <?php '<br>';
+/* _g('Looking for a stable release?', null, 'h3');
+ echo '<p>';
+ _g('It is <a href="%s">here</a>.', array('../downloads/'));
+ echo '</p';
+*/ _g('Upgrading<br>from %s ?', array('Mageia 7'), 'h3');
+ echo '<ul class="hl">';
+ _g('<strong>do not</strong> use LiveDVDs;', null, 'li');
+ _g('see the <a href="%s" hreflang="en">upgrade guide</a>', array($upgradeguide), 'li');
+ echo '</ul>';
+ ?>
+
+ </div>
+ <hr>
+ </div>
+ </div>
+ </div>
+ </div>
+<?php echo common_footer($locale); ?>
+<script>
+
+$(function () {
+
+
+$('.pop').each(function () {
+ $(this).popover({
+ html: true,
+ container: 'body',
+ trigger: 'manual',
+ placement: 'auto',
+ content: function () {
+ var id = $(this).data('tip')
+ return $('#' + id + 'Ex').html();
+ }
+ }).on('mouseenter', function () {
+ var _this = this;
+ $(this).popover('show');
+ $('.popover').on('mouseleave', function () {
+ $(_this).popover('hide');
+ });
+ }).on('mouseleave', function () {
+ var _this = this;
+ setTimeout(function () {
+ if (!$('.popover:hover').length) {
+ $(_this).popover('hide');
+ }
+ }, 300);
+ });
+});
+});
+
+function lazyload(){
+$('img.lazy').each(function(){
+ $(this)
+ .attr( 'src', $(this).data('src') )
+ .removeClass('hidden')
+ .removeAttr('data-src');
+});
+}
+
+ $('#arch,#nat,#desktop,#dllink').hide();
+ $('input[name=format]').click(function () {
+ $('#arch')[this.id == 'classical' ? 'slideDown' : 'slideUp']();
+ $('label[for="32b"]').show();
+ $('input[name="desktop"],input[name="nat"],input[name="arch"],input[name="dllink"]').prop('checked', false);
+ $('#desktop')[this.id == 'live' ? 'slideDown' : 'slideUp']();
+ $('#nat')[this.id == 'lan' ? 'slideDown' : 'slideUp']();
+ $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
+ });
+
+ $('input[name=nat]').click(function () {
+ $('#arch')[ $('#free,#nonfree').is(':checked') ? 'slideDown' : 'slideUp']();
+ });
+
+ $('input[name=desktop]').click(function () {
+ $('#arch')[ $('#gnome,#kde,#xfce').is(':checked') ? 'slideDown' : 'slideUp']();
+ $('label[for="32b"]')[$('#gnome,#kde').is(':checked') ? 'hide' : 'show']()
+ $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
+ lazyload();
+ });
+
+ $('input[name=arch]').click(function () {
+ $('#dllink')[$('#32b,#64b').is(':checked') ? 'slideDown' : 'slideUp']();
+ $('input[name="dllink"]').prop('checked', false);
+ $('#torrentlink')[$('#lan').is(':checked') ? 'hide' : 'show']();
+ });
+
+ $('#directlink,#torrentlink').hover(function () {
+ format = $('input[name=format]:checked').val();
+ desktop = $('input[name=desktop]:checked').val();
+ nat = (nat = $('input[name=nat]:checked').val()) == '-' ? '-' : '-' + nat + '-';
+ arch = $('input[name=arch]:checked').val();
+ getname ='<?php echo get_mageia($name, $version, $release)?>' + '-';
+<?php if($versionOld){ ?>
+ getnameOld ='<?php echo get_mageia($name, $versionOld, $release)?>' + '-';
+ file = $('#live').is(':checked') ? getname + format + '-' + desktop + '-' + arch + '.iso' : $('#classical').is(':checked') ? getnameOld + arch + '.iso' : getname + format + nat + arch + '.iso';
+<?php }else{ ?>
+ file = $('#live').is(':checked') ? getname + format + '-' + desktop + '-' + arch + '.iso' : $('#classical').is(':checked') ? getname + arch + '.iso' : getname + format + nat + arch + '.iso';
+<?php } ?>
+ file = (this.id == 'torrentlink') ? file + '&torrent=1' : file ;
+ $("a.btn").attr('href','../downloads/get/?q=' + file);
+ });
+</script>
+</body>
+</html>
diff --git a/en/8/index.php b/en/8/index.php
new file mode 100644
index 000000000..f3451ead4
--- /dev/null
+++ b/en/8/index.php
@@ -0,0 +1,130 @@
+<?php
+define('HLANG', true);
+define('ALIGNMENT', 'Center');
+require '../../langs.php';
+$rtl = is_locale_rtl($locale);
+$version = '8';
+
+$dictionary = read_translation_file($locale, array('8', 'common_footer'));
+?>
+<!DOCTYPE html>
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
+<head>
+ <meta charset="utf-8">
+ <title><?php _g('Mageia %s', $version)?></title>
+ <meta name="description" content="<?php _g('Mageia %s is the new, solid, stable Linux distribution from the Mageia project.', $version)?>">
+ <?php echo common_header(); ?>
+ <?php include '../../analytics.php'; ?>
+ <style>
+ @media (min-width:1200px) {
+ .mga-slider{
+ max-width:960px
+ }
+ }
+ @media (min-width:1400px) {
+ .mga-slider{
+ max-width: 1140px
+ }
+ }
+ .bg-caption { background-color: rgba(38, 47, 69, 0.5); color: white; font-weight: bolder}
+ .bg-caption a { color: rgba(38, 47, 69, 0.9) }
+ .carousel-indicators li { height: 5px }
+ .carousel-indicators .active { background-color: rgba(14, 142, 255, 1) }
+ </style>
+</head>
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="downloads">
+ <?php echo $hsnav; ?>
+
+ <h1 id="mgnavt"><a href="../8/"><?php _g('Mageia %s', $version);?></a></h1>
+ <?php include './nav.php'; ?>
+<div class="container mga-slider">
+ <div id="carouselMga" class="carousel carousel-fade slide" data-ride="carousel">
+ <ol class="carousel-indicators">
+ <?php
+ for ($i = 0; $i < 12; $i++) {
+ $li = sprintf('<li data-target="#carouselMga" data-slide-to="%s"%s></li>'. PHP_EOL, $i, $i == 0 ? ' class="active"' : '');
+ echo $li;
+ }?>
+ </ol>
+ <div class="carousel-inner">
+ <?php
+ function carousel($src, $ttl ,$title, $text, $active = false){
+ $div = sprintf('<div class="carousel-item%s">', $active ? ' active' : '');
+ $div .= sprintf('<img class="d-block rounded-lg img-fluid"');
+ $div .= sprintf (' src="%s" alt="%s" title="%s">',$src, $ttl, $ttl);
+ if ( $title || $text ){
+ $div .= sprintf('<div class="carousel-caption d-none d-md-block bg-caption">');
+ $div .= $title ? sprintf('<h5>%s</h5>',$title) : '';
+ $div .= $text ? sprintf('<p>%s</p>', $text) : '';
+ $div .= sprintf('</div>');
+ }
+ $div .= sprintf ('</div>'. PHP_EOL);
+ echo $div;
+ }
+ //carousel('/g/path/to.png', 'alt text', 'TitleCaption', 'TextCaption', active);
+ carousel('/g/8/slide/live-plasma-1.png', 'live-plasma-1', _r('Welcome to Mageia'), _r('Try without installing.', ' ') . sprintf(_r('Here is the %s Desktop'), _r('Plasma')), true );
+ carousel('/g/8/slide/live-plasma-2.png', 'live-plasma-2', _r('Daily use'), _r('Access all your files') );
+ carousel('/g/8/slide/live-plasma-3.png', 'live-plasma-3', _r('Daily use'), _r('Watch all your media') );
+ carousel('/g/8/slide/live-plasma-4.png', 'live-plasma-4', _r('Install'), _r('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.') . sprintf('<a href="../doc/">%s</a>', _r('Doc')) );
+ carousel('/g/8/slide/live-gnome-1.png', 'live-gnome-1', _r('A choice of desktops'), sprintf(_r('Here is the %s Desktop'), _r('GNOME')) );
+ carousel('/g/8/slide/live-gnome-2.png', 'live-gnome-2', '', '');
+ carousel('/g/8/slide/live-gnome-3.png', 'live-gnome-3', _r('Install'), '' );
+ carousel('/g/8/slide/live-xfce-1.png', 'live-xfce-1', _r('A choice of desktops'), sprintf(_r('Here is the %s Desktop'), _r('Xfce')) );
+ carousel('/g/8/slide/live-xfce-2.png', 'live-xfce-2', _r('Install'), _r('You can install all <a href="https://madb.mageia.org/">apps available</a> even in live mode') );
+ carousel('/g/8/slide/mcc-1.png', 'mcc-1', _r('Tools'), _r('Mageia Control Center', ': ') . _r('Install applications') );
+ carousel('/g/8/slide/mcc-2.png', 'mcc-2', _r('Tools'), _r('Mageia Control Center', ': '). _r('Configure your hardware') );
+ carousel('/g/8/slide/classical-1.png', 'classical-1', _r('Install') , _r('Classic Installation') );
+ ?>
+ <a class="carousel-control-prev" href="#carouselMga" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only"><?php _r('previous')?></span>
+ </a>
+ <a class="carousel-control-next" href="#carouselMga" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only"><?php _r('next')?></span>
+ </a>
+ </div>
+ </div>
+</div><?php //container mga-slide ?>
+
+<div id="doc5">
+ <div class="row">
+ <div class="col">
+ <div class="para">
+ <?php _g('About Mageia %s', $version, 'h2'); ?>
+
+ <?php
+ _g('Mageia %s is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>. It can be installed in several ways, with the Live or Classical ISOs being the most popular methods.', array($version, '../community'), 'p');?>
+
+ <p><a href="../downloads" class="btn btn-primary"><?php _g('Download it right away!');?></a></p>
+
+<?php _g('Live ISO\'s let you try Mageia without installation. Use <a href="%s">these instructions</a> to put the Live ISO on a CD, DVD or USB device. Then you can run Mageia %s directly from there, and try Mageia using one of the graphical user interfaces such as GNOME or Plasma.', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive'), $version ), 'p');
+ _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p');
+ _g('The Classical ISO is the more traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p');
+ _g('Mageia %s includes several desktop managers including Plasma, GNOME, Xfce, Mate, LXQt and Cinnamon.', $version, 'p');
+ _g('There are lots of applications in the official repositories. You can have a look at the <a href="%s">Mageia Application Database</a> to get a complete list of packages inside Mageia.', array('//madb.mageia.org'), 'p');
+ _g('What\'s new?', null, 'h2');
+ _g('There\'s plenty of new goodness in Mageia %s, too much to include here - see the <a hreflang="en" href="%s">release notes</a> for an extensive exposé.', array($version, $releasenotes), 'p', 'class="warn"');
+ ?>
+ </div>
+ </div>
+
+ <div class="col-md-4" >
+ <div class="para">
+ <?php
+ _g('Mageia in context', null, 'h2');
+
+ _g('Mageia %s is supported by the <a href="%s">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.', array($version, '../about/'), 'p');
+
+ _g('Our work adds to the excellent work of the wider Linux and Free Software community. We aim to blend all the excellent work done by the community, adding the special Mageia ingredients, to bring you the best, most stable, reliable and enjoyable experience we can make for regular users, developers and businesses.', null, 'p');
+
+ _g('We welcome new contributors to any of the many different teams that go to make up Mageia the Community, and we encourage you to <a href="%s">join us</a>.', array('../contribute'), 'p');
+ ?>
+ </div>
+ </div>
+</div>
+</div>
+
+<?php echo common_footer($locale); ?>
+</body>
+</html>
diff --git a/en/8/nav.php b/en/8/nav.php
new file mode 100644
index 000000000..83cdaf540
--- /dev/null
+++ b/en/8/nav.php
@@ -0,0 +1,32 @@
+<?php
+
+$releasenotes = '';
+$errata = '';
+$upgradeguide = '';
+
+$releasenotes = _r('https://wiki.mageia.org/en/Mageia_8_Release_Notes');
+$errata = _r('https://wiki.mageia.org/en/Mageia_8_Errata');
+$upgradeguide = _r('https://wiki.mageia.org/en/Mageia_8_Release_Notes#Upgrading_from_Mageia_7');
+
+$nav = array(
+ "/{$locale}/8/" => 'Mageia&nbsp;8',
+ "/{$locale}/downloads/" => _r('Download'),
+ $releasenotes => _r('Release notes'),
+ $errata => _r('Errata'),
+// "//bugs.mageia.org/" => _r('Bugs Reports'),
+);
+
+$sru = trim($_SERVER['REQUEST_URI']);
+
+$pnav = array();
+foreach ($nav as $k => $v) {
+ $pnav[] = sprintf('<li class="text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
+ $k,
+ $k == $sru ? ' class="nav-link active"' : ' class="nav-link"',
+ $v);
+}
+$pnav = implode($pnav);
+
+echo <<<S
+<div id="mgnavsub"><ul id="mgnavsubl" class="nav nav-pills flex-column flex-sm-row justify-content-center">{$pnav}</ul></div>
+S;
diff --git a/en/9/download_index.php b/en/9/download_index.php
new file mode 100644
index 000000000..89cb58595
--- /dev/null
+++ b/en/9/download_index.php
@@ -0,0 +1,424 @@
+<?php
+
+$name = 'Mageia';
+$version = '9';
+$versionOld = ''; //if version for classical iso differ to livecd
+$release = '';
+$torrentavailable=true;
+$classical=true;
+$live=true;
+
+
+define('HLANG', true);
+define('ALIGNMENT', 'Center');
+
+require '../../langs.php';
+$dictionary = read_translation_file($locale, array('9', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
+function get_mageia($name, $version, $release)
+{
+ $re = empty($release) ? $version : $version . '-' . $release;
+ return implode('-', array($name, $re));
+}
+
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
+{
+ $va = empty($variant) ? $arch : $variant . '-' . $arch;
+ $re = empty($release) ? $va : $release . '-' . $va;
+
+ return implode('-', array($name, $version, $re)) . $ext;
+}
+
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
+{
+ switch ($arch) {
+ case "i586":
+ $bit = _r('32 bit');
+ break;
+ case "x86_64":
+ $bit = _r('64 bit');
+ break;
+ default:
+ $bit = '';
+ break;
+ }
+
+echo $torrent && !$torrentavailable ? 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)),
+ $bit
+ );
+}
+
+function get_image($ttl, $src, $sty){
+ echo sprintf('<noscript><img class="lazy" src="%s" alt="%s" title="%s" style="%s" /></noscript>', $src, $ttl, $ttl, $sty);
+ echo sprintf('<img class="lazy" src="%s" alt="%s" title="%s" style="%s" />', $src, $ttl, $ttl, $sty);
+}
+
+?>
+<!DOCTYPE html>
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
+<head>
+ <meta charset="utf-8">
+ <title><?php echo sprintf(_g('Download %s %s %s', array($declension_name = _r('Mageia'), $version, $release)))?></title>
+ <meta name="description" content="<?php _g('Download %s DVD, LiveDVD, network install ISO images.', array("$name $version"))?>">
+ <meta name="keywords" content="<?php _g('mageia, %s, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent', array("$name $version"))?>">
+ <meta name="robots" content="index,nofollow,nosnippet">
+ <link rel="canonical" href="/<?php echo $locale.'/'.$version;?>/">
+ <?php echo common_header(); ?>
+ <?php include '../../analytics.php'; ?>
+ <style>
+
+input[type="radio"]:checked + label,.ui-button:active {
+ background: #2383C2;
+ background: -webkit-linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ background: -moz-linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ background: -o-linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ background: linear-gradient(top, #3494D3 0%, #2383C2 50%);
+ color: white;
+}
+input[type="radio"], input[type="submit"], .popover-content {
+ display: none;
+}
+.warn {
+ color:#a00;
+}
+</style>
+</head>
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
+ <?php echo $hsnav; ?>
+
+ <h1 id="mgnavt"><?php echo sprintf(_g('Download <strong>%s %s %s</strong>', array($declension_name = _r('Mageia'), $version, $release)))?></h1>
+ <?php include '../9/nav.php'; ?>
+
+ <div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
+ <div id="bd" role="main">
+ <div class="yui-ge bb1 row">
+ <div class="yui-u first col-md-8">
+
+<noscript>
+<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#NoscriptDownload'),'p'); ?></div>
+<style>.pop{display: none;} .popover-content{display:block ;}</style>
+</noscript>
+
+<div class="para">
+ <?php // _g('But please remember that it will soon <a href="%s">reach EOL</a>.', array('../support/'), 'h2 class="warn"');
+ // _g('But please remember that it already <a href="%s">reached EOL</a>.', array(_not_yet('https://blog.mageia.org/en/2019/.../')), 'h2 class="warn"'); ?>
+ <p>
+ <?php _g('Mageia is provided as ISO image files that have to be written to blank <a href="%s">CD or DVD discs</a>.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')), ' '); ?>
+ <br>
+ <?php _g('All ISOs can also be launched from a <a %s>USB drive</a>.', array('href="' . _r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive') . '"'));
+ echo '</p>';
+ _g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('href="#" data-tip="iso2usb" class="pop"'),'p');
+ echo '<ul><li>';
+ _g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
+ </li>
+ <?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
+ </ul>
+ <div id="iso2usbEx" class="popover-content"><p>
+ <?php _g('"Dumping" an image onto a flash device destroys any prior file-system in the partition; access to any data not destroyed will be lost, and partition capacity will be reduced to the image size. In other words, all prior data on the device is at risk.'); ?>
+ </p></div>
+ <p>
+ <?php _g('If you have <a href="%s">UEFI</a>, a procedure is available in the <a href="%s">wiki</a>.', array(_r('http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface'),_r('https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware' /*this will be changed to tooltip, so no more url*/))) ;?>
+ </p>
+<?php
+ echo '<p>';
+// _g('ISO image files have been updated to support new hardware.', null, ' ');
+// _g('They are called Mageia %s release to distinguish them from the original Mageia %s release.', array('9.1','9'), ' ');
+// _g('Use these if the original Mageia %s iso images are unable to boot on your hardware, or if you would like more up-to-date software while running in live mode.', '9', ' ');
+// _g('Please take a look in the <a href="%s">documentation</a> for the appropriate media.', array('../doc/'), null, ' ');
+// _g('There\'s no need to reinstall if you have Mageia %s installed and already have the latest updates installed.', '9');
+ echo '</p>';
+?>
+</div>
+
+<div class="para" id="format">
+
+<?php if($classical == true){?>
+<div id="classicalEx" class="popover-content">
+ <?php _g('Classical Installation Flavours',null,'h2')?>
+
+ <?php _g('The Classical ISO is the traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p'); ?>
+ <p>
+ <?php _g('Up to 167 locales are supported:'); ?>
+ Deutsch, English, Español, Français, Italiano, Português, Svenska, Nederlands, Polski, Dansk, Pусский
+ <?php _g('and so much more!'); ?>
+ <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.
+ </p>
+ <p><?php
+ _g('These ISOs contains Free Software and some proprietary drivers.');
+ _g('You will be asked of which kind of Software you want to install.');
+ _g('The installer includes the capability of adding the online Mageia repositories during the installation, which means you can install even more packages than those available on the ISO.');?>
+ </p>
+
+ <?php _g('For 32 and 64bit, size of the ISOs is about %sGB.',array('4.1'),'p class="dlinfo"');?>
+
+</div>
+<?php } ?>
+
+
+<?php if($live == true){?>
+<div id="liveEx" class="popover-content">
+ <?php _g('LiveDVDs',null,'h3');?>
+
+ <?php _g('Live ISO\'s let you try %s without installation. You can run Mageia directly from a DVD or USB device, and try it using one of the graphical user interfaces such as GNOME, Plasma or Xfce.', array("$name $version"), 'p');
+ _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p');?>
+
+ <p><?php _g('Use LiveDVDs for fresh new installs ONLY.');?>
+ <span class="warn"><?php _g('DO NOT use these LiveDVDs to upgrade from the prior Mageia release!'); ?></span>
+ <?php _g('Use a classical installation and see <a href="%s" hreflang="en">upgrade guide</a>.', array($upgradeguide));?>
+ </p>
+
+ <?php _g('For LiveDVDs, size of the ISOs is about %sGB.',array('2.9 - 3.8'),'p class="dlinfo"');?>
+</div>
+<?php } ?>
+
+<div id="lanEx" class="popover-content">
+ <?php _g('Wired Network-based Installation CD',null,'h3');
+ _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.',null,'p');
+ _g('Have a look in the <a href="%s">wiki</a> to get a list of possibilities.',array(_r('https://wiki.mageia.org/en/Boot.iso_install')),'p');
+
+ _g('Size of the ISOs is about 50MB.',null,'p class="dlinfo"');?>
+</div>
+
+<div class="d-sm-flex justify-content-center">
+ <?php if( $classical ){?><input type="radio" value="DVD" name="format" id="classical"/>
+ <label for="classical" class="btn btn-outline-primary" ><?php _g('Classic Installation', null, ' '); /*_g('(initial release 7)');*/ ?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="classical">?</a></label><?php }?>
+ <?php if($live){ ?><input type="radio" id="live" value="Live" name="format" />
+ <label for="live" class="btn btn-outline-primary"><?php _g('Live Media');?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="live">?</a></label><?php }?>
+ <input type="radio" id="lan" value="netinstall" name="format" />
+ <label for="lan" class="btn btn-outline-primary"><?php _g('Network Installation')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="lan">?</a></label>
+</div>
+<?php if( !$live || !$classical ){?>
+<p style="margin-top:1.5em;" class="warn">
+ <?php if(!$live) {_g('LiveDVDs are not yet available.');}?>
+ <?php if(!$classical){ _g('Classical Installation flavours is not yet available.');}?>
+</p>
+<?php }?>
+</div>
+
+<?php if($live){ ?>
+
+<div class="para" id="desktop">
+ <?php _g('Desktop',null,'h2');?>
+
+ <div id="gnomeEx" class="popover-content">
+ <?php _g('%s Desktop', _r('GNOME'),'h3');?>
+ <?php //get_image('GNOME', '/g/5/gnome.png', 'width: 100%');?>
+ </div>
+ <div id="kdeEx" class="popover-content">
+ <?php _g('%s Desktop', _r('Plasma'),'h3');?>
+ <?php //get_image('PLASMA', '/g/5/kde.png', 'width: 100%');?>
+ </div>
+ <div id="xfceEx" class="popover-content">
+ <?php _g('%s Desktop', _r('Xfce'),'h3');?>
+ <?php //get_image('PLASMA', '/g/5/kde.png', 'width: 100%');?>
+ </div>
+
+ <div class="d-sm-flex justify-content-center">
+ <input type="radio" id="kde" value="Plasma" name="desktop" />
+ <label for="kde" class="btn btn-outline-primary"><?php _g('%s Desktop', _r('Plasma'))?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="kde">?</a></label>
+ <input type="radio" id="gnome" value="GNOME" name="desktop" />
+ <label for="gnome" class="btn btn-outline-primary"><?php _g('%s Desktop', _r('GNOME'))?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="gnome">?</a></label>
+ <input type="radio" id="xfce" value="Xfce" name="desktop" />
+ <label for="xfce" class="btn btn-outline-primary"><?php _g('%s Desktop', _r('Xfce'))?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="xfce">?</a></label>
+ </div>
+</div><?php }/*live*/?>
+
+<div class="para" id="nat">
+ <?php _g('Network installer',null,'h2');?>
+
+ <div id="freeEx" class="popover-content">
+ <?php _g('Network installer, Free Software CD', null,'h3');
+ _g('Contain only free software',null,'p')?>
+ </div>
+ <div id="nonfreeEx" class="popover-content">
+ <?php _g('Network installer + nonfree firmware CD', null,'h3');
+ _g('Contain nonfree drivers needed for some disc controllers, some network cards, etc.',null,'p')?>
+ </div>
+ <div class="d-sm-flex justify-content-center">
+ <input type="radio" id="free" value="-" name="nat" />
+ <label for="free" class="btn btn-outline-primary"><?php _g('Free Software CD')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="free">?</a></label>
+ <input type="radio" id="nonfree" value="nonfree" name="nat" />
+ <label for="nonfree" class="btn btn-outline-primary"><?php _g('Nonfree Firmware CD')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="nonfree">?</a></label>
+ </div>
+</div>
+
+<div class="para" id="arch">
+ <?php _g('Supported Architecture',null,'h2');?>
+ <div id='64bEx' class="popover-content">
+ <?php _g('64 bit',null,'h3');
+ _g('Most new computers support x86-64 (also known as AMD64 and Intel64), but some laptop processors and netbook processors do not support it.',null,'p')?>
+ </div>
+ <div id='32bEx' class="popover-content">
+ <?php _g('32 bit',null,'h3');
+ _g('This version runs on all PCs including those that support 64 Bit. If you have more than 3 GB of RAM you should prefer the 64 Bit version though.',null,'p')?>
+ </div>
+
+ <div class="d-sm-flex justify-content-center">
+ <input type="radio" id="32b" value="i586" name="arch" />
+ <label for="32b" class="btn btn-outline-primary"><?php _g('32 bit')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="32b">?</a></label>
+ <input type="radio" id="64b" value="x86_64" name="arch" />
+ <label for="64b" class="btn btn-outline-primary"><?php _g('64 bit')?>
+ <a role="button" class="badge badge-pill badge-info text-white pop" data-tip="64b">?</a></label>
+ </div>
+</div>
+
+<div class="dllink para" id="dllink" >
+ <?php _g('Download Method',null,'h2');?>
+ <div id="directEx" class="popover-content">
+ <?php _g('Direct Link',null,'h3');
+ _g('You will be redirected to a HTTP or FTP mirror.',null,'p') ?>
+ </div>
+
+
+ <div id="torrentEx" class="popover-content">
+<?php if($torrentavailable){ ?>
+ <?php _g('BitTorrent',null,'h3');
+ _g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p');?>
+<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
+ </div>
+
+ <div class="d-sm-flex justify-content-center">
+ <?php if($torrentavailable){ ?>
+ <a href="#" id="torrentlink" class="btn btn-outline-primary"><?php _g('BitTorrent')?>
+ <span class="badge badge-pill badge-info text-white pop" data-tip="torrent">?</span></a><?php }?>
+ <a href="#" id="directlink" class="btn btn-outline-primary" ><?php _g('Direct Link')?>
+ <span class="badge badge-pill badge-info text-white pop" data-tip="direct">?</span></a>
+ </div>
+</div>
+
+<noscript>
+<div class="para" id="NoscriptDownload"><a href="/downloads/alternative/"><?php _g('Alternative downloads')?></a></div>
+</noscript>
+ </div>
+
+ <div class="yui-u col">
+ <div class="para mt-3">
+ <ul class="hl">
+ <li><a href=<?php echo sprintf('"%s">',$releasenotes); _g('Release notes')?></a></li>
+ <li><a href=<?php echo sprintf('"%s">',$errata); _g('More about known issues or limitation in installation and usage')?></a></li>
+ <?php _g('<a href="%s">Which to choose</a>', array(_r('https://wiki.mageia.org/en/Installation_Media')), 'li')?>
+ <?php _g('<a href="%s">Get ISO on USB flash drive</a>', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive')),'li') ?>
+ <?php _g('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array(_r('https://wiki.mageia.org/en/Newcomers_start_here')), 'li')?>
+ <?php _g('Help us on %s', array("<a href=\"../contribute/\">$name 9</a>"), 'li')?>
+ <li><a href="../downloads/alternative/"><?php _g('Alternative downloads')?></a></li>
+ </ul>
+
+ <?php '<br>';
+/* _g('Looking for a stable release?', null, 'h3');
+ echo '<p>';
+ _g('It is <a href="%s">here</a>.', array('../downloads/'));
+ echo '</p';
+*/ _g('Upgrading<br>from %s ?', array('Mageia 8'), 'h3');
+ echo '<ul class="hl">';
+ _g('<strong>do not</strong> use LiveDVDs;', null, 'li');
+ _g('see the <a href="%s" hreflang="en">upgrade guide</a>', array($upgradeguide), 'li');
+ echo '</ul>';
+ ?>
+
+ </div>
+ <hr>
+ </div>
+ </div>
+ </div>
+ </div>
+<?php echo common_footer($locale); ?>
+<script>
+
+$(function () {
+
+
+$('.pop').each(function () {
+ $(this).popover({
+ html: true,
+ container: 'body',
+ trigger: 'manual',
+ placement: 'auto',
+ content: function () {
+ var id = $(this).data('tip')
+ return $('#' + id + 'Ex').html();
+ }
+ }).on('mouseenter', function () {
+ var _this = this;
+ $(this).popover('show');
+ $('.popover').on('mouseleave', function () {
+ $(_this).popover('hide');
+ });
+ }).on('mouseleave', function () {
+ var _this = this;
+ setTimeout(function () {
+ if (!$('.popover:hover').length) {
+ $(_this).popover('hide');
+ }
+ }, 300);
+ });
+});
+});
+
+function lazyload(){
+$('img.lazy').each(function(){
+ $(this)
+ .attr( 'src', $(this).data('src') )
+ .removeClass('hidden')
+ .removeAttr('data-src');
+});
+}
+
+ $('#arch,#nat,#desktop,#dllink').hide();
+ $('input[name=format]').click(function () {
+ $('#arch')[this.id == 'classical' ? 'slideDown' : 'slideUp']();
+ $('label[for="32b"]').show();
+ $('input[name="desktop"],input[name="nat"],input[name="arch"],input[name="dllink"]').prop('checked', false);
+ $('#desktop')[this.id == 'live' ? 'slideDown' : 'slideUp']();
+ $('#nat')[this.id == 'lan' ? 'slideDown' : 'slideUp']();
+ $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
+ });
+
+ $('input[name=nat]').click(function () {
+ $('#arch')[ $('#free,#nonfree').is(':checked') ? 'slideDown' : 'slideUp']();
+ });
+
+ $('input[name=desktop]').click(function () {
+ $('#arch')[ $('#gnome,#kde,#xfce').is(':checked') ? 'slideDown' : 'slideUp']();
+ $('label[for="32b"]')[$('#gnome,#kde').is(':checked') ? 'hide' : 'show']()
+ $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
+ lazyload();
+ });
+
+ $('input[name=arch]').click(function () {
+ $('#dllink')[$('#32b,#64b').is(':checked') ? 'slideDown' : 'slideUp']();
+ $('input[name="dllink"]').prop('checked', false);
+ $('#torrentlink')[$('#lan').is(':checked') ? 'hide' : 'show']();
+ });
+
+ $('#directlink,#torrentlink').hover(function () {
+ format = $('input[name=format]:checked').val();
+ desktop = $('input[name=desktop]:checked').val();
+ nat = (nat = $('input[name=nat]:checked').val()) == '-' ? '-' : '-' + nat + '-';
+ arch = $('input[name=arch]:checked').val();
+ getname ='<?php echo get_mageia($name, $version, $release)?>' + '-';
+<?php if($versionOld){ ?>
+ getnameOld ='<?php echo get_mageia($name, $versionOld, $release)?>' + '-';
+ file = $('#live').is(':checked') ? getname + format + '-' + desktop + '-' + arch + '.iso' : $('#classical').is(':checked') ? getnameOld + arch + '.iso' : getname + format + nat + arch + '.iso';
+<?php }else{ ?>
+ file = $('#live').is(':checked') ? getname + format + '-' + desktop + '-' + arch + '.iso' : $('#classical').is(':checked') ? getname + arch + '.iso' : getname + format + nat + arch + '.iso';
+<?php } ?>
+ file = (this.id == 'torrentlink') ? file + '&torrent=1' : file ;
+ $("a.btn").attr('href','../downloads/get/?q=' + file);
+ });
+</script>
+</body>
+</html>
diff --git a/en/9/index.php b/en/9/index.php
new file mode 100644
index 000000000..d72c88851
--- /dev/null
+++ b/en/9/index.php
@@ -0,0 +1,130 @@
+<?php
+define('HLANG', true);
+define('ALIGNMENT', 'Center');
+require '../../langs.php';
+$rtl = is_locale_rtl($locale);
+$version = '9';
+
+$dictionary = read_translation_file($locale, array('9', 'common_footer'));
+?>
+<!DOCTYPE html>
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
+<head>
+ <meta charset="utf-8">
+ <title><?php _g('Mageia %s', $version)?></title>
+ <meta name="description" content="<?php _g('Mageia %s is the new, solid, stable Linux distribution from the Mageia project.', $version)?>">
+ <?php echo common_header(); ?>
+ <?php include '../../analytics.php'; ?>
+ <style>
+ @media (min-width:1200px) {
+ .mga-slider{
+ max-width:960px
+ }
+ }
+ @media (min-width:1400px) {
+ .mga-slider{
+ max-width: 1140px
+ }
+ }
+ .bg-caption { background-color: rgba(38, 47, 69, 0.5); color: white; font-weight: bolder}
+ .bg-caption a { color: rgba(38, 47, 69, 0.9) }
+ .carousel-indicators li { height: 5px }
+ .carousel-indicators .active { background-color: rgba(14, 142, 255, 1) }
+ </style>
+</head>
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="downloads">
+ <?php echo $hsnav; ?>
+
+ <h1 id="mgnavt"><a href="../9/"><?php _g('Mageia %s', $version);?></a></h1>
+ <?php include './nav.php'; ?>
+<div class="container mga-slider">
+ <div id="carouselMga" class="carousel carousel-fade slide" data-ride="carousel">
+ <ol class="carousel-indicators">
+ <?php
+ for ($i = 0; $i < 12; $i++) {
+ $li = sprintf('<li data-target="#carouselMga" data-slide-to="%s"%s></li>'. PHP_EOL, $i, $i == 0 ? ' class="active"' : '');
+ echo $li;
+ }?>
+ </ol>
+ <div class="carousel-inner">
+ <?php
+ function carousel($src, $ttl ,$title, $text, $active = false){
+ $div = sprintf('<div class="carousel-item%s">', $active ? ' active' : '');
+ $div .= sprintf('<img class="d-block rounded-lg img-fluid"');
+ $div .= sprintf (' src="%s" alt="%s" title="%s">',$src, $ttl, $ttl);
+ if ( $title || $text ){
+ $div .= sprintf('<div class="carousel-caption d-none d-md-block bg-caption">');
+ $div .= $title ? sprintf('<h5>%s</h5>',$title) : '';
+ $div .= $text ? sprintf('<p>%s</p>', $text) : '';
+ $div .= sprintf('</div>');
+ }
+ $div .= sprintf ('</div>'. PHP_EOL);
+ echo $div;
+ }
+ //carousel('/g/path/to.png', 'alt text', 'TitleCaption', 'TextCaption', active);
+ carousel('/g/9/slide/live-plasma-1.png', 'live-plasma-1', _r('Welcome to Mageia'), _r('Try without installing.', ' ') . sprintf(_r('Here is the %s Desktop'), _r('Plasma')), true );
+ carousel('/g/9/slide/live-plasma-2.png', 'live-plasma-2', _r('Daily use'), _r('Access all your files') );
+ carousel('/g/9/slide/live-plasma-3.png', 'live-plasma-3', _r('Daily use'), _r('Watch all your media') );
+ carousel('/g/9/slide/live-plasma-4.png', 'live-plasma-4', _r('Install'), _r('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.') . sprintf('<a href="../doc/">%s</a>', _r('Doc')) );
+ carousel('/g/9/slide/live-gnome-1.png', 'live-gnome-1', _r('A choice of desktops'), sprintf(_r('Here is the %s Desktop'), _r('GNOME')) );
+ carousel('/g/9/slide/live-gnome-2.png', 'live-gnome-2', '', '');
+ carousel('/g/9/slide/live-gnome-3.png', 'live-gnome-3', _r('Install'), '' );
+ carousel('/g/9/slide/live-xfce-1.png', 'live-xfce-1', _r('A choice of desktops'), sprintf(_r('Here is the %s Desktop'), _r('Xfce')) );
+ carousel('/g/9/slide/live-xfce-2.png', 'live-xfce-2', _r('Install'), _r('You can install all <a href="https://madb.mageia.org/">apps available</a> even in live mode') );
+ carousel('/g/9/slide/mcc-1.png', 'mcc-1', _r('Tools'), _r('Mageia Control Center', ': ') . _r('Install applications') );
+ carousel('/g/9/slide/mcc-2.png', 'mcc-2', _r('Tools'), _r('Mageia Control Center', ': '). _r('Configure your hardware') );
+ carousel('/g/9/slide/classical-1.png', 'classical-1', _r('Install') , _r('Classic Installation') );
+ ?>
+ <a class="carousel-control-prev" href="#carouselMga" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only"><?php _r('previous')?></span>
+ </a>
+ <a class="carousel-control-next" href="#carouselMga" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only"><?php _r('next')?></span>
+ </a>
+ </div>
+ </div>
+</div><?php //container mga-slide ?>
+
+<div id="doc5">
+ <div class="row">
+ <div class="col">
+ <div class="para">
+ <?php _g('About Mageia %s', $version, 'h2'); ?>
+
+ <?php
+ _g('Mageia %s is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>. It can be installed in several ways, with the Live or Classical ISOs being the most popular methods.', array($version, '../community'), 'p');?>
+
+ <p><a href="../downloads" class="btn btn-primary"><?php _g('Download it right away!');?></a></p>
+
+<?php _g('Live ISO\'s let you try Mageia without installation. Use <a href="%s">these instructions</a> to put the Live ISO on a CD, DVD or USB device. Then you can run Mageia %s directly from there, and try Mageia using one of the graphical user interfaces such as GNOME or Plasma.', array(_r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive'), $version ), 'p');
+ _g('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.', null, 'p');
+ _g('The Classical ISO is the more traditional way to install Mageia directly. Take a look at the complete <a href="%s">documentation</a> for this installer.', array('../doc/'), 'p');
+ _g('Mageia %s includes several desktop managers including Plasma, GNOME, Xfce, Mate, LXQt and Cinnamon.', $version, 'p');
+ _g('There are lots of applications in the official repositories. You can have a look at the <a href="%s">Mageia Application Database</a> to get a complete list of packages inside Mageia.', array('//madb.mageia.org'), 'p');
+ _g('What\'s new?', null, 'h2');
+ _g('There\'s plenty of new goodness in Mageia %s, too much to include here - see the <a hreflang="en" href="%s">release notes</a> for an extensive exposé.', array($version, $releasenotes), 'p', 'class="warn"');
+ ?>
+ </div>
+ </div>
+
+ <div class="col-md-4" >
+ <div class="para">
+ <?php
+ _g('Mageia in context', null, 'h2');
+
+ _g('Mageia %s is supported by the <a href="%s">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.', array($version, '../about/'), 'p');
+
+ _g('Our work adds to the excellent work of the wider Linux and Free Software community. We aim to blend all the excellent work done by the community, adding the special Mageia ingredients, to bring you the best, most stable, reliable and enjoyable experience we can make for regular users, developers and businesses.', null, 'p');
+
+ _g('We welcome new contributors to any of the many different teams that go to make up Mageia the Community, and we encourage you to <a href="%s">join us</a>.', array('../contribute'), 'p');
+ ?>
+ </div>
+ </div>
+</div>
+</div>
+
+<?php echo common_footer($locale); ?>
+</body>
+</html>
diff --git a/en/9/nav.php b/en/9/nav.php
new file mode 100644
index 000000000..91739d67b
--- /dev/null
+++ b/en/9/nav.php
@@ -0,0 +1,32 @@
+<?php
+
+$releasenotes = '';
+$errata = '';
+$upgradeguide = '';
+
+$releasenotes = _r('https://wiki.mageia.org/en/Mageia_9_Release_Notes');
+$errata = _r('https://wiki.mageia.org/en/Mageia_9_Errata');
+$upgradeguide = _r('https://wiki.mageia.org/en/Mageia_9_Release_Notes#Upgrading_from_Mageia_8');
+
+$nav = array(
+ "/{$locale}/9/" => 'Mageia&nbsp;9',
+ "/{$locale}/downloads/" => _r('Download'),
+ $releasenotes => _r('Release notes'),
+ $errata => _r('Errata'),
+// "//bugs.mageia.org/" => _r('Bugs Reports'),
+);
+
+$sru = trim($_SERVER['REQUEST_URI']);
+
+$pnav = array();
+foreach ($nav as $k => $v) {
+ $pnav[] = sprintf('<li class="text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
+ $k,
+ $k == $sru ? ' class="nav-link active"' : ' class="nav-link"',
+ $v);
+}
+$pnav = implode($pnav);
+
+echo <<<S
+<div id="mgnavsub"><ul id="mgnavsubl" class="nav nav-pills flex-column flex-sm-row justify-content-center">{$pnav}</ul></div>
+S;
diff --git a/en/about/code-of-conduct/index.php b/en/about/code-of-conduct/index.php
index 2acad4887..21fd0695b 100644
--- a/en/about/code-of-conduct/index.php
+++ b/en/about/code-of-conduct/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
$dictionary = read_translation_file($locale, array('about/code-of-conduct', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
@@ -16,7 +18,7 @@ $dictionary = read_translation_file($locale, array('about/code-of-conduct', 'com
<?php include '../../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Code of Conduct')?></h1>
<div id="doc" class="yui-t7">
diff --git a/en/about/constitution/index.php b/en/about/constitution/index.php
index df4533e21..e736f097f 100644
--- a/en/about/constitution/index.php
+++ b/en/about/constitution/index.php
@@ -2,13 +2,13 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
-
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about/constitution', 'common_footer'));
// Note to translators: _r('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate constitution in file "mageia.org_statutes_fr.md" or "mageia.org_statutes_en.md" as a fallback first. Check wiki for details.')
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia.Org constitution'); ?></title>
@@ -18,7 +18,7 @@ $dictionary = read_translation_file($locale, array('about/constitution', 'common
<?php include '../../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="about constitution">
+<body class="about constitution" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Mageia.Org constitution')?></h1>
<div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
@@ -33,11 +33,12 @@ $dictionary = read_translation_file($locale, array('about/constitution', 'common
</div>
<div class="para">
<?php
- include G_APP_ROOT . '/_nav/lib/php-markdown/markdown.php';
+ include G_APP_ROOT . '/_nav/lib/Parsedown/Parsedown.php';
+ $Parsedown = new Parsedown();
if(in_array($locale, array('en', 'fr', 'sl', 'tr', 'ro', 'de', 'pt-br', 'el', 'id', 'uk', 'ru', 'es', 'eu'))) {
- echo Markdown(file_get_contents('mageia.org_statutes_' . $locale . '.md'));
+ echo $Parsedown->text(file_get_contents('mageia.org_statutes_' . $locale . '.md'));
} else {
- echo Markdown(file_get_contents('mageia.org_statutes_en.md'));
+ echo $Parsedown->text(file_get_contents('mageia.org_statutes_en.md'));
}
?>
</div>
diff --git a/en/about/index.php b/en/about/index.php
index bf0da10c5..a03250419 100644
--- a/en/about/index.php
+++ b/en/about/index.php
@@ -2,11 +2,12 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about', 'common_footer'));
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('About Mageia'); ?></title>
@@ -24,7 +25,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
</style>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="about">
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('About Mageia')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
@@ -46,7 +47,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
_r('gathered <a href="../community/">hundreds of careful individuals and several companies worldwide</a>,', ' '),
_r('who coproduce the infrastructure, the distribution itself, <a href="https://wiki.mageia.org/">documentation</a>, <a href="../downloads/">delivery</a> and <a href="../support/">support</a>, using Free Software tools;');
echo '</li>';
- _g('released seven major stable releases <a href="../1/">in June 2011</a>, <a href="../2/">in May 2012</a>, <a href="../3/">in May 2013</a>, <a href="../4/">in February 2014</a>, <a href="../5/">in June 2015</a>, <a href="../6/">in July 2017</a> and <a href="../7/">in June 2019</a>',null,'li');
+ _g('released eight major stable releases <a href="../1/">in June 2011</a>, <a href="../2/">in May 2012</a>, <a href="../3/">in May 2013</a>, <a href="../4/">in February 2014</a>, <a href="../5/">in June 2015</a>, <a href="../6/">in July 2017</a>, <a href="../7/">in June 2019</a> and <a href="../8/">in February 2021</a>',null,'li');
?></ul>
<!--
<ul>
@@ -93,7 +94,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
<hr>
<h3 ><?php _g('Mageia history archive')?></h3>
- <?php _g('For historical records you can find a <a href=%s>list of Mageia founders</a> and a<a href=%s>Mageia project announcement</a> from back in september 2010.',
+ <?php _g('For historical records you can find a <a href=%s>list of Mageia founders</a> and a <a href=%s>Mageia project announcement</a> from back in september 2010.',
array('"../about/founders.html"', '"../about/2010-sept-announcement.html"')); ?>
<hr>
diff --git a/en/about/license/index.php b/en/about/license/index.php
index a42946ee4..cd8147cc7 100644
--- a/en/about/license/index.php
+++ b/en/about/license/index.php
@@ -2,6 +2,7 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about/license', 'common_footer'));
@@ -11,7 +12,7 @@ $prepared_license_strings = read_license_from_vcs($locale);
// Note to translators: _r('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate license in your po file "http://gitweb.mageia.org/software/drakx/tree/perl-install/share/po/" first. Check wiki for details.')
?>
<!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<?php include '../../../analytics.php'; ?>
@@ -24,29 +25,29 @@ $prepared_license_strings = read_license_from_vcs($locale);
</head>
<body class="about">
<?php echo $hsnav; ?>
- <h1 id="mgnavtitle"><?php _g('Mageia license')?></h1>
+ <h1 id="mgnavtitle" <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?>><?php _g('Mageia license')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
<div id="bd" role="main" class="para">
<section>
<?php
echo '<div id="preamble">';
// _('An introduction text ... (summarizing, explaining the core principles, and why this license was chosen).');
- echo '<p>' . sprintf(_r('You can get more information about our licensing policy %shere</a>.'),
+ echo '<p'. ($rtl ? ' align="right"' : '') . '>' . sprintf(_r('You can get more information about our licensing policy %shere</a>.'),
'<a href="https://wiki.mageia.org/en/Licensing_policy">') . '</p>';
$unofficial_translation = array_shift($prepared_license_strings);
$patents_warning = array_pop($prepared_license_strings);
if($locale != 'en') {
- echo sprintf('<%s>' . $unofficial_translation[0] . '</%s>' . PHP_EOL, $unofficial_translation[1], $unofficial_translation[1]);
+ echo sprintf('<%s'. ($rtl ? ' align="right"' : '') . '>' . $unofficial_translation[0] . '</%s>' . PHP_EOL, $unofficial_translation[1], $unofficial_translation[1]);
}
echo '</div><br>';
foreach($prepared_license_strings as $string) {
- echo sprintf('<%s>' . $string[0] . '</%s>' . PHP_EOL, $string[1], $string[1]);
+ echo sprintf('<%s'. ($rtl ? ' align="right"' : '') . '>' . $string[0] . '</%s>' . PHP_EOL, $string[1], $string[1]);
}
- _g('Warning about patents', null, 'h2');
+ _g('Warning about patents', null, 'h2'. ($rtl ? ' align="right"' : ''));
$patents = str_replace('http://www.mp3licensing.com', '<a href="http://www.mp3licensing.com">www.mp3licensing.com</a>', $patents_warning[0]);
- echo '<p>' . $patents . '</p>' . PHP_EOL;
+ echo '<p'. ($rtl ? ' align="right"' : '') . '>' . $patents . '</p>' . PHP_EOL;
?>
</section>
</div>
diff --git a/en/about/media/index.php b/en/about/media/index.php
index 8c0385310..f5e76fc87 100644
--- a/en/about/media/index.php
+++ b/en/about/media/index.php
@@ -5,8 +5,10 @@ require '../../../langs.php';
$dictionary = read_translation_file($locale, array('about/media', 'common_footer'));
$underscore_locale = locale_hyphen_underscore($locale, true); // create pt_BR from pt-br and alike
+$rtl = is_locale_rtl($locale);
+
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia media files')?></title>
@@ -16,7 +18,7 @@ $underscore_locale = locale_hyphen_underscore($locale, true); // create pt_BR fr
<?php echo common_header(); ?>
<?php include '../../../analytics.php'; ?>
</head>
-<body class="about">
+<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Media files')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
diff --git a/en/about/policies/privacy/index.php b/en/about/policies/privacy/index.php
index 21e66f8cc..99159edc9 100644
--- a/en/about/policies/privacy/index.php
+++ b/en/about/policies/privacy/index.php
@@ -4,9 +4,10 @@ define('ALIGNMENT', 'Center');
require '../../../../langs.php';
$dictionary = read_translation_file($locale, array('about/policies/privacy', 'common_footer'));
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>" dir="ltr">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Privacy policy')?></title>
@@ -14,7 +15,7 @@ $dictionary = read_translation_file($locale, array('about/policies/privacy', 'co
<?php include '../../../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Policies')?></h1>
<div id="doc" class="yui-t7">
diff --git a/en/about/reports/index.php b/en/about/reports/index.php
index b3384bcdb..ee8e98384 100644
--- a/en/about/reports/index.php
+++ b/en/about/reports/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
$dictionary = read_translation_file($locale, array('about/reports', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia activity &amp; financial reports')?></title>
@@ -14,7 +16,7 @@ $dictionary = read_translation_file($locale, array('about/reports', 'common_foot
<?php include '../../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Activity Reports')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
@@ -24,7 +26,9 @@ $dictionary = read_translation_file($locale, array('about/reports', 'common_foot
<p><?php _g('Here you will find our various activity and financial reports for every year.')?></p>
<ul>
- <li>2020: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2020.html">', ' ' . _r('(in progress)')));?></li>
+ <li>2022: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2022.html">', ' ' . _r('(in progress)')));?></li>
+ <li>2021: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2021.html">', ' ' . _r('(in progress)')));?></li>
+ <li>2020: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2020.html">', ''));?></li>
<li>2019: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2019.html">', ''));?></li>
<li>2018: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2018.html">', ''));?></li>
<li>2017: <?php _g('%sFinancial report</a>%s.', array('<a href="https://treasurer.mageia.org/y_2017.html">', ''));?></li>
diff --git a/en/about/values/index.php b/en/about/values/index.php
index 5d177d370..9491ea540 100644
--- a/en/about/values/index.php
+++ b/en/about/values/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
$dictionary = read_translation_file($locale, array('about/values', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia Values')?></title>
@@ -14,7 +16,7 @@ $dictionary = read_translation_file($locale, array('about/values', 'common_foote
<?php include '../../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Values')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
diff --git a/en/calendar/index.php b/en/calendar/index.php
index 906307f6a..fb4f366d2 100644
--- a/en/calendar/index.php
+++ b/en/calendar/index.php
@@ -3,6 +3,7 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('calendar', 'common_footer'));
+$rtl = is_locale_rtl($locale);
/**
*
@@ -54,7 +55,7 @@ foreach ($calendars as $c) {
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia calendar') ?></title>
@@ -65,13 +66,13 @@ foreach ($calendars as $c) {
<?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
</head>
-<body class="community">
+<body class="community" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav?>
- <div id="doc" class="yui-t7" style="margin-bottom: 0px;">
- <div id="hd" role="banner"><h1><a id="logo" href="/"><span>Mageia</span></a>
+ <div id="doc" class="yui-t7" style="margin-bottom: 0px;<?php echo $rtl ? ' text-align: right;' : ''?>">
+ <div id="hd" role="banner"><h1<?php echo $rtl ? ' style="float: right;"' : ''?>><a id="logo" href="/"><span<?php echo $rtl ? ' style="text-align: right;"' : ''?>>Mageia</span></a>
<span class="lsep">|</span> <span class="subh"><?php _g('Calendar')?></span></h1></div>
<div id="bd" role="main">
- <div class="yui-g">
+ <div class="yui-g" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<br />
<iframe src="<?php echo $url; ?>"
style="border-width:0"
@@ -86,7 +87,7 @@ foreach ($calendars as $c) {
<p><?php _g('For any comment, addition, change to this calendar, feel free to contact us through:') ?></p>
<ul>
<li><?php _g('your <a href="https://wiki.mageia.org/en/">team</a> leader or representative,') ?></li>
- <li><?php _g('<a href="irc://irc.freenode.net/#mageia-dev">#mageia-dev</a> on Freenode,') ?></li>
+ <li><?php _g('<a href="ircs://irc.libera.chat:6697/#mageia-dev">#mageia-dev</a> on Libera.Chat,') ?></li>
<li><?php _g('<a href="mailto:mageia-contact@mageia.org">mageia-contact@mageia.org</a> in last resort.') ?></li>
</ul>
</div>
diff --git a/en/community/index.php b/en/community/index.php
index 084c25dcc..91a5987e7 100644
--- a/en/community/index.php
+++ b/en/community/index.php
@@ -4,10 +4,11 @@ define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('community', 'news', 'common_footer'));
include '../../lib/news.php';
+$rtl = is_locale_rtl($locale);
?>
<!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia Community')?></title>
@@ -25,7 +26,7 @@ include '../../lib/news.php';
hr { margin-top: 2em; }
</style>
</head>
-<body class="community">
+<body class="community" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<header id="mgnavt">
<h1><?php _g('Mageia Community Central')?></h1>
@@ -62,7 +63,7 @@ include '../../lib/news.php';
}
if(0 != $num_fresh_eng_posts) {
show_feed($locale, _r('News in English') . " ($eng_posts_title)", $fresh_eng_posts[0]["source"], '', 0, null, true, null, $fresh_eng_posts);
- }
+ }
// don't work:
//show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10');
//show_feed('Mageia Forum', 'https://forum.mageia.org/en/', 'https://forums.mageia.org/en/feed.php?mode=topics_active');
@@ -106,7 +107,7 @@ include '../../lib/news.php';
<h2><?php _g('Conversations')?></h2>
<p><?php _g('... or, how to get in touch with us? Easy:')?></p>
<ul class="hl">
- <li><a href="<?php _g('https://wiki.mageia.org/en/IRC')?>" title="Internet Relay Chat"><?php echo _r('IRC</a> on Freenode')?>,</li>
+ <li><a href="<?php _g('https://wiki.mageia.org/en/IRC')?>" title="Internet Relay Chat"><?php echo _r('IRC</a> on Libera.Chat')?>,</li>
<li><a href=<?php _g('"https://wiki.mageia.org/en/Mailing_lists" hreflang="en"')?>><?php echo _r('Mailing-lists')?></a>,</li>
<li><a href="<?php _g('https://forum.mageia.org/en/')?>"><?php echo _r('Forums')?></a>,</li>
<li><a href="<?php _g('https://blog.mageia.org/en/')?>"><?php echo _r('Blog')?></a>,</li>
@@ -129,7 +130,7 @@ include '../../lib/news.php';
<li><a href=<?php _g('"https://wiki.mageia.org/en/QA_Team" hreflang="en"')?>><?php _g('Testing &amp; <abbr title="Quality Assurance">QA</abbr>')?></a></li>
<li><a href=<?php _g('"https://wiki.mageia.org/en/Internationalisation_Team_(i18n)" hreflang="en"')?>><?php _g('Translation')?></a></li>
<li><a href=<?php _g('"https://wiki.mageia.org/en/Sysadmin_Team" hreflang="en"')?>><?php _g('Systems &amp; infrastructure administration')?></a></li>
- <li><a href=<?php _g('"https://wiki.mageia.org/en/Bugsquad" hreflang="en"')?>><?php _g('Bugs triaging')?></a></li>
+ <li><a href=<?php _g('"https://wiki.mageia.org/en/Bug_Squad" hreflang="en"')?>><?php _g('Bug Squad')?></a></li>
</ul>
</div>
<div class="col">
diff --git a/en/contact/index.php b/en/contact/index.php
index b133d70ce..41593de00 100644
--- a/en/contact/index.php
+++ b/en/contact/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('contact', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Contact Us')?></title>
@@ -15,7 +17,7 @@ $dictionary = read_translation_file($locale, array('contact', 'common_footer'));
<link rel="canonical" href="/<?php echo $locale; ?>/contact/">
<?php include '../../analytics.php'; ?>
</head>
-<body class="contact">
+<body class="contact" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Contact Us')?></h1>
<div id="doc" class="container row">
@@ -29,7 +31,7 @@ $dictionary = read_translation_file($locale, array('contact', 'common_footer'));
<?php _g('Discuss with other users via:');?>
<ul><li><?php _g('The <a href="%s">forum</a>', array('https://forums.mageia.org/'))?></li>
<li><?php _g('User <a href="%s">mailing list</a>', array('https://ml.mageia.org/l/info/discuss'))?></li>
- <li><?php _g('<a href="%s">IRC</a> channel', array('irc://irc.freenode.net/#mageia'))?></li>
+ <li><?php _g('<a href="%s">IRC</a> channel', array('ircs://irc.libera.chat:6697/#mageia'))?></li>
</ul>
<?php echo '<hr>';
diff --git a/en/contribute/index.php b/en/contribute/index.php
index e9bf8ea13..ea10fea31 100644
--- a/en/contribute/index.php
+++ b/en/contribute/index.php
@@ -4,9 +4,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('contribute', 'common_footer'));
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Contribute to Mageia')?></title>
@@ -18,10 +19,10 @@ $dictionary = read_translation_file($locale, array('contribute', 'common_footer'
<?php echo common_header(); ?>
<link rel="canonical" href="/<?php echo $locale; ?>/contribute/">
</head>
-<body id="top" class="contribute">
+<body id="top" class="contribute" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Contribute to Mageia')?></h1>
- <div id="doc5" class="yui-t7" style="margin-bottom: 0px;">
+ <div id="doc5" class="yui-t7" style="margin-bottom: 0px; <?php echo $rtl ? 'text-align: right;"' : ''?>">
<div class="row">
<div class="para bb1" style="padding-top: 2em;">
<p><?php _g('Many people from all over the world gather to build Mageia &ndash; a Linux-based operating system <em>and</em> a <a href="../about/code-of-conduct/">lively, fun community</a> for <a href="../about/values/">building Free Software projects</a>.')?></p>
@@ -66,7 +67,10 @@ $dictionary = read_translation_file($locale, array('contribute', 'common_footer'
</li>
<li id="triage">
<h3><a href="https://wiki.mageia.org/en/Bug_Squad"><?php _g('Triaging')?></a></h3>
- <p><?php _g('Bugs happen! And some get reported. So, logically they need to be triaged to make the task of the packagers/developers fixing them easier: validation (is the bug reproducible?), collecting the needed debugging info from the reporter, assigning the report properly. <a href="https://wiki.mageia.org/en/Bug_Squad">Grow the Triage team</a> and be the link between users who report bugs in the forums or mailing-lists, and the <a href="https://bugs.mageia.org/">Mageia Bugzilla</a> used by developers.')?></p>
+ <p><?php _g('Bugs happen! And some get reported. So, logically they need to be triaged to make the task of the packagers/developers fixing them easier: validation (is the bug reproducible?), collecting the needed debugging info from the reporter, assigning the report properly.', null, ' ');
+ _g("Our %sBug Squad%s takes care of that and more, grow this team and play an essential part in %sMageia's bug%s solving.",
+ array('<a href="' . _r('https://wiki.mageia.org/en/Bug_Squad') . '">', '</a>',
+ '<a href="https://bugs.mageia.org/">', '</a>'))?></p>
</li>
<li id="qa">
<h3><a href="https://wiki.mageia.org/en/QA_Team"><?php _g('Testing &amp; <abbr title="Quality Assurance">QA</abbr>')?></a></h3>
diff --git a/en/doc/archive.php b/en/doc/archive.php
index c80abf8d1..96cf76a37 100644
--- a/en/doc/archive.php
+++ b/en/doc/archive.php
@@ -4,9 +4,10 @@ define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('documentation', 'common_footer'));
require 'doc.php';
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>" dir="ltr">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia Documentation\'s Archive')?></title>
@@ -14,8 +15,9 @@ require 'doc.php';
<meta name="keywords" content="<?php _g('doc,documentation,help,guide,installer,installation,mageia,linux')?>">
<?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
-</head
-<body class="doc">
+ <?php echo $rtl ? '<style> caption { text-align: right; } </style>' : ''?>
+</head>
+<body class="doc" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Mageia Documentation\'s Archive')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">
@@ -27,6 +29,22 @@ require 'doc.php';
<?php _g('If you are looking for the current versions, see <a href="index.php">here</a>.')?></p>
<?php _g('Documentation built using the <a href="%s">Calenco tool from NeoDoc</a>.', 'http://www.neodoc.biz/', 'p')?>
<hr>
+ <h3>Mageia 7</h3>
+ <div class="row">
+ <div class="col">
+ <?php doc_list(_r('Control Center'), 'control_center', 7); ?>
+ </div>
+ <div class="col">
+ <?php doc_list(_r('Installer'), 'installer', 7); ?>
+ </div>
+ <div class="col">
+ <?php doc_list(_r('Installation from LIVE medium'), 'draklive', 7); ?>
+ </div>
+ <div class="col">
+ <?php doc_list(_r('Network installation'), 'netinstall', 7); ?>
+ </div>
+ </div>
+ <hr>
<h3>Mageia 6</h3>
<div class="row">
<div class="col">
diff --git a/en/doc/doc.php b/en/doc/doc.php
index 49f46f63d..1e91f6ce5 100644
--- a/en/doc/doc.php
+++ b/en/doc/doc.php
@@ -1,5 +1,16 @@
<?php
+//blind copy from 8, dont know if it's correct
+$documentation['installer' ][9] = array('ca','cs','de','el','en','eo','es','et','eu','fr','hr','hu','ja','nb','nl','pl','pt_br','ro','ru','sk','sl','sq','sr','sv','tr','uk','zh_cn');
+$documentation['control_center'][9] = array('ca','cs','da','de','el','en','es','et','eu','fr','id','it','ja','nb','nl','pl','pt_br','ro','ru','sl','sq','sr','sv','tr','uk','zh_cn');
+$documentation['draklive' ][9] = array('cs','de','el','en','es','et','eu','fr','hr','ja','nl','pt_br','ro','ru','sk','sl','sq','sr','sv','uk');
+$documentation['netinstall' ][9] = array('ca','de','el','en','es','et','eu','fr','hu','ja','nb','nl','pt_br','ru','sl','sq','sr','sv','tr','uk','zh_cn');
+
+$documentation['installer' ][8] = array('ca','cs','de','el','en','eo','es','et','eu','fr','hr','hu','ja','nb','nl','pl','pt_br','ro','ru','sk','sl','sq','sr','sv','tr','uk','zh_cn');
+$documentation['control_center'][8] = array('ca','cs','da','de','el','en','es','et','eu','fr','id','it','ja','nb','nl','pl','pt_br','ro','ru','sl','sq','sr','sv','tr','uk','zh_cn');
+$documentation['draklive' ][8] = array('cs','de','el','en','es','et','eu','fr','hr','ja','nl','pt_br','ro','ru','sk','sl','sq','sr','sv','uk');
+$documentation['netinstall' ][8] = array('ca','de','el','en','es','et','eu','fr','hu','ja','nb','nl','pt_br','ru','sl','sq','sr','sv','tr','uk','zh_cn');
+
$documentation['installer' ][7] = array('ca','cs','de','el','en','eo','es','et','eu','fr','hr','hu','ja','nb','nl','pl','pt_br','ro','ru','sk','sl','sq','sv','tr','uk','zh_cn');
$documentation['control_center'][7] = array('ca','cs','da','de','el','en','es','et','eu','fr','id','it','ja','nb','nl','pl','pt_br','ro','ru','sl','sq','sv','tr','uk','zh_cn');
$documentation['draklive' ][7] = array('cs','de','el','en','es','et','eu','fr','hr','ja','nl','pt_br','ro','sk','sl','sq','sv','uk','zh_cn');
@@ -135,7 +146,7 @@ function doc_list($documentation_name, $type, $version)
if ($your_language_present) {
$text_your_language = '<span style="font-weight:bold">' . _r('Documentation in your language:') . '</span><br/>';
if ($other_languages_present) {
- $text_others = '<a class="btn btn-sm btn-outline-primary" data-toggle="collapse" href="#table-'.$name.'-'.$version.'" role="button" aria-expanded="false" aria-controls="table-'.$name.'-'.$version.'">' . _r('Other languages:') . ' &#x2198; </a>';
+ $text_others = '<a class="text-muted font-weight-light" data-toggle="collapse" href="#table-'.$name.'-'.$version.'" role="button" aria-expanded="false" aria-controls="table-'.$name.'-'.$version.'">' . _r('Other languages:') . ' &#x2198; </a>';
}
$table .= sprintf("\t<caption class=\"caption-top\">%s</caption>" . PHP_EOL .
"\t<thead><tr><th class=\"border-0\">%s</th></tr></thead>" . PHP_EOL .
@@ -152,9 +163,9 @@ function doc_list($documentation_name, $type, $version)
$language_present_before = '';
}
}
- $text_your_language = _r('Please help <a href="../community/">us</a> translate it in your language.') . '<br/>';
+ $text_your_language = _r('Not <a href="../community/">yet</a> available in your language.') . ' ' . _r('Click below for alternative available languages.') . '<br/>';
$table .= sprintf("\t<caption class=\"caption-top\">%s<br/>" . PHP_EOL .
- "\t%s<a class=\"btn btn-sm btn-outline-primary\" data-toggle=\"collapse\" href=\"#table-$name-$version\" role=\"button\" aria-expanded=\"false\" aria-controls=\"table-$name-$version\"> &#x2198; </a></caption>" . PHP_EOL . '%s' .
+ "\t%s<a class=\"text-muted font-weight-light\" data-toggle=\"collapse\" href=\"#table-$name-$version\" role=\"button\" aria-expanded=\"false\" aria-controls=\"table-$name-$version\"> &#x2198; </a></caption>" . PHP_EOL . '%s' .
"\t<tbody class=\"collapse\" id=table-%s-%s>" . PHP_EOL ,
'<span style="font-weight:bold">' . $documentation_name . '</span>', $text_your_language, $language_present_before, $name, $version);
}
diff --git a/en/doc/index.php b/en/doc/index.php
index 38e381c7d..163fe8ced 100644
--- a/en/doc/index.php
+++ b/en/doc/index.php
@@ -5,10 +5,10 @@ require '../../langs.php';
$dictionary = read_translation_file($locale, array('documentation', 'common_footer'));
require 'doc.php';
-
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>" dir="ltr">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia Documentation')?></title>
@@ -16,8 +16,9 @@ require 'doc.php';
<meta name="keywords" content="<?php _g('doc,documentation,help,guide,installer,installation,mageia,linux')?>">
<?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
+ <?php echo $rtl ? '<style> caption { text-align: right; } </style>' : ''?>
</head>
-<body class="doc">
+<body class="doc" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Mageia Documentation')?></h1>
<div id="doc" class="yui-t7">
@@ -27,23 +28,39 @@ require 'doc.php';
<h2><?php _g('Find your documentation')?></h2>
<p><?php _g('Select the manual, the release of Mageia and the language you want to see.')?><br/>
<?php _g('Documentation of old versions are available in the <a href="archive.php">archive page</a>.')?></p>
- <p><?php _g('Those manuals are the result of common work of <a href="https://wiki.mageia.org/en/Documentation_team">documentation</a> and <a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)">translation</a> teams.')?><br/>
- <?php _g('Feel free to help us improving it!')?></p>
+ <p><?php _g('These manuals are the result of common work by the <a href="https://wiki.mageia.org/en/Documentation_team">documentation</a> and <a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)">translation</a> teams.')?><br/>
+ <?php _g('Feel free to help <a href="../community/">us improve</a> them, or to assist in translating them into your language.')?></p>
<?php _g('Documentation built using the <a href="%s">Calenco tool from NeoDoc</a>.', 'http://www.neodoc.biz/', 'p')?>
<hr>
- <h3>Mageia 7</h3>
+ <h3>Mageia 9</h3>
+ <div class="row">
+ <div class="col">
+ <?php doc_list(_r('Control Center'), 'control_center', 9); ?>
+ </div>
+ <div class="col">
+ <?php doc_list(_r('Installer'), 'installer', 9); ?>
+ </div>
+ <div class="col">
+ <?php doc_list(_r('Installation from LIVE medium'), 'draklive', 9); ?>
+ </div>
+ <div class="col">
+ <?php doc_list(_r('Network installation'), 'netinstall', 9); ?>
+ </div>
+ </div>
+ <hr>
+ <h3>Mageia 8</h3>
<div class="row">
<div class="col">
- <?php doc_list(_r('Installer'), 'installer', 7); ?>
+ <?php doc_list(_r('Control Center'), 'control_center', 8); ?>
</div>
<div class="col">
- <?php doc_list(_r('Control Center'), 'control_center', 7); ?>
+ <?php doc_list(_r('Installer'), 'installer', 8); ?>
</div>
<div class="col">
- <?php doc_list(_r('Installation from LIVE medium'), 'draklive', 7); ?>
+ <?php doc_list(_r('Installation from LIVE medium'), 'draklive', 8); ?>
</div>
<div class="col">
- <?php doc_list(_r('Network installation'), 'netinstall', 7); ?>
+ <?php doc_list(_r('Network installation'), 'netinstall', 8); ?>
</div>
</div>
<hr>
diff --git a/en/donate/index.php b/en/donate/index.php
index 937d64b3c..d8a8f3401 100644
--- a/en/donate/index.php
+++ b/en/donate/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('donate', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Donate to Mageia')?></title>
@@ -18,11 +20,9 @@ $dictionary = read_translation_file($locale, array('donate', 'common_footer'));
h3 {margin:1.5em 0 0.3em; }
.dlinfo li { margin-bottom: 0.6em; }
</style>
- <script src="//static.mageia.org/g/js/jquery-1.10.1.min.js"></script>
<script src="//static.mageia.org/g/js/treasurer.js"></script>
- <script>donate_page();</script>
</head>
-<body class="donate">
+<body class="donate" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Donate to Mageia')?></h1>
<div id="doc2" class="yui-t7" style="margin-bottom: 0px;">
@@ -31,8 +31,6 @@ $dictionary = read_translation_file($locale, array('donate', 'common_footer'));
<div class="para">
<h2 id="d-paypal"><?php _g('Donate via PayPal,'); ?></h2>
<?php include '../../paypal.inc.php'; echo html_paypal_form($locale); ?>
- <h3 id="d-bitcoin"><?php _g('via bitcoin,'); ?></h3>
- <?php echo sprintf(_r('If you want to donate <a href="http://bitcoin.org/">bitcoins</a>, the Mageia.Org bitcoin address is <b>%s</b>.'), '<a href="https://blockchain.info/address/1GYF2h69NrJ7Pp92bNPDEdLABbH1hR7rsA">1GYF2h69NrJ7Pp92bNPDEdLABbH1hR7rsA</a>'); ?>
<h3><?php _g('or via check (&euro; only).')?></h3>
<p><?php _g('You can send your donation by check to this address:')?></p>
@@ -97,5 +95,6 @@ People can choose how to distribute their donation among those:
</div>
</div>
<?php echo common_footer($locale); ?>
+<script>donate_page();</script>
</body>
</html>
diff --git a/en/downloads/alternative/index.php b/en/downloads/alternative/index.php
index 0ff32f884..620a8b860 100644
--- a/en/downloads/alternative/index.php
+++ b/en/downloads/alternative/index.php
@@ -1,7 +1,7 @@
<?php
-$current = '7.1';
-$cauldron = 'Cauldron';
+$current = '9';
+$cauldron = '10';
define('HLANG', true);
@@ -35,7 +35,7 @@ $dictionary = read_translation_file($locale, array('cauldron', 'common_footer'))
_g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array(''),'p');
echo '<ul><li>';
_g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
- _g('Unetbootin is not supported.', null, 'span class="warn"'); ?>
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
</li>
<?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
</ul>
diff --git a/en/downloads/get/definitions.ini b/en/downloads/get/definitions.ini
index f2ae1555d..5e8ae60dc 100644
--- a/en/downloads/get/definitions.ini
+++ b/en/downloads/get/definitions.ini
@@ -1337,7 +1337,7 @@ obsolete = "yes"
;
[Mageia-6.1-netinstall-i586-CD.iso]
file = "Mageia-6.1-netinstall-i586.iso"
-path = "distrib/6.1/i586/install/images"
+path = "distrib/6/i586/install/images"
md5 = "890d25720f9d040e4db8883518d214d9"
sha512 = "54b6288f67e62e05d8e5c31e1ee3f8ddc47f541d8541667f87153bf1abdf1c6cbdb0470fbf62f14ebd62b2e32dc12f3fccd8add5b56bcac7116ec270a6e50777"
name = "Mageia 6.1 Netinstall 32bit CD ISO"
@@ -1347,7 +1347,7 @@ obsolete = "yes"
;
[Mageia-6.1-netinstall-nonfree-i586-CD.iso]
file = "Mageia-6.1-netinstall-nonfree-i586.iso"
-path = "distrib/6.1/i586/install/images"
+path = "distrib/6/i586/install/images"
md5 = "140c38aefc3308ecbe3199132a275787"
sha512 = "d3cf6303520d8edf746ba06fac7647f23cd2bba9cdc1c358ce599600babdbc435c5b6c345f41db1a464beeff53101ed83de8bb431619a3e3a1c877813b9d993e"
name = "Mageia 6.1 Netinstall Nonfree 32bit CD ISO"
@@ -1357,7 +1357,7 @@ obsolete = "yes"
;
[Mageia-6.1-netinstall-x86_64-CD.iso]
file = "Mageia-6.1-netinstall-x86_64.iso"
-path = "distrib/6.1/x86_64/install/images"
+path = "distrib/6/x86_64/install/images"
md5 = "0bc22541dd21a7cb8a370a48bef85add"
sha512 = "f4ccbc62e3546d8ad6ed47a29a074db00cfed4c9f6635c84125325da27abbb677f020b010df5af0fc1d56d269347b55ea526543c16c7a225aabe6059eec6c746"
name = "Mageia 6.1 Netinstall 64bit CD ISO"
@@ -1367,7 +1367,7 @@ obsolete = "yes"
;
[Mageia-6.1-netinstall-nonfree-x86_64-CD.iso]
file = "Mageia-6.1-netinstall-nonfree-x86_64.iso"
-path = "distrib/6.1/x86_64/install/images"
+path = "distrib/6/x86_64/install/images"
md5 = "a72d5efa2e2ac49425820072a2faa392"
sha512 = "5f9a2a1ebf9275f65760a655ab6a740318fd571c1fca39014aa9257f1b0a291c66febcdfaa4f0fee578c35aa560c6cc0eba137a1749111e86b6b0c99d2eed572"
name = "Mageia 6.1 Netinstall Nonfree 64bit CD ISO"
@@ -1606,36 +1606,38 @@ obsolete = "yes"
;
[Mageia-7.1-netinstall-i586.iso]
file = "Mageia-7.1-netinstall-i586.iso"
-path = "distrib/7.1/i586/install/images"
+path = "distrib/7/i586/install/images"
sha512 = "13c63a10d983c379f2a3563577815976d7108764cf6c089b14cbf7e813b95ac47832ed19dbac78afedc99a279087769505f91508a20ecafa112ba7e6f25d67dc"
name = "Mageia 7.1 Netinstall 32bit"
size = "around 39 MB"
+obsolete = "yes"
;
[Mageia-7.1-netinstall-nonfree-i586.iso]
file = "Mageia-7.1-netinstall-nonfree-i586.iso"
-path = "distrib/7.1/i586/install/images"
+path = "distrib/7/i586/install/images"
sha512 = "aa9ea9052e5de2fd952a4968c9fb0897ecc702d1be980a40d85cca8ee92e87e0818aee8a844d770f6e102c2fd20b8062a7c09a6ac20dd4111ceff933f52bb115"
name = "Mageia 7.1 Netinstall Nonfree 32bit"
size= "around 66 MB"
+obsolete = "yes"
;
[Mageia-7.1-netinstall-x86_64.iso]
file = "Mageia-7.1-netinstall-x86_64.iso"
-path = "distrib/7.1/x86_64/install/images"
+path = "distrib/7/x86_64/install/images"
sha512 = "d042514399b0ec856d22c4d54cccfd582a6da202865c8eeb3a0812f69869d92a9be457dc0e368e8dff51d16aa2bf4759325ef2bacbf82c347f67938656a36e33"
name = "Mageia 7.1 Netinstall 64bit"
size = "around 52 MB"
+obsolete = "yes"
;
[Mageia-7.1-netinstall-nonfree-x86_64.iso]
file = "Mageia-7.1-netinstall-nonfree-x86_64.iso"
-path = "distrib/7.1/x86_64/install/images"
+path = "distrib/7/x86_64/install/images"
sha512 = "b3c22e16f79edcf1bd4412049bcb8d052910efb1ccdfa17ddfd538f973c01f2919b3a57b67e484fe7429483328339e586a2506e824a0a8818c3103bafd3df4c3"
name = "Mageia 7.1 Netinstall Nonfree 64bit"
size = " 81 MB"
-
-
+obsolete = "yes"
;
[Mageia-7.1-Live-GNOME-x86_64.iso]
@@ -1647,9 +1649,10 @@ sha512.gpg = "Mageia-7.1-Live-GNOME-x86_64.sha512.gpg"
langs = "English (American) (en_US)"
path = "iso/7.1/Mageia-7.1-Live-GNOME-x86_64"
torrent = "iso/7.1/torrents/Mageia-7.1-Live-GNOME-x86_64.torrent"
-magnet = "magnet:?xt=urn:btih:d8e087e0ef9574ea57f9867e5aa9852781d7fb1e&dn=Mageia-7.1-Live-GNOME-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451"
+magnet = "magnet:?xt=urn:btih:d8e087e0ef9574ea57f9867e5aa9852781d7fb1e&dn=Mageia-7.1-Live-GNOME-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
name = "Mageia 7.1 Live GNOME 64bit"
size = "2.5 GB"
+obsolete = "yes"
;
[Mageia-7.1-Live-Plasma-x86_64.iso]
@@ -1661,9 +1664,10 @@ sha512.gpg = "Mageia-7.1-Live-Plasma-x86_64.sha512.gpg"
langs = "English (American) (en_US)"
path = "iso/7.1/Mageia-7.1-Live-Plasma-x86_64"
torrent = "iso/7.1/torrents/Mageia-7.1-Live-Plasma-x86_64.torrent"
-magnet = "magnet:?xt=urn:btih:05c29597c5e9dcd0fc0e77db84b459882936c1af&dn=Mageia-7.1-Live-Plasma-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451"
+magnet = "magnet:?xt=urn:btih:05c29597c5e9dcd0fc0e77db84b459882936c1af&dn=Mageia-7.1-Live-Plasma-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
name = "Mageia 7.1 Live Plasma 64bit"
size = "2.8 GB"
+obsolete = "yes"
;
[Mageia-7.1-Live-Xfce-i586.iso]
@@ -1675,9 +1679,10 @@ sha512.gpg = "Mageia-7.1-Live-Xfce-i586.sha512.gpg"
langs = "English (American) (en_US)"
path = "iso/7.1/Mageia-7.1-Live-Xfce-i586"
torrent = "iso/7.1/torrents/Mageia-7.1-Live-Xfce-i586.torrent"
-magnet = "magnet:?xt=urn:btih:2ab1c712c23a92007b34cf3415c912b004ba3a0e&dn=Mageia-7.1-Live-Xfce-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451"
+magnet = "magnet:?xt=urn:btih:2ab1c712c23a92007b34cf3415c912b004ba3a0e&dn=Mageia-7.1-Live-Xfce-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
name = "Mageia 7.1 Live Xfce 32bit"
size = "2.2 GB"
+obsolete = "yes"
;
[Mageia-7.1-Live-Xfce-x86_64.iso]
@@ -1689,9 +1694,10 @@ sha512.gpg = "Mageia-7.1-Live-Xfce-x86_64.sha512.gpg"
langs = "English (American) (en_US)"
path = "iso/7.1/Mageia-7.1-Live-Xfce-x86_64"
torrent = "iso/7.1/torrents/Mageia-7.1-Live-Xfce-x86_64.torrent"
-magnet = "magnet:?xt=urn:btih:dd542c11d921924da4b603740786b2642f6fa0a3&dn=Mageia-7.1-Live-Xfce-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451"
+magnet = "magnet:?xt=urn:btih:dd542c11d921924da4b603740786b2642f6fa0a3&dn=Mageia-7.1-Live-Xfce-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
name = "Mageia 7.1 Live Xfce 64bit"
size = "2.3 GB"
+obsolete = "yes"
;
[Mageia-7.1-i586.iso]
@@ -1705,6 +1711,7 @@ torrent = "iso/7.1/torrents/Mageia-7.1-i586.torrent"
magnet = "magnet:?xt=urn:btih:7422fc1d5454eb4356c22846bccff738e9573272&dn=Mageia-7.1-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451"
name = "Mageia 7.1 32bit"
size = "4.1 GB"
+obsolete = "yes"
;
[Mageia-7.1-x86_64.iso]
@@ -1715,45 +1722,327 @@ sha512 = "36b7c2bb7cc878b02a476ce3cc20e94df6d0aad2ca85ce471ab9b54b0d2f43d6bba385
sha512.gpg = "Mageia-7.1-x86_64.sha512.gpg"
path = "iso/7.1/Mageia-7.1-x86_64"
torrent = "iso/7.1/torrents/Mageia-7.1-x86_64.torrent"
-magnet = "magnet:?xt=urn:btih:7a623c3144e9971e77d89d7a18f54c1a27a9bb41&dn=Mageia-7.1-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451"
+magnet = "magnet:?xt=urn:btih:7a623c3144e9971e77d89d7a18f54c1a27a9bb41&dn=Mageia-7.1-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
name = "Mageia 7.1 64bit"
size = "4.2 GB"
+obsolete = "yes"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;; Mageia 8
;;;;;;;;;;;;;;;;;;;;;
+
+;
+[Mageia-8-netinstall-i586.iso]
+file = "Mageia-8-netinstall-i586.iso"
+md5 = "71c86222f1ab8623f8511b5d5fca6198"
+path = "distrib/8/i586/install/images"
+name = "Mageia 8 netinstall 32bit"
+size = "47 MB"
+sha3 = "167869AF9FD970376E711DB754E696681341966CB13D4A1EFA78CBD43CCFC3F45F550E1E0F09F5C19B568FE31FC8F28E5066382480266BF6578ACFA0BF7A8CA4"
+sha512 = "c8d96ffb3c7484a39a9fcb494c96e1a5361ede7770bddef9ae88381f7458da76e84741705404b85eb07ed9e27ff4740415d220f5ff0c5e16292481456b0168eb"
+
+;
+[Mageia-8-netinstall-nonfree-i586.iso]
+file = "Mageia-8-netinstall-nonfree-i586.iso"
+md5 = "8555710a334cae033406856a3bf2012b"
+path = "distrib/8/i586/install/images"
+name = "Mageia 8 netinstall nonfree 32bit"
+size = "99 MB"
+sha3 = "271D823302F217A252775464E441BCD28340DC00DC17FB3DBA3AFCFE3374F3D0AAB1C7C42A51CF7FA1AB5B2FD7B42F90F84E64A5F65485CE46EE628FCE764794"
+sha512 = "1b7e636ba16a197366af8f1cf39b5155f5b242ca5fedf6ea6e601ae2cb059464f6e35e1f01b445b20151eb05fdced2cde3d5e9921ac77338fc1dd941844c762d"
+
+;
+[Mageia-8-netinstall-nonfree-x86_64.iso]
+file = "Mageia-8-netinstall-nonfree-x86_64.iso"
+md5 = "f169aabc5c2a2b07f9bf1c90092710b0"
+path = "distrib/8/x86_64/install/images"
+name = "Mageia 8 netinstall nonfree 64bit"
+size = "120 MB"
+sha3 = "4041E49B7A4A8E752378D4E384F2649E82D6B5F66D33C1F453B2F729605975F915D6A88AE686E53B53CA3B739F356E972F5081F3269DEE30C46F220FC6A8459B"
+sha512 = "f250775a1ebf9d3315854debee5e3fc2d330a05f78d396b63c46abdafb649825d7c62592356139f09e67bf237f5f38dc87bdf20cf39285fbda183f9549edf9df"
+
+;
+[Mageia-8-netinstall-x86_64.iso]
+file = "Mageia-8-netinstall-x86_64.iso"
+md5 = "f67cf848d71627986d3232252f2c852f"
+path = "distrib/8/x86_64/install/images"
+name = "Mageia 8 netinstall 64bit"
+size = "65 MB"
+sha3 = "E5882C232A5C3ED282BCAD4983CA3A1CE5770E0784B5E91693F07CDAEBE759B1B6F6B1F10C204D697B07C13EE2499083A5C4583F86F2107C7F33AB7C787AD232"
+sha512 = "0fe89f652f88898f7a66db547f97fdd30e8009bc466e3f5b585552cd48dcce8b70c44665e7b634f18509eeef7d2e798da2745047d5e94028e9c85a75a3e12456"
+
+;
+[Mageia-8-Live-GNOME-x86_64.iso]
+file = "Mageia-8-Live-GNOME-x86_64.iso"
+md5 = "9845d2b8c42bda8e9d824f6bb01795a9"
+md5.gpg = "Mageia-8-Live-GNOME-x86_64.md5.gpg"
+sha3 = "218EF3616F6556EB02887781240D2729DE36C637638ADCCAA186BCCABF0264B38CD8F03F8E874FC9832A0EBBF24F9C75D2178B0F699973D7999CF2157485BEBE"
+sha3.gpg = "Mageia-8-Live-GNOME-x86_64.iso.sha3"
+sha512 = "c5864a86eb40779893e83cffbdca69fbe4a74374ca0c0910773728a948620a9444a0c6399a63e30930f95b37b209ea72b5d9ff6741855b6cc2e211d5f5e6cb6e"
+sha512.gpg = "Mageia-8-Live-GNOME-x86_64.sha512.gpg"
+path = "iso/8/Mageia-8-Live-GNOME-x86_64"
+torrent = "iso/8/torrents/Mageia-8-Live-GNOME-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:86528d316f9fa36bf37b034f8774844956434226&dn=Mageia-8-Live-GNOME-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 8 Live GNOME 64bit"
+size = "3 GB"
+
+;
+[Mageia-8-Live-Plasma-x86_64.iso]
+file = "Mageia-8-Live-Plasma-x86_64.iso"
+md5 = "4f4595605394fa3a9d93ccd3c830e019"
+md5.gpg = "Mageia-8-Live-Plasma-x86_64.md5.gpg"
+sha3 = "2336F5CB19930D9346B9032F82331AFBAD630CAF13E1CA946B8EDDE66AFE47CBDA73BA7279F381C9FC22C0B2FC43287DD192CA626408A454102BE06199E152F8"
+sha3.gpg = "Mageia-8-Live-Plasma-x86_64.iso.sha3"
+sha512 = "74f3169a77a3d238b8aac87d17cfa00897e911e0e841530139eaed8a9eb57900ec2f1b5d044de323408b108b360df98067cd7857e10df90ff4b17c4c868e91ee"
+sha512.gpg = "Mageia-8-Live-Plasma-x86_64.sha512.gpg"
+path = "iso/8/Mageia-8-Live-Plasma-x86_64"
+torrent = "iso/8/torrents/Mageia-8-Live-Plasma-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:5697ead65fde5d1d68e9ce0d4d2832fe7d65d141&dn=Mageia-8-Live-Plasma-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 8 Live Plasma 64bit"
+size = "3.4 GB"
+
+;
+[Mageia-8-Live-Xfce-i586.iso]
+file = "Mageia-8-Live-Xfce-i586.iso"
+md5 = "4eeca9e52d11437e0672bbd304296709"
+md5.gpg = "Mageia-8-Live-Xfce-i586.md5.gpg"
+sha3 = "FD68D17B9221C22106D3DCB6DFA9AAC19CFFD539A25F30B7510333FBA51678E640B0332D7393AF724355140F9DFD4F88059017D17274231EE1E6FD8472A7527C"
+sha3.gpg = "Mageia-8-Live-Xfce-i586.iso.sha3"
+sha512 = "6f2439290fa3d9750d42b774afa17e9ffe37919c3dfecba8648ea4c5baab06bb1b67bbeaef4ec3105fa5b92886f8999486756fa5684958d520cb24393c45c02e"
+sha512.gpg = "Mageia-8-Live-Xfce-i586.sha512.gpg"
+path = "iso/8/Mageia-8-Live-Xfce-i586"
+torrent = "iso/8/torrents/Mageia-8-Live-Xfce-i586.torrent"
+magnet = "magnet:?xt=urn:btih:179378e3a98ed3d01681711c0ec8bf9ec72b6ca2&dn=Mageia-8-Live-Xfce-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 8 Live Xfce 32bit"
+size = "2.5 GB"
+
+;
+[Mageia-8-Live-Xfce-x86_64.iso]
+file = "Mageia-8-Live-Xfce-x86_64.iso"
+md5 = "944732c960395cb0f37aa3ae7343dbc3"
+md5.gpg = "Mageia-8-Live-Xfce-x86_64.md5.gpg"
+sha3 = "F6B0451DF194F0AC859FB1ADDF299482F690A38849A36548804C816649251888ACD7AB7BFB27B78544B630790B29AAB5D1E3A7E2435644687ED58F69CCF7C679"
+sha3.gpg = "Mageia-8-Live-Xfce-x86_64.iso.sha3"
+sha512 = "e86b38f21af1011eedbc340a8cf4291f5249a3598b4f3042056575bd9393520de068fd6fdcf5c52aa17f12ada1ce9c7b20831624fc6b017aed0df15857da71c3"
+sha512.gpg = "Mageia-8-Live-Xfce-x86_64.sha512.gpg"
+path = "iso/8/Mageia-8-Live-Xfce-x86_64"
+torrent = "iso/8/torrents/Mageia-8-Live-Xfce-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:3b8074b068e8de9d65410da1b860908ab9d6b500&dn=Mageia-8-Live-Xfce-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 8 Live Xfce 64bit"
+size = "2.7 GB"
+
+;
+[Mageia-8-i586.iso]
+file = "Mageia-8-i586.iso"
+md5 = "3767687cd1ab30afa812270fb3df5f97"
+md5.gpg = "Mageia-8-i586.md5.gpg"
+sha3 = "49A0BB65EFFE3364526265DC45C3FE62FEE11C46880B5035FF636A2CA9C911DF93BFDCDFD19AAF4F42AB005FD4D16ACCC7854F856A00F5455EC242353F98FE30"
+sha3.gpg = "Mageia-8-i586.iso.sha3"
+sha512 = "eff7a53eece27b5859ed4a146da239b679beee5994765658f3fd4cc38aac6c9b3fd2f0eb7260f35828606890e928eaa7b162880061d3d3c6b756877bb6be9be9"
+sha512.gpg = "Mageia-8-i586.sha512.gpg"
+path = "iso/8/Mageia-8-i586"
+torrent = "iso/8/torrents/Mageia-8-i586.torrent"
+magnet = "magnet:?xt=urn:btih:52e09f6f8ded936d8ce651445496c232a18cca40&dn=Mageia-8-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 8 32bit"
+size = "4.1 GB"
+
+;
+[Mageia-8-x86_64.iso]
+file = "Mageia-8-x86_64.iso"
+md5 = "ade337db66b90e5307fc8bc6bba4a3ca"
+md5.gpg = "Mageia-8-x86_64.md5.gpg"
+sha3 = "F3DADD10FCB64BCBAC55C91B9270521520D70195BDF27CEB414E0F4960863D8C3C0EC4ECDF5AFF87868FA8133BE1A58EFB58239DDC845F5A598DD0441EF685F3"
+sha3.gpg = "Mageia-8-x86_64.iso.sha3"
+sha512 = "3f373de571d28287b76503dae1804d11cbba1241edeeadb5f77e9b4bac51301e373b8326792abc74113004688fa20d69e3610c4733a3fc110e4c11154dcbeb73"
+sha512.gpg = "Mageia-8-x86_64.sha512.gpg"
+path = "iso/8/Mageia-8-x86_64"
+torrent = "iso/8/torrents/Mageia-8-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:7618a41b56f914221e458ec55e6dfd9d59fc2780&dn=Mageia-8-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 8 64bit"
+size = "4.2 GB"
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;;;; Mageia 9
+;;;;;;;;;;;;;;;;;;;;;
+
+;
+[Mageia-9-netinstall-i586.iso]
+file = "Mageia-9-netinstall-i586.iso"
+md5 = "b3c7160456f5178bf50ac1408a077dc1"
+path = "distrib/9/i586/install/images"
+name = "Mageia 9 netinstall 32bit"
+size = "48 MB"
+sha3 = "09B1EDEDA30D57535C008C49D4968DCFD67C27E7F6632F8C05ECE122B0084D3E3E2EF69F7898787B6BBF8134F932449B3C7CE72A68A25B84878015A522C2B94D"
+sha512 = "72add063be4dab4ee860dfa66634743ea90f7d2663bbe4d71f0bca200b5fb12346cd476f698aee1272da883ea7e439e1f581f82ebe25bb147f864607ac619d80"
+
+;
+[Mageia-9-netinstall-nonfree-i586.iso]
+file = "Mageia-9-netinstall-nonfree-i586.iso"
+md5 = "878f283a033ac7e166a76fdda4cfb2ef"
+path = "distrib/9/i586/install/images"
+name = "Mageia 9 netinstall nonfree 32bit"
+size = "100 MB"
+sha3 = "423EC907760EA96E1ADC7E5011CEA7564DA3D1D193F21D69D289707FD1D399F86FED516CD3D8E45DC3AED71C1CC728CA38B3573CDEC9AAB57EDFF93F67C82A02"
+sha512 = "da949a2d09719f887e2ac5cc29215cc09cdbaf83893242ffcfbd40e1ba640bdf1002409341d85bae4c354e5ca8d6cd898dc02f7be7aca3102089d23c512eb5aa"
+
+;
+[Mageia-9-netinstall-nonfree-x86_64.iso]
+file = "Mageia-9-netinstall-nonfree-x86_64.iso"
+md5 = "a182b98784cca6fe23bcf7188e06afd7"
+path = "distrib/9/x86_64/install/images"
+name = "Mageia 9 netinstall nonfree 64bit"
+size = "122 MB"
+sha3 = "057D761749802FF60A269ED36921121B2BCFD21533E15E85DE192403F87A2E449B164D22801BAE794DE04DFE38E168C8619D77827E3BAA022C3906B2A3A1EA3B"
+sha512 = "6a48caf139d877a82937401085a0298ee6fb9f0af3978a4833a09dade1ca4e03b96a368aed341e06906d9b0b18bc61304efaad7a9fe8dd89b507a46704df7ce7"
+
+;
+[Mageia-9-netinstall-x86_64.iso]
+file = "Mageia-9-netinstall-x86_64.iso"
+md5 = "7addd2a39bd98ffc4ca14dc6a9fab0d7"
+path = "distrib/9/x86_64/install/images"
+name = "Mageia 9 netinstall 64bit"
+size = "70 MB"
+sha3 = "D11300C5D87E36851B9013E94FF28A30BB5F482FE94CD267A3DF9D493475580C91940E296A77934F97178949BC8AA822905DC3E0E3B2B28F09EC03822F95F19B"
+sha512 = "29cb07ce063120947cfaddb3a832b1ee22b2c261b7a27ff1cc7bef9da0f466a13dd3cef379d8f7fbc0a7ebfce1059ef12a0e15cd3581697c8ce6b9986ddf07a4"
+
+;
+[Mageia-9-Live-GNOME-x86_64.iso]
+file = "Mageia-9-Live-GNOME-x86_64.iso"
+md5 = "677c038340d70d3c32266a51a35ab1ae"
+md5.gpg = "Mageia-9-Live-GNOME-x86_64.md5.gpg"
+sha3 = "5C4540071851BCF4B1917F8F0D856FA3B51929ABA9B9903D1E4D6669ED420501B17A366E563D55C3521022105043587B4A4CF1A77F34F2F1A5A3638C33123546"
+sha3.gpg = "Mageia-9-Live-GNOME-x86_64.iso.sha3"
+sha512 = "a51f564f44ce975730aec02c9344cb94ac9caacb6f2487c439c85787fed0c89711e06e0ebc8f33d7f35b64f4a9184ac9aab016e0b9199d04c4149c38bcc1c6fb"
+sha512.gpg = "Mageia-9-Live-GNOME-x86_64.sha512.gpg"
+langs = "English (American) (en_US)"
+path = "iso/9/Mageia-9-Live-GNOME-x86_64"
+torrent = "iso/9/torrents/Mageia-9-Live-GNOME-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:8116388f939195d357e33b6174a446d4f8f04913&dn=Mageia-9-Live-GNOME-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 9 Live GNOME 64bit"
+size = "3.7 GB"
+
+;
+[Mageia-9-Live-Plasma-x86_64.iso]
+file = "Mageia-9-Live-Plasma-x86_64.iso"
+md5 = "3d305b248f2511920153032fb094a6db"
+md5.gpg = "Mageia-9-Live-Plasma-x86_64.md5.gpg"
+sha3 = "B7D410D3BA815920445C939E435648530C715C4B6209856F10D3A98EA164478635ADE506015E4883811D52444125831401C5E1DAAD01850428605D1423A0D257"
+sha3.gpg = "Mageia-9-Live-Plasma-x86_64.iso.sha3"
+sha512 = "c6944e0a368e1344332e62cf6a34dad8fbb1a1033e2ac9beda2466145f5668734770bc6a57aac09dde1f8db616a77e97ba52f2112a00d4d519f682345a4192ba"
+sha512.gpg = "Mageia-9-Live-Plasma-x86_64.sha512.gpg"
+langs = "English (American) (en_US)"
+path = "iso/9/Mageia-9-Live-Plasma-x86_64"
+torrent = "iso/9/torrents/Mageia-9-Live-Plasma-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:4e93ec552f334d2c59d470c7f742ad444b42f419&dn=Mageia-9-Live-Plasma-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 9 Live Plasma 64bit"
+size = "3.8 GB"
+
+;
+[Mageia-9-Live-Xfce-i586.iso]
+file = "Mageia-9-Live-Xfce-i586.iso"
+md5 = "c5cff54b3b4d02bc800274dce67ce757"
+md5.gpg = "Mageia-9-Live-Xfce-i586.md5.gpg"
+sha3 = "E3EC15E16FFA4AC2331369B2794B1B36875546580F3340158A34D6EB3F2A83E2DE77B3E50F9EFCB760F035C0B18A2117A60C0F08F750284CAA37D5C559D5E663"
+sha3.gpg = "Mageia-9-Live-Xfce-i586.iso.sha3"
+sha512 = "f0373b1f33f22deb7d909effb87548a959b124f61de6756bc39a34bf99ae5b67c0422f483847486d5c9cc4e03bbd9acbaf930f91214abebbe8769cf4a6014882"
+sha512.gpg = "Mageia-9-Live-Xfce-i586.sha512.gpg"
+langs = "English (American) (en_US)"
+path = "iso/9/Mageia-9-Live-Xfce-i586"
+torrent = "iso/9/torrents/Mageia-9-Live-Xfce-i586.torrent"
+magnet = "magnet:?xt=urn:btih:34ba49aa063e6618ef25f012a7d13233be09204c&dn=Mageia-9-Live-Xfce-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 9 Live Xfce 32bit"
+size = "2.9 GB"
+
+;
+[Mageia-9-Live-Xfce-x86_64.iso]
+file = "Mageia-9-Live-Xfce-x86_64.iso"
+md5 = "ede02ac877174297a085167b73d3299e"
+md5.gpg = "Mageia-9-Live-Xfce-x86_64.md5.gpg"
+sha3 = "B72D62EE73A0BAACB35620CF9F3B4C6C3583D99A57112751A4F434E89368D6737A636DCC5767435BA9E4E8BDD78DD0A3F0905DD5F69714EA922D2E1235CCB19D"
+sha3.gpg = "Mageia-9-Live-Xfce-x86_64.iso.sha3"
+sha512 = "bd1701ba7c1bcf7c61059a422a5f0e458b5d3eed3fdf174c13d104e8bba9b8893210e81e875c5a21ced60fc9625ee1f53c6f5f481077dcb3bf499ecfe73d8f9b"
+sha512.gpg = "Mageia-9-Live-Xfce-x86_64.sha512.gpg"
+langs = "English (American) (en_US)"
+path = "iso/9/Mageia-9-Live-Xfce-x86_64"
+torrent = "iso/9/torrents/Mageia-9-Live-Xfce-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:f17f940c65f39eba117a8374efe5a37d4d8c43ac&dn=Mageia-9-Live-Xfce-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 9 Live Xfce 64bit"
+size = "3.4 GB"
+
+;
+[Mageia-9-i586.iso]
+file = "Mageia-9-i586.iso"
+md5 = "e70ecbef552a5776863acf5ff02d76c8"
+md5.gpg = "Mageia-9-i586.md5.gpg"
+sha3 = "50B7FD4B556AB8A193210D1637012DA8E45465C90B2FA05527BD8779A31A6117BAC520EF2E909B87363D6CD65BE9C07543946ECE3BCA7A34FBCBFF37ADA6692B"
+sha3.gpg = "Mageia-9-i586.iso.sha3"
+sha512 = "a6649c5d76361afdfded5bf10cc93520f705e928a1a9bd9976169d0308781a4c4a56b5b67890e2180fcb2ce7d3575104a6045d2464e4fc1762200014eb668a85"
+sha512.gpg = "Mageia-9-i586.sha512.gpg"
+path = "iso/9/Mageia-9-i586"
+torrent = "iso/9/torrents/Mageia-9-i586.torrent"
+magnet = "magnet:?xt=urn:btih:bbe5221d5081138e41e141e273c520c2ba942b87&dn=Mageia-9-i586&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 9 32bit"
+size = "3.7 GB"
+
+;
+[Mageia-9-x86_64.iso]
+file = "Mageia-9-x86_64.iso"
+md5 = "ba118f37b1c38b34dd1358b51b9b467d"
+md5.gpg = "Mageia-9-x86_64.md5.gpg"
+sha3 = "42FD1C7B9900A3EE71A90902EAE3B9F05141B9DB2F4E299DBC3356C02D55E25BE04CE7C6436DDF12BF8C8F6C13073CF0A8994AC608BD3919E1F701DBE9EA4877"
+sha3.gpg = "Mageia-9-x86_64.iso.sha3"
+sha512 = "f54cea751ca41a1188aa311b75b638b93a2481bb3f60caf2cfe5b85ac9b7f97632e0cfa036b930f7446192320b140cf09db25f4751f78297c3252ccac6138dbe"
+sha512.gpg = "Mageia-9-x86_64.sha512.gpg"
+path = "iso/9/Mageia-9-x86_64"
+torrent = "iso/9/torrents/Mageia-9-x86_64.torrent"
+magnet = "magnet:?xt=urn:btih:15e2ea11d5c680854dc10f9df192c330949abeec&dn=Mageia-9-x86_64&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337"
+name = "Mageia 9 64bit"
+size = "4.2 GB"
+
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;;;; Mageia 10
+;;;;;;;;;;;;;;;;;;;;;
+
;
[Mageia-Cauldron-netinstall-i586.iso]
file = "Mageia-Cauldron-netinstall-i586.iso"
+md5 = "read the file"
path = "distrib/cauldron/i586/install/images"
-sha512 = ""
-name = "Mageia Cauldron Netinstall 32bit"
-size = "around 38 MB"
+name = "Mageia Cauldron netinstall 32bit"
+size = "48 MB"
+sha3 = "read the file"
+sha512 = "read the file"
;
[Mageia-Cauldron-netinstall-nonfree-i586.iso]
file = "Mageia-Cauldron-netinstall-nonfree-i586.iso"
+md5 = "read the file"
path = "distrib/cauldron/i586/install/images"
-sha512 = ""
-name = "Mageia Cauldron Netinstall Nonfree 32bit"
-size= "around 66 MB"
-
-;
-[Mageia-Cauldron-netinstall-x86_64.iso]
-file = "Mageia-Cauldron-netinstall-x86_64.iso"
-path = "distrib/cauldron/x86_64/install/images"
-sha512 = ""
-name = "Mageia Cauldron Netinstall 64bit"
-size = "around 51 MB"
+name = "Mageia Cauldron netinstall nonfree 32bit"
+size = "100 MB"
+sha3 = "read the file"
+sha512 = "read the file"
;
[Mageia-Cauldron-netinstall-nonfree-x86_64.iso]
file = "Mageia-Cauldron-netinstall-nonfree-x86_64.iso"
+md5 = "read the file"
path = "distrib/cauldron/x86_64/install/images"
-sha512 = ""
-name = "Mageia Cauldron Netinstall Nonfree 64bit"
-size = " 81 MB"
-
+name = "Mageia Cauldron netinstall nonfree 64bit"
+size = "122 MB"
+sha3 = "read the file"
+sha512 = "read the file"
+;
+[Mageia-Cauldron-netinstall-x86_64.iso]
+file = "Mageia-Cauldron-netinstall-x86_64.iso"
+md5 = "read the file"
+path = "distrib/cauldron/x86_64/install/images"
+name = "Mageia Cauldron netinstall 64bit"
+size = "70 MB"
+sha3 = "read the file"
+sha512 = "read the file"
diff --git a/en/downloads/get/definitions_doc.ini b/en/downloads/get/definitions_doc.ini
index dad1c6979..e47062410 100644
--- a/en/downloads/get/definitions_doc.ini
+++ b/en/downloads/get/definitions_doc.ini
@@ -131,3 +131,44 @@ langs = "ca|cs|de|el|en|es|et|eu|fr|hu|ja|nb|nl|pt_br|ru|sl|sv|tg|tr|uk|zh_cn"
size = around 2 MB
path = doc/mga7/pdf/NetInstall
langs = "ca|cs|de|el|en|eo|es|et|eu|fr|hu|ja|nb|nl|pt_br|ru|sl|sq|sv|tr|uk|zh_cn"
+
+; Mageia 8
+[Mageia8_DrakX_en_epub]
+size = up to 6 MB
+path = doc/mga8/epub/DrakX
+langs = "ca|cs|de|el|en|eo|es|et|eu|fr|he|hr|hu|ja|nb|nl|pl|pt_br|ro|ru|sk|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_DrakX_en_pdf]
+size = up to 11 MB
+path = doc/mga8/pdf/DrakX
+langs = "ca|cs|de|el|en|eo|es|et|eu|fr|he|hr|hu|ja|nb|nl|pl|pt_br|ro|ru|sk|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_MCC_en_epub]
+size = up to 14 MB
+path = doc/mga8/epub/MCC
+langs = "ca|cs|da|de|el|en|es|et|eu|fr|he|hu|id|it|ja|nb|nl|pl|pt_br|ro|ru|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_MCC_en_pdf]
+size = around 10 MB
+path = doc/mga8/pdf/MCC
+langs = "ca|cs|da|de|el|en|es|et|eu|fr|he|hu|id|it|ja|nb|nl|pl|pt_br|ro|ru|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_DrakLive_en_epub]
+size = up to 4 MB
+path = doc/mga8/epub/DrakLive
+langs = "cs|de|el|en|es|et|eu|fr|he|hr|ja|nb|nl|pt_br|ro|ru|sk|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_DrakLive_en_pdf]
+size = up to 9 MB
+path = doc/mga8/pdf/DrakLive
+langs = "cs|de|el|en|eo|es|et|eu|fr|he|hr|hu|ja|nb|nl|pl|pt_br|ro|ru|sk|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_NetInstall_en_epub]
+size = up to 6 MB
+path = doc/mga8/epub/NetInstall
+langs = "ca|cs|de|el|en|es|et|eu|fr|he|hu|ja|nb|nl|pt_br|ru|sl|sq|sr|sv|tr|uk|zh_cn"
+
+[Mageia8_NetInstall_en_pdf]
+size = up to 7 MB
+path = doc/mga8/pdf/NetInstall
+langs = "ca|cs|de|el|en|eo|es|et|eu|fr|he|hu|ja|nb|nl|pt_br|ru|sl|sq|sr|sv|tr|uk|zh_cn"
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
index add253c0f..16967a737 100644
--- a/en/downloads/get/index.php
+++ b/en/downloads/get/index.php
@@ -40,6 +40,7 @@ define('ALIGNMENT', 'Center');
require '../../../langs.php';
$dictionary = read_translation_file($locale, array('downloads/get', 'common_footer'));
require 'lib.php';
+$rtl = is_locale_rtl($locale);
// request
$product = get('q');
@@ -83,13 +84,23 @@ try {
$product['file'] = $release . '-' . $type . '-' . $lang . '.' . $extension;
$product['name'] = $product['file'];
}
- $all_mirrors = get_mirrors_for($product['file'], 'en', get('country'), true, $documentation);
+ //check if release is in archives, if yes redirect to the only mirror
+ $archives = range(1,7);
+ $release = explode(' ', $product['name']);
+ if (in_array($release[1][0], $archives)){
+ $download_tmpl = get_download_link($product, $torrent);
+ $download = str_replace('$MIRROR', 'https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia-archive', $download_tmpl);
+ $show_alternate_mirrors = false;
+ } else {
+ $all_mirrors = get_mirrors_for($product['file'], 'en', get('country'), true, $documentation, true);
$one_mirror = $all_mirrors[0];
$alt_mirrors = $all_mirrors[1];
$download_tmpl = get_download_link($product, $torrent);
+ $show_alternate_mirrors = true;
// Step 2. Make the actual download link against the preferred mirror returned.
$download = str_replace('$MIRROR', $one_mirror['mirror_url'], $download_tmpl);
+ }
// TODO do not redirect if it's a bot!
$js_redirect = sprintf(
@@ -214,7 +225,7 @@ if ($debug)
$js_redirect = null;
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo $title; ?> | <?php _g('Mageia Downloads') ?></title>
@@ -227,7 +238,7 @@ if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') {
}
?>
</head>
-<body class="downloads">
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="downloads">
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php echo sprintf(_r('Download %s'), '<em class="tag">' . $title . '</em>')?></h1>
<div id="doc4" class="yui-t7" style="margin-bottom: 0px;">
@@ -250,17 +261,29 @@ if(isset($product['obsolete'])) {
?></p>
<div class="dlinfo">
- <p><?php echo $dl2_mirror_alt; ?></p>
+ <p><?php if($show_alternate_mirrors) { echo $dl2_mirror_alt; }?></p>
<?php
-$checksums = array('md5', 'sha1', 'sha512');
+$checksum_specifics = array(
+ 'md5' => array('md5sum', _r('md5 hash of the contents of the iso image')),
+ 'sha1' => array('sha1sum', _r('sha1 512 bit hash')),
+ 'sha512'=> array('sha512sum', _r('sha2 512 bit hash')),
+ 'sha3' => array('sha3-512sum', _r('sha3 512 bit hash'))
+);
$sum_links = array();
$chksm_cmd = '';
+$chksm_cmd_2 = '';
$sig_links = array();
-foreach ($checksums as $checksum) {
+foreach (array_keys($checksum_specifics) as $checksum) {
if (isset($product[$checksum])) {
- $sum_links[] = "<a href=\"$download.$checksum\">" . basename($download) . '.' . $checksum .'</a><span class="copy-icon" data-toggle="tooltip" title="' . _r("Copy"). '" data-clip="'. $product[$checksum]. '"></span>';
- $chksm_cmd .= '$ ' . $checksum . 'sum -c ' . basename($download) . '.' . $checksum . ' # ' . _r('You need both iso and checksum file in the same folder');
+ $each_checksum = "<a href=\"$download.$checksum\">" . basename($download) . '.' . $checksum . '</a><span class="copy-icon" data-toggle="tooltip" title="';
+ $each_checksum .= _r("Copy") . '" data-clip="' . $product[$checksum] . '"></span> (' . $checksum_specifics[$checksum][1] . ')';
+ $sum_links[] = $each_checksum;
+ $chksm_cmd_pre_text = "$ # " . _r('You need both iso and checksum file in the same folder') . "\n";
+ $chksm_cmd .= "$ " . $checksum_specifics[$checksum][0] . ' -c ' . basename($download) . '.' . $checksum;
$chksm_cmd .= "\n<strong>" . basename($download) . ": " . _r("OK") . " </strong>\n" . PHP_EOL;
+ $chksm_cmd_mid_text = "$ # " . _r('You can also compare checksum directly from this web page without checksum file') . "\n";
+ $chksm_cmd_2 .= "$ " . $checksum_specifics[$checksum][0] . ' ' . basename($download);
+ $chksm_cmd_2 .= "\n<strong>" . $product[$checksum] . ' ' . basename($download) . " </strong>\n" . PHP_EOL;
if (isset($product["$checksum.gpg"])) {
$sig_links[] = "<a href=\"$download.$checksum.gpg\">" . basename($download) . ".$checksum.gpg</a>";
}
@@ -277,7 +300,7 @@ if ($num_checksums > 0 && !$torrent) {
echo "$checksum_links.</p>";
echo PHP_EOL . '<div id="check-signs">' . PHP_EOL;
echo '<pre class="term pre-scrollable">' . PHP_EOL;
- echo $chksm_cmd;
+ echo $chksm_cmd_pre_text . $chksm_cmd . $chksm_cmd_mid_text . $chksm_cmd_2;
echo '</pre>' . PHP_EOL . '<p>';
_g('If checksums do not match, <strong>DO NOT use this ISO</strong>. Double-check and try to download again.', null, ' ');
$signature_links = array_to_list($sig_links, ' ' . _r('and', ' '), _r(',', ' '));
@@ -286,9 +309,9 @@ if ($num_checksums > 0 && !$torrent) {
<p><?php _g('You can also verify the signature of an ISO.', null, ' ');
_g('They are also available for download as files:', null, ' ');
echo "$signature_links. ";
-echo sprintf(_r('First you need to import the "Mageia Release" key from a <a href="%s">MIT PGP Public Key Server</a>:'), 'https://sks-keyservers.net/'); ?></p>
+echo sprintf(_r('First you need to import the "Mageia Release" key from a <a href="%s">PGP Public Key Server</a>:'), 'https://keyserver.ubuntu.com/'); ?></p>
<pre class="term pre-scrollable">
-$ gpg --keyserver pool.sks-keyservers.net --recv-keys EDCA7A90
+$ gpg --keyserver keyserver.ubuntu.com --recv-keys EDCA7A90
</pre>
<p><?php _g('In response there should be one of the following lines:'); ?></p>
<pre class="term pre-scrollable">
@@ -315,6 +338,7 @@ gpg: There is no indication that the signature belongs to the owner.
<?php } // checksums check end ?>
</div>
+ <?php if($show_alternate_mirrors) { ?>
<!-- alternative mirrors table -->
<table class="dlt2 dlinfo table table-sm table-bordered table-striped" id="om" style="display: none;">
<thead class="thead-inverse"><tr><th><?php _g('Country'); ?></th>
@@ -322,6 +346,7 @@ gpg: There is no indication that the signature belongs to the owner.
<th><?php _g('Download mirrors'); ?></th></tr></thead>
<tbody><?php echo $alternative_mirrors; ?></tbody>
</table>
+ <?php } ?>
<hr />
@@ -341,7 +366,7 @@ gpg: There is no indication that the signature belongs to the owner.
<p><?php echo sprintf(_r('If you still encounter this error and think IT SHOULD NOT HAPPEN &ndash; please tell us:')); ?></p>
<ul>
- <li><?php _g('directly on <a href="irc://irc.freenode.net/#mageia-atelier">#mageia-atelier on Freenode IRC</a>,'); ?></li>
+ <li><?php _g('directly on <a href="ircs://irc.libera.chat:6697/#mageia-atelier">#mageia-atelier on Libera.Chat IRC</a>,'); ?></li>
<li><?php _g('or <a href="https://twitter.com/mageia_org">via our Twitter account</a>,'); ?></li>
<li><?php _g('or with a <a href="https://ml.mageia.org/l/info/atelier-discuss">notice on the Atelier team mailing-list</a>,'); ?></li>
<li><?php _g('or a <a href="https://bugs.mageia.org/enter_bug.cgi?product=Websites&amp;format=guided&amp;component=www.mageia.org">bug report</a>.'); ?></li>
diff --git a/en/downloads/get/lib.php b/en/downloads/get/lib.php
index d7cd922b3..9d6449502 100644
--- a/en/downloads/get/lib.php
+++ b/en/downloads/get/lib.php
@@ -34,6 +34,7 @@ $countries = array (
'IL' => _r("Israel"),
'IT' => _r("Italia"),
'JP' => _r("日本国 - Japan"),
+ 'KR' => _r("Korea"),
'NC' => _r("Nouvelle-Calédonie"),
'NL' => _r("Nederlands"),
'PH' => _r("Philipines"),
@@ -59,11 +60,13 @@ $cities_i18n = array (
'Brisbane' => _r("Brisbane"),
'Brno' => _r("Brno"),
'Brussels' => _r("Brussels"),
+ 'Buenos Aires' => _r("Buenos Aires"),
'Canterbury' => _r("Canterbury"),
'Cebu' => _r("Cebu"),
'Chungli' => _r("Chungli"),
'Cuenca' => _r("Cuenca"),
'DTU, Lyngby' => _r("DTU, Lyngby"),
+ 'Den Haag' => _r("Den Haag"),
'Durham' => _r("Durham"),
'Düsseldorf' => _r("Düsseldorf"),
'Enschede' => _r("Enschede"),
@@ -73,12 +76,17 @@ $cities_i18n = array (
'Hefei' => _r("Hefei"),
'Heraklion' => _r("Heraklion"), // 'Ηράκλειο', // .gr
'HsinChu' => _r("HsinChu"), // '新竹市', // .tw
+ 'Krakow' => _r("Krakow"),
'Lenoir, NC' => _r("Lenoir, NC"),
'Lyon' => _r("Lyon"),
'Milan' => _r("Milan"),
'Minsk' => _r("Minsk"), // 'Мінск', // .by
'Miskolc' => _r("Miskolc"),
'Moscow' => _r("Moscow"), // 'Москва', // .ru
+ 'Nanjing' => _r("Nanjing"),
+ 'New York' => _r("New York"),
+ 'New York City' => _r("New York City"),
+ 'Ons-en-Bray' => _r("Ons-en-Bray"),
'Paris' => _r("Paris"),
'Prague' => _r("Prague"), // 'Praha', // .cz
'Princeton' => _r("Princeton"),
@@ -87,12 +95,17 @@ $cities_i18n = array (
'Shanghai' => _r("Shanghai"),
'Sofia' => _r("Sofia"),
'Stellenbosch' => _r("Stellenbosch"),
+ 'Szczecin' => _r("Szczecin"),
'Taipei' => _r("Taipei"),
'Tsukuba' => _r("Tsukuba"),
+ 'Ulsan' => _r("Ulsan"),
'Umeå' => _r("Umeå"),
'Vinnytsia' => _r("Vinnytsia"),
'Warszawa' => _r("Warszawa"),
'Yonezawa' => _r("Yonezawa"), // '米沢市', // .jp
+ 'istanbul' => _r("istanbul"),
+ 'richmond' => _r("richmond"),
+
'Краснодар' => _r("Краснодар"),
);
@@ -171,13 +184,13 @@ function get_info_for_product($product, $def_file = null)
* speed
* link
*/
-function get_mirrors_for($file, $locale = null, $country = null, $prod = true, $documentation = false)
+function get_mirrors_for($file, $locale = null, $country = null, $prod = true, $documentation = false, $https_only = false)
{
//include '../../../lib/Downloads.php';
$mirrors = Downloads::get_all_mirrors($prod, $documentation);
$wsd = new Downloads();
- $one = $wsd->prepare_download(true, $country, $prod, $documentation);
+ $one = $wsd->prepare_download(true, $country, $prod, $documentation, false, $https_only);
return array($one, $mirrors);
}
diff --git a/en/downloads/index.php b/en/downloads/index.php
index 976733afa..d961f29a5 100644
--- a/en/downloads/index.php
+++ b/en/downloads/index.php
@@ -1 +1 @@
-<?php include '../7/download_index.php';
+<?php include '../9/download_index.php';
diff --git a/en/downloads/prerelease/download_index.php b/en/downloads/prerelease/download_index.php
index de6b7cecf..ca0590c9f 100644
--- a/en/downloads/prerelease/download_index.php
+++ b/en/downloads/prerelease/download_index.php
@@ -1,7 +1,7 @@
<?php
$name = 'Mageia';
-$version = 'Cauldron';
+$version = 'Cauldron';
$release = '';
$torrentavailable=false;
$classical=false;
@@ -13,6 +13,7 @@ define('ALIGNMENT', 'Center');
require '../../../langs.php';
$dictionary = read_translation_file($locale, array('cauldron', 'common_footer'));
+$rtl = is_locale_rtl($locale);
function get_mageia($name, $version, $release)
{
@@ -20,7 +21,7 @@ function get_mageia($name, $version, $release)
return implode('-', array($name, $re));
}
-function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext)
+function get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, $ext)
{
$va = empty($variant) ? $arch : $variant . '-' . $arch;
$re = empty($release) ? $va : $release . '-' . $va;
@@ -28,7 +29,7 @@ function get_mageia_image_file_name($name, $version, $release, $variant = null,
return implode('-', array($name, $version, $re, $medium)) . $ext;
}
-function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $torrentavailable = true)
+function dl_link($name, $version, $release, $variant, $arch, $medium, $torrent = false, $torrentavailable = true)
{
switch ($arch) {
case "i586":
@@ -57,7 +58,7 @@ function get_image($ttl, $src, $sty){
?>
<!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?></title>
@@ -85,7 +86,7 @@ input[type="radio"], input[type="submit"], .popover-content {
}
</style>
</head>
-<body class="release downloads">
+<body class="release downloads" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
@@ -95,7 +96,7 @@ input[type="radio"], input[type="submit"], .popover-content {
_g('Be careful! This is an alpha, unstable release.');
// _g('Be careful! This is a beta, unstable release.');
// _g('It is only intended for developer use. <strong>DO NOT USE THIS IN PRODUCTION OR FOR OFFICIAL REVIEW.</strong>');
-// _g('This is a Release Candidate. Release Candidate software is software that has graduated Beta testing, and should be a release-ready product suitable for advanced users and reviewers. However, beginning users and critical-applications users may wish to wait for the final release planned for %s.', array(_r('July 2019')), ' '); _g('Release Candidate is intended to identify any remaining bugs or missing packages.'); ?></p>
+// _g('This is a Release Candidate. Release Candidate software is software that has graduated Beta testing, and should be a release-ready product suitable for advanced users and reviewers. However, beginning users and critical-applications users may wish to wait for the final release planned for %s.', array(_r('september 2023')), ' '); _g('Release Candidate is intended to identify any remaining bugs or missing packages.'); ?></p>
</div>
@@ -106,7 +107,7 @@ input[type="radio"], input[type="submit"], .popover-content {
<div class="yui-u first col-md-8">
<noscript>
-<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disable. Please <a href="%s">enable</a> it to have better render. At the <a href="%s">end</a> of this page there will be download link for you. But what is written between is important.',array('http://www.enable-javascript.com/','#NoscriptDownload'),'p'); ?></div>
+<div class="para alert alert-info"><?php _g('It looks like you have JavaScript disabled. Please <a href="%s">enable</a> it to have better rendering. At the <a href="%s">end</a> of this page there will be download link for you, but what is written between is important.',array('http://www.enable-javascript.com/','#NoscriptDownload'),'p'); ?></div>
<style>.pop{display: none;} .popover-content{display:block ;}</style>
</noscript>
@@ -121,7 +122,7 @@ input[type="radio"], input[type="submit"], .popover-content {
_g('To <a %s>dump</a> a Mageia installation ISO on a USB stick, you may try one of several tools:', array('href="#" data-tip="iso2usb" class="pop"'),'p');
echo '<ul><li>';
_g('For Linux, IsoDumper, available inside repo. Or any tools based on %sdd%s.', array('<span class="italic" >', '</span>'), ' ');
- _g('Unetbootin is not supported.', null, 'span class="warn"'); ?>
+ _g('UNetbootin is not supported.', null, 'span class="warn"'); ?>
</li>
<?php _g('For Windows please have a look on our <a href="%s">wiki</a> for your options.', array(_r('https://wiki.mageia.org/en/Dump_Mageia_ISO_on_a_USB_flash_drive_-_Alternative_tools')), 'li'); ?>
</ul>
@@ -295,7 +296,7 @@ input[type="radio"], input[type="submit"], .popover-content {
<?php if($torrentavailable){ ?>
<?php _g('BitTorrent',null,'h3');
_g('We recommend you to use <a href=%s>BitTorrent</a> for downloading as it usually give a higher speeds and more reliable download of large files.',array(_r('http://en.wikipedia.org/wiki/BitTorrent')),'p');?>
-<?php } else { echo _g('BitTorrent link are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
+<?php } else { echo _g('BitTorrent links are not yet available.',null, 'p style="margin-top:1.5em;" class="warn"'); } ?>
</div>
<div class="d-sm-flex justify-content-center">
@@ -402,6 +403,7 @@ $('img.lazy').each(function(){
$('input[name=desktop]').click(function () {
$('#arch')[ $('#gnome,#kde,#xfce').is(':checked') ? 'slideDown' : 'slideUp']();
$('label[for="32b"]')[$('#gnome,#kde').is(':checked') ? 'hide' : 'show']()
+ $('#dllink')[$('#lan,#live,#classical').is(':checked') ? 'slideUp' : 'slideDown']();
lazyload();
});
diff --git a/en/downloads/prerelease/nav.php b/en/downloads/prerelease/nav.php
index cc4f91e3f..fa81a83dc 100644
--- a/en/downloads/prerelease/nav.php
+++ b/en/downloads/prerelease/nav.php
@@ -1,8 +1,8 @@
<?php
-$releasenotes = _r('https://wiki.mageia.org/en/Mageia_7_Release_Notes');
-$errata = _r('https://wiki.mageia.org/en/Mageia_7_Errata');
-$upgradeguide = _r('https://wiki.mageia.org/en/Mageia_7_Release_Notes#Upgrading_from_Mageia_6');
+$releasenotes = _r('https://wiki.mageia.org/en/Mageia_10_Release_Notes');
+$errata = _r('https://wiki.mageia.org/en/Mageia_10_Errata');
+$upgradeguide = _r('https://wiki.mageia.org/en/Mageia_10_Release_Notes#Upgrading_from_Mageia_9');
$nav = array(
// _r("https://wiki.mageia.org/en/Mageia_7_Development") => _r('Development roadmap'),
@@ -17,7 +17,7 @@ $sru = trim($_SERVER['REQUEST_URI']);
$pnav = array();
foreach ($nav as $k => $v) {
- $pnav[] = sprintf('<li class="flex-sm-fill text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
+ $pnav[] = sprintf('<li class="text-sm-center nav-item"><a href="%s"%s>%s</a></li>',
$k,
$k == $sru ? ' class="nav-link active"' : ' class="nav-link"',
$v);
diff --git a/en/index.php b/en/index.php
index bfc190b60..a0e4e9755 100644
--- a/en/index.php
+++ b/en/index.php
@@ -5,9 +5,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../langs.php';
$dictionary = read_translation_file($locale, array('index', 'news', 'common_footer'));
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -81,7 +82,6 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
/**/
}
#dl-btn-mageia {
- background: url(/g/3/logo_web.png) no-repeat;
width: 204px;
height: 82px;
display: block;
@@ -107,7 +107,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
display: block;
width: 280px;
padding: 10px 20px 10px 20px;
- background: rgba(255,255,255, 0.1);
+ background: rgba(255,255,255, 0.15);
border-radius: 4px;
color: #ddeeff;
text-shadow: none;
@@ -115,7 +115,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
font-size: 85%;
}
.dl-btn-other:hover {
- background: rgba(255,255,255, 0.2);
+ background: rgba(255,255,255, 0.3);
color: #fff;
}
#dl-btn:hover { box-shadow: 0 0 10px rgba(255,255,255,1); }
@@ -185,11 +185,11 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
h2 { margin-bottom: 0.3em; }
ul#p li:before { content: " > "; }
#up {
- background: url(/g/7/background.png) no-repeat center;
+ background: url(/g/9/background.png) no-repeat center;
background-size: cover
}
#b1 { padding: 33px 70px 70px 70px; }
- #b2 { padding-left: 70px}
+ #b2 { padding-left: 70px; padding-right: 70px; }
#navb {
padding: 0;
@@ -217,15 +217,96 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
}
}
@media (min-width: 1200px) {}
+
+ @keyframes float {
+ 0% {
+ transform: translateY(0em);
+ }
+ 100% {
+ transform: translateY(2em);
+ }
+ }
+ @keyframes fade-in {
+ 0% {
+ opacity: 0;
+ }
+ 60% {
+ opacity: 0.10;
+ }
+ 100% {
+ opacity: 1;
+ }
+ }
+
+ @keyframes fade-out {
+ 0%,85% {
+ opacity: 1;
+ }
+ 100% {
+ opacity: 0;
+ }
+ }
+
+ #dl-btn-mageia .bubble {
+ opacity: 1;
+ animation: fade-in 1.4s infinite, float 1.4s ease infinite reverse ;
+ }
+
+ #dl-btn-mageia .bubble:nth-of-type(1) {
+ animation-delay: 0.2s;
+ }
+ #dl-btn-mageia .bubble:nth-of-type(2) {
+ animation-delay: 0.4s;
+ }
+ #dl-btn-mageia .bubble:nth-of-type(3) {
+ animation-delay: 0.6s;
+ }
+ #dl-btn-mageia .bubble:nth-of-type(4) {
+ animation-delay: 0.8s;
+ }
+ #dl-btn-mageia .bubble:nth-of-type(5) {
+ animation-delay: 1s;
+ }
+
+ #dl-btn-mageia .text {
+ opacity: 1;
+ animation: fade-out 9s ease infinite ;
+ }
+
+ #dl-btn-mageia .text:nth-of-type(1) {
+ animation-delay: 0.15s;
+ }
+ #dl-btn-mageia .text:nth-of-type(2) {
+ animation-delay: 0.30s;
+ }
+ #dl-btn-mageia .text:nth-of-type(3) {
+ animation-delay: 0.45s;
+ }
+ #dl-btn-mageia .text:nth-of-type(4) {
+ animation-delay: 0.6s;
+ }
+ #dl-btn-mageia .text:nth-of-type(5) {
+ animation-delay: 0.75s;
+ }
+ #dl-btn-mageia .text:nth-of-type(6) {
+ animation-delay: 0.9s;
+ }
+ #dl-btn-mageia .text:nth-of-type(8) {
+ animation-delay: 1.05s;
+ }
+ #dl-btn-mageia .text:nth-of-type(7) {
+ animation-delay: 1.2s;
+ }
</style>
+ <link rel="stylesheet" href="/g/fa/css/font-awesome.css">
</head>
-<body>
+<body <?php echo $rtl ? 'align="right"' : ''?>>
<?php echo $hsnav?>
<div id="master">
<h1><a href="about/"><?php _g('Mageia, a free, community-based Linux distribution for desktop & server.'); ?></a></h1>
</div>
-<div id="up">
+<div <?php echo $rtl ? 'align="right"' : ''?> id="up">
<div class="container">
<div>
<?php
@@ -258,13 +339,13 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
} else if (0 < $num_fresh_eng_posts) {
show_feed($locale, null, '', '', 0, null, true, $prefix, $fresh_eng_posts);
}
- }
+ }
?>
</div>
<div class="row">
<div class="col">
<div id="b1">
- <h2><?php _g('Change your perspective'); ?></h2>
+ <h2 <?php echo $rtl ? 'align="right"' : ''?>><?php _g('Change your perspective'); ?></h2>
<ul id="p"><?php
_g('Stable, secure operating system for desktop &amp; server', null, 'li');
_g('Free Software, coproduced by hundreds of people', null, 'li');
@@ -274,24 +355,23 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
</div>
<div id="b2">
<ul id="dl">
- <li><a href="/<?php echo $locale ?>/downloads/" id="dl-btn">
-
- <span id="dl-btn-mageia">Mageia</span>
- <span style="font-size: 32px; color: green; float: right;"></span>
- <span class="dl-btn free-dl"><?php _g('Mageia 7.1'); /* _g('Mageia 7.2'); */?></span>
- <span class="dl-btn"><?php _g('released in July 2019'); ?></span>
+ <li><a href="/<?php echo $locale ?>/9/" id="dl-btn">
+ <span id="dl-btn-mageia">
+ <svg version="1.1" viewBox="0 0 774 236.92" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></metadata><g transform="translate(-125 -521.36)"><g transform="translate(-.20804 7.0001)" fill="#2397d4"><path class="bubble" d="m177.89 597.13h-0.01c-6.6729 0-12.107-5.4267-12.114-12.095-0.01-6.6905 5.4251-12.125 12.104-12.132 6.683 0 12.116 5.4267 12.124 12.095 0 6.6905-5.4251 12.126-12.104 12.133z"/><path class="bubble" d="m210.61 588.24c-6.2309 0-11.302-5.0662-11.307-11.292-0.01-6.242 5.0612-11.316 11.296-11.321 6.2392 0 11.311 5.0651 11.317 11.291 0 6.242-5.0622 11.316-11.296 11.323h-0.01z"/><path class="bubble" d="m201.3 555.96c0 5.5755-4.5198 10.095-10.095 10.095s-10.095-4.5199-10.095-10.095c0-5.5756 4.5198-10.095 10.095-10.095s10.095 4.5198 10.095 10.095z" stroke-width="1.4422"/><path class="bubble" d="m216.65 539c0 5.1294-4.1581 9.2875-9.2875 9.2875s-9.2875-4.1581-9.2875-9.2875 4.1581-9.2875 9.2875-9.2875 9.2875 4.1581 9.2875 9.2875z" stroke-width=".80761"/><path class="bubble" d="m195.65 522.44c0 4.4603-3.6158 8.0761-8.0761 8.0761s-8.0761-3.6158-8.0761-8.0761 3.6158-8.0761 8.0761-8.0761 8.0761 3.6158 8.0761 8.0761z" stroke-width=".76915"/></g><path class="cauldron" d="m143.93 615.04c-10.45 13.545-18.926 28.781-18.926 47.238 0 40.006 30.358 73 68 73 37.64 0 68-32.993 68-73 0-18.461-8.4889-33.212-19.53-47.238-4.1402-4.3446-10.118-3.6986-14.469-0.91856-12.733 6.5886-19.606 9.2209-34.001 9.1565-13.922-0.0624-21.237-2.336-33.97-9.2774-4.3514-2.6592-10.964-3.3052-15.104 1.0394zm9.0742 11.238c13.198 7.2975 24.969 11 40 11 15.044 0 26.795-3.7025 40-11 7.2055 10.16 14 22.758 14 36 0 32.801-24.175 59-54 59-29.826 0-55-26.199-55-59 0-13.225 7.7788-25.832 15-36z" color="#000000" fill="#262f45" style="text-indent:0;text-transform:none"/><path class="text" d="m346 632.28c-24 0-42 18-42 42v40h12v-40c0-18 12-30 30-30s30 12 30 30v40h12v-40c0-18 12-30 30-30s30 12 30 30v40h12v-40c0-24-18-42-42-42-15.665 0-28.784 7.6868-36 19.687-7.2157-12.001-20.335-19.687-36-19.687z" fill="#262f45"/><path class="text" d="m521 632.28c-24 0-42 18-42 42s18 42 42 42c12 0 22.5-4.5 30-12v10h12v-40c0-24-18-42-42-42zm0 12c18 0 30 12 30 30s-12 30-30 30-30-12-30-30 12-30 30-30z" fill="#262f45"/><path class="text" d="m623 632.28c-24 0-42 18-42 42s18 42 42 42c12 0 22.5-4.5 30-12v12c0 18-12 30-30 30v12c24 0 42-18 42-42v-42c0-24-18-42-42-42zm0 12c18 0 30 12 30 30s-12 30-30 30-30-12-30-30 12-30 30-30z" fill="#262f45"/><path class="text" d="m725 632.28c-24 0-42 18-42 42s18 42 42 42v-12c-15.908 0-27.106-9.3968-29.5-24h71.125c0.25558-1.9564 0.375-3.9482 0.375-6 0-24-18-42-42-42zm0 12c15.908 0 27.106 9.397 29.5 24h-59c2.3939-14.603 13.592-24 29.5-24z" fill="#262f45"/><path class="text" d="m785 634.28h12v80h-12z" fill="#262f45"/><path class="text" d="m791 745.28c-4.9706 0-9-4.0294-9-9 0-4.9705 4.0294-8.9999 9-8.9999 4.9705 0 9 4.0294 9 8.9999 0 4.9706-4.0295 9-9 9z" fill="#2397d4"/><path class="text" d="m857 632.28c-24 0-42 18-42 42s18 42 42 42c12 0 22.5-4.5 30-12v10h12v-40c0-24-18-42-42-42zm0 12c18 0 30 12 30 30s-12 30-30 30-30-12-30-30 12-30 30-30z" fill="#262f45"/></g></svg>
+ </span>
+ <span style="font-size: 32px; color: green; float: right;" class="icon-download-alt"></span>
+ <span class="dl-btn free-dl"><?php _g('Mageia %s', array(_r('9'))); /* _r('9')*/?></span>
+ <span class="dl-btn"><?php _g('released in August 2023'); ?></span>
</a>
<p class="dl-info">
- <?php _g('<a href="%s" hreflang="en">Release notes</a>', array(_r('https://wiki.mageia.org/en/Mageia_7_Release_Notes'))); ?>,
- <?php _g('<a href="%s" hreflang="en">errata</a>', array(_r('https://wiki.mageia.org/en/Mageia_7_Errata'))); ?>.
-
-
+ <?php _g('<a href="%s" hreflang="en">Release notes</a>', array( _r('https://wiki.mageia.org/en/Mageia_9_Release_Notes')) ); ?>,
+ <?php _g('<a href="%s" hreflang="en">errata</a>', array( _r('https://wiki.mageia.org/en/Mageia_9_Errata')) ); ?>,
</p>
</li>
<li><a href="contribute/" class="dl-btn-other"><?php _g('<strong>Get involved</strong> in the next version'); ?></a>
</li>
- <!--<li><a href="/downloads/prerelease/" class="dl-btn-other"><?php _g('Test'); ?> Mageia 8 alpha</a></li>-->
+ <!-- <li><a href="/downloads/prerelease/" class="dl-btn-other"><?php _g('Test'); ?> Mageia 10</a></li> -->
</ul>
</div>
diff --git a/en/map/index.php b/en/map/index.php
index 22f3bdb69..2f3603d14 100644
--- a/en/map/index.php
+++ b/en/map/index.php
@@ -3,6 +3,7 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('map', 'common_footer'));
+$rtl = is_locale_rtl($locale);
$map = array(
'about' => array(
@@ -37,6 +38,8 @@ $map = array(
't' => _r('Downloads'),
'l' => '/{L}/downloads/',
'i' => array(
+ array('t' => _r('9 (August 2023)'), 'l' => '/{L}/9/'),
+ array('t' => _r('8 (February 2021)'), 'l' => '/{L}/8/'),
array('t' => _r('7 (June 2019)'), 'l' => '/{L}/7/'),
array('t' => _r('6 (July 2017)'), 'l' => '/{L}/6/'),
array('t' => _r('5 (June 2015)'), 'l' => '/{L}/5/'),
@@ -120,7 +123,7 @@ foreach ($map as $k => $v) {
$sMap .= '</ul>';
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php echo _g('Mageia.org site map') ?></title>
@@ -130,7 +133,7 @@ $sMap .= '</ul>';
<?php include '../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="map">
+<body class="map" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Site Map'); ?></h1>
<div class="container mt-4" id="">
diff --git a/en/support/index.php b/en/support/index.php
index 9ee009a50..265014be9 100644
--- a/en/support/index.php
+++ b/en/support/index.php
@@ -3,9 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('support', 'common_footer'));
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Support for Mageia distribution')?></title>
@@ -15,7 +16,7 @@ $dictionary = read_translation_file($locale, array('support', 'common_footer'));
<?php include '../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="support">
+<body class="support" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<header id="mgnavt">
<h1><?php _g('Support')?></h1>
@@ -40,17 +41,25 @@ $dictionary = read_translation_file($locale, array('support', 'common_footer'));
'<a href="' . _r('https://wiki.mageia.org') . '">', '</a>'), 'p');
echo '<hr>';
_g('Updates', null, 'h2 id="updates"');
-// _g('Updates are available for %s and %s (security and bug fixes) and published on an ongoing basis.', array('<a href="//advisories.mageia.org/6.html">Mageia 6</a>', '<a href="//advisories.mageia.org/7.html">Mageia 7</a>'), 'p');
- _g('Updates are available for %s (security and bug fixes) and published on an ongoing basis.', array('<a href="//advisories.mageia.org/7.html">Mageia 7</a>'), 'p');
+ _g('Updates are available for %s and %s (security and bug fixes) and published on an ongoing basis.', array('<a href="//advisories.mageia.org/8.html">Mageia 8</a>', '<a href="//advisories.mageia.org/9.html">Mageia 9</a>'), 'p');
+ // _g('Updates are available for %s (security and bug fixes) and published on an ongoing basis.', array('<a href="//advisories.mageia.org/8.html">Mageia 8</a>'), 'p');
_g('You can install these from the Mageia Control Center.', null, 'p');
_g('You may subscribe to our %s announce list to be notified of these.', array('<a href="https://ml.mageia.org/l/info/updates-announce">updates-announce</a>'), 'p');
echo '<hr>';
_g('Lifecycle', null, 'h3 id="lifecycle"');
- _g('Mageia releases are supported at least for 18 months.', null, 'p');
+ echo '<p>';
+ _g('Mageia releases are supported at least for 18 months.', null, ' ');
+ _g('Or a minimum of 3 months after the next release, whichever is longer', null, ' ');
+ // _g('And at least three months after the new release is out.');
+ echo '</p>';
echo '<ul class="hl">';
- _g('Mageia 7 will be supported until December 30th, 2020.', null, 'li'); // _g('Mageia 7 was supported until December 30th, 2020.', null, 'li');
- /*_g('Mageia 6 will be supported until September 30th, 2019.', null, 'li'); /**/ _g('Mageia 6 was supported until September 30th, 2019.', null, 'li');
+ _g('Mageia 9 will be supported until March 31st, 2025', null, 'li');
+ //_g('Mageia 8 was supported until November 30th, 2023', null, 'li');
+ _g('Mageia 8 will be supported until November 30th, 2023', null, 'li');
+ //_g('Mageia 8 will be supported until August 31st, 2022, or for at least 3 months after Mageia 9 release.', null, 'li'); // _g('Mageia 8 was supported for at least 3 months after Mageia 9 release.', null, 'li');
+ _g('Mageia 7 was supported until June 30th, 2021.', null, 'li');
+ _g('Mageia 6 was supported until September 30th, 2019.', null, 'li');
echo '<li>';
_g('Mageia 5 was supported until December 31st, 2017.', null, ' ');
_g('More details and advice are available on our %swiki page%s and from %sour blog%s.',
@@ -70,7 +79,7 @@ $dictionary = read_translation_file($locale, array('support', 'common_footer'));
echo '<ul class="hl">';
_g('<a href="https://forums.mageia.org/en/">Community support forums</a> in English &ndash; see <a href="https://forums.mageia.org/en/viewforum.php?f=20">other Mageia community forums</a> for support in your language;', null, 'li');
- _g('IRC channels where you can discuss live with other Mageia users and contributors: <a href="irc://irc.freenode.net/#mageia" hreflang="en">#mageia</a> or other localized <a href="https://wiki.mageia.org/en/IRC#channels_in_other_languages">channels</a>;', null, 'li');
+ _g('IRC channels where you can discuss live with other Mageia users and contributors: <a href="ircs://irc.libera.chat:6697/#mageia" hreflang="en">#mageia</a> or other localized <a href="https://wiki.mageia.org/en/IRC#channels_in_other_languages">channels</a>;', null, 'li');
_g('our <a href="https://wiki.mageia.org/en/">Wiki</a> (still rough at the time, we are working on it!);', null, 'li');
_g('our <a href="https://wiki.mageia.org/en/Mailing_lists" hreflang="en">mailing-lists</a>;', null, 'li');
_g('local events: follow our <a href="https://blog.mageia.org/en/">blog</a> and <a href="https://www.mageia.org/en/calendar/">calendar</a>.', null, 'li');
@@ -89,7 +98,10 @@ $dictionary = read_translation_file($locale, array('support', 'common_footer'));
echo '<ul class="hl">';
_g('Processor: any AMD, Intel or VIA processor;', null, 'li');
- _g('Memory (RAM): 512MB minimum, 2GB recommended;', null, 'li');
+ echo '<li>' . _r('Memory (RAM): 512MB minimum, 2GB recommended;') . ' ';
+ _g('For headless systems that minimum can be usable.', null, ' ');
+ _g('For low memory intensive programs and light graphical Desktop Environments like Xfce the minimum is 1GB.', null, ' ');
+ echo _r('For more feature rich like Gnome and Plasma the minimum is 2GB.') . '</li>';
echo '<li>' . _r('Storage (HDD or SSD): 5GB for a minimal installation, 20GB for a casual setup;') . ' ';
_g('This includes a few GB for user files. If you need more than you should take that in account too.', null, ' ');
echo _r('Custom installations on less space are possible but this requires intermediate linux knowledge.') . '</li>';
diff --git a/en/thank-you/index.php b/en/thank-you/index.php
index 0ebf88a32..a1614b471 100644
--- a/en/thank-you/index.php
+++ b/en/thank-you/index.php
@@ -1,6 +1,7 @@
<?php
define('HLANG', true);
require '../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('thank-you', 'common_footer'));
@@ -8,7 +9,7 @@ $dictionary = read_translation_file($locale, array('thank-you', 'common_footer')
include '../../donators.inc.php';
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Thank you for making Mageia possible.')?></title>
@@ -18,11 +19,9 @@ include '../../donators.inc.php';
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
<?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
- <script src="//static.mageia.org/g/js/jquery-1.10.1.min.js"></script>
<script src="//static.mageia.org/g/js/treasurer.js"></script>
- <script type="text/javascript">thankyou_page();</script>
</head>
-<body class="donate">
+<body class="donate" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<header id="mgnavt">
<h1><?php _g('Thanks to them too, Mageia goes forward.')?></h1>
@@ -32,7 +31,7 @@ include '../../donators.inc.php';
</ul>
</header>
<article>
- <section class="para" style="width: 70%; text-align: left; float: left; padding-bottom: 0px;">
+ <section class="para" style="width: 70%; <?php echo $rtl ? 'text-align: right;' : 'text-align: left;'?> float: left; padding-bottom: 0px;">
<p><?php
echo sprintf(_r('The following amazing people %sdonated money%s to Mageia.Org:'),
'<a href="../donate/">', '</a>');
@@ -47,16 +46,16 @@ include '../../donators.inc.php';
<?php _g('Last update:') ?> <span id="last_update"></span>
</p>
</section>
- <section class="para" style="width: 20%; text-align: left; float: left;">
+ <section class="para" style="width: 20%; <?php echo $rtl ? 'text-align: right;' : 'text-align: left;'?> float: left;">
<p><?php _g('Since September 2010, Mageia would not have come to a reality without the enthusiasm, advice and involvement of hundreds of people.')?></p>
<p><?php _g('It would not have either, without help and donation from many people and organizations, that provided Mageia.Org with advice, encouragements, trust, facilities, hosting, server and development hardware, mirroring facilities, network bandwidth, money and finally, care.')?></p>
<p><?php _g('This page is here to remind of their contribution to this project.')?></p>
</section>
- <section class="para" style="width: 20%; text-align: left; float: left;">
+ <section class="para" style="width: 20%; <?php echo $rtl ? 'text-align: right;' : 'text-align: left;'?> float: left;">
<p><?php _g('Those organizations and people provided Mageia.Org with mirroring facilities, hosting, hosting advice, server hardware, network bandwidth or some facilities:')?></p>
<?php echo html_orgs_list($orgs); ?>
<hr>
- <p><?php _g('Great places and teams that welcomed us and offerred us some tea, coffee, seats and advice (mostly in Paris for now):')?></p>
+ <p><?php _g('Great places and teams that welcomed us and offered us some tea, coffee, seats and advice (mostly in Paris for now):')?></p>
<ul class="ty-ppl-list twocol">
<li><?php _g('<a href="http://lacantine.org/">La Cantine</a>')?></li>
<li><?php _g('Le Père Tranquille')?></li>
@@ -69,5 +68,6 @@ include '../../donators.inc.php';
</section>
</article>
<?php echo common_footer($locale); ?>
+<script type="text/javascript">thankyou_page();</script>
</body>
</html>
diff --git a/en/timeline/index.php b/en/timeline/index.php
index d6ecc1539..3ee187694 100644
--- a/en/timeline/index.php
+++ b/en/timeline/index.php
@@ -3,6 +3,7 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('timeline', 'common_footer'));
+$rtl = is_locale_rtl($locale);
/**
* Output all events
@@ -11,20 +12,20 @@ $dictionary = read_translation_file($locale, array('timeline', 'common_footer'))
*
* @return string $timeline html code of all events
*/
-function list_events($events = array())
+function list_events($events = array(), $rtl = false)
{
$indent = "\t\t\t\t";
$timeline = '';
foreach ($events as $year => $events_in_year) {
$timeline .= "$indent<li class=\"tliy\">\n";
- $timeline .= "$indent\t<h2>$year</h2>\n";
+ $timeline .= "$indent\t<h2 " . ($rtl ? 'style="text-align: right;"' : '') . ">$year</h2>\n";
$timeline .= "$indent\t<ul class=\"hl\">\n";
foreach ($events_in_year as $month => $events_in_month) {
$timeline .= "$indent\t\t<li class=\"tlim\">\n";
- $timeline .= "$indent\t\t\t<h3>$month</h3>\n";
+ $timeline .= "$indent\t\t\t<h3 " . ($rtl ? 'style="text-align: right;"' : '') . ">$month</h3>\n";
$timeline .= "$indent\t\t\t<ul class=\"hl\">\n";
foreach ($events_in_month as $event) {
- $timeline .= "$indent\t\t\t\t<li class=\"tlie\">$event</li>\n";
+ $timeline .= "$indent\t\t\t\t<li " . ($rtl ? 'style="text-align: right;"' : '') . " class=\"tlie\">$event</li>\n";
}
$timeline .= "$indent\t\t\t</ul>\n";
$timeline .= "$indent\t\t</li>\n";
@@ -36,41 +37,49 @@ function list_events($events = array())
}
$events = array(
+ _r('2023') => array(
+ _r('August') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../9/"', '9')),
+ ),
+ _r('2021') => array(
+ _r('March') => array(_r('General Assembly on IRC.')),
+ _r('February') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../8/"', '8')),
+ ),
_r('2019') => array(
- _r('June') => array(sprintf(_r('<a href=%s>Mageia 7</a> is released.'), '"../7/"')),
+ _r('July') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../7/"', '7', _r('7.1'))),
+ _r('June') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../7/"', '7')),
),
_r('2018') => array(
- _r('October') => array(sprintf(_r('<a href=%s>Mageia 6</a> updated to 6.1.'), '"../6/"')),
+ _r('October') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../6/"', '6', _r('6.1'))),
),
_r('2017') => array(
- _r('July') => array(sprintf(_r('<a href=%s>Mageia 6</a> is released.'), '"../6/"')),
+ _r('July') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../6/"', '6')),
_r('February') => array(_r('Seventh General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2016') => array(
- _r('December') => array(sprintf(_r('<a href=%s>Mageia 5</a> updated to 5.1.'), '"../5/"')),
+ _r('December') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../5/"', '5', _r('5.1'))),
_r('February') => array(_r('Sixth General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2015') => array(
- _r('June') => array(sprintf(_r('<a href=%s>Mageia 5</a> is released.'), '"../5/"')),
+ _r('June') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../5/"', '5')),
_r('February') => array(_r('Fifth General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2014') => array(
- _r('June') => array(sprintf(_r('<a href=%s>Mageia 4</a> updated to 4.1.'), '"../4/"')),
+ _r('June') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../4/"', '4', _r('4.1'))),
_r('February') => array(
- _r('<a href="/4/">Mageia 4</a> is released.'),
+ sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../4/"', '4'),
_r('Fourth General Assembly during FOSDEM in Brussels, Belgium.'),
),
),
_r('2013') => array(
- _r('May') => array(_r('<a href="/3/">Mageia 3</a> is released.')),
+ _r('May') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../3/"', '3')),
_r('February') => array(_r('Third General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2012') => array(
- _r('May') => array(_r('<a href="/2/">Mageia 2</a> is released.')),
+ _r('May') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../2/"', '2')),
_r('February') => array(_r('Second General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2011') => array(
- _r('June') => array(_r('<a href="/1/">Mageia 1</a> is released.')),
+ _r('June') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../1/"', '1')),
_r('February') => array(_r('First General Assembly during FOSDEM in Brussels, Belgium.')),
_r('January') => array(_r('Build system is ready to run for the first alpha ISOs.')),
),
@@ -87,7 +96,7 @@ $events = array(
);
?>
<!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia Timeline')?></title>
@@ -115,7 +124,7 @@ $events = array(
<div id="bd" role="main">
<div class="yui-g"><div class="para">
<ul class="hl" id="tl0">
-<?php echo list_events($events); ?>
+<?php echo list_events($events, $rtl); ?>
</ul>
</div></div>
</div>