aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/prerelease/download_index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/downloads/prerelease/download_index.php')
-rw-r--r--en/downloads/prerelease/download_index.php20
1 files changed, 11 insertions, 9 deletions
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();
});