aboutsummaryrefslogtreecommitdiffstats
path: root/en/4/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/4/index.php')
-rw-r--r--en/4/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/4/index.php b/en/4/index.php
index da329c618..eacf6ce5e 100644
--- a/en/4/index.php
+++ b/en/4/index.php
@@ -78,7 +78,7 @@ for ($i = 0; $i < 12; $i++) {
</ol>
<div class="carousel-inner">
<?php
-function carousel($src, $ttl, $active = ''){
+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);
@@ -88,7 +88,7 @@ function carousel($src, $ttl, $active = ''){
$div .= sprintf ('</div>'. PHP_EOL);
echo $div;
}
- carousel('/g/4/kde.png', 'KDE', active );
+ 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');