diff options
Diffstat (limited to 'en/8/index.php')
-rw-r--r-- | en/8/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en/8/index.php b/en/8/index.php index 0ef4e163a..e0ad3cade 100644 --- a/en/8/index.php +++ b/en/8/index.php @@ -48,7 +48,7 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer')); </ol> <div class="carousel-inner"> <?php - function carousel($src, $ttl ,$title, $text, $active = ''){ + 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); @@ -62,7 +62,7 @@ $dictionary = read_translation_file($locale, array('8', 'common_footer')); 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-1.png', 'live-plasma-1', _r('Welcome on Mageia'), _r('Try without installing.') . ' '. _r('Here is the Plasma Desktop'), 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') . ' <a href="../doc/">'. _r('Doc'). '</a>'); |