aboutsummaryrefslogtreecommitdiffstats
path: root/en/8/index.php
blob: 0ef4e163ac7bc3c894c70cb263b79daf11112689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?php
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$rtl = is_locale_rtl($locale);

$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 8')?></title>
    <meta name="description" content="<?php _g('Mageia 8 is the new, solid, stable Linux distribution from the Mageia project.')?>">
    <?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/">Mageia 8</a></h1>
    <?php include './nav.php'; ?>
<div class="bg-warning text-white p-3 container">WIP</div>
<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 = ''){
            $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 on Mageia'), _('Try without installing. ') . ' '.  _r('Here is the Plasma Desktop'), active );
        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') . ' <a href="../doc/">'. _r('Doc'). '</a>');
        carousel('/g/8/slide/live-gnome-1.png', 'live-gnome-1', _r('A choice of desktops'), _r('Here is the GNOME Desktop') );
        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'), _r('Here is the Xfce Desktop') );
        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 Center Control') . ': '. _r('Install applications') );
        carousel('/g/8/slide/mcc-2.png', 'mcc-2', _r('Tools'), _r('Mageia Center Control') . ': '. _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 8', null, 'h2'); ?>

        <?php
        _g('Mageia 8 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('../community'), 'p');?>

        <p><a href="./download_index.php" 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 8 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')), '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 8 includes several desktop managers including Plasma, GNOME, Xfce, Mate, LXQt and Cinnamon.', null, '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 8, too much to include here - see the <a hreflang="en" href="%s">release notes</a> for an extensive exposé.',array($releasenotes), 'p', 'class="warn"');
        ?>
    </div>
    </div>

    <div class="col-md-4" >
    <div class="para">
       <?php
         _g('Mageia in context', null, 'h2');

           _g('Mageia 8 is supported by the <a href="%s">Mageia.org nonprofit organisation</a>, which is  governed by a body of recognized and elected contributors.',array('../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>