diff options
Diffstat (limited to 'en/9/index.php')
-rw-r--r-- | en/9/index.php | 130 |
1 files changed, 130 insertions, 0 deletions
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> |